seq2rel icon indicating copy to clipboard operation
seq2rel copied to clipboard

The corresponding code for our paper: A sequence-to-sequence approach for document-level relation extraction.

Results 17 seq2rel issues
Sort by recently updated
recently updated
newest added

When I ran this code in the reproducing results colab notebook: ``` # Takes ~5min. !allennlp evaluate "$pretrained_model_url" "$preprocessed_data_dir/test.tsv" \ --output-file "$output_dir/test_metrics.jsonl" \ --cuda-device 0 \ --predictions-output-file "$output_dir/test_predictions.jsonl" \ --include-package...

Hey, I am trying to train model on my dataset, everything goes well, but at the end I am getting this error everytime. Not able to figure out what's wrong....

How can I continue training by loading weights from the checkpoints I saved earlier?

Here's how I pass the device argument for function Seq2rel ``` from seq2rel import Seq2Rel from seq2rel.common import util model = 'model.tar.gz' kwargs = {'cuda_device': 1} seq2rel = Seq2Rel(model, **kwargs)...

Bumps [ipython](https://github.com/ipython/ipython) from 8.4.0 to 8.10.0. Commits 15ea1ed release 8.10.0 560ad10 DOC: Update what's new for 8.10 (#13939) 7557ade DOC: Update what's new for 8.10 385d693 Merge pull request from...

dependencies

Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15 to 2022.12.7. Commits 9e9e840 2022.12.07 b81bdb2 2022.09.24 939a28f 2022.09.14 aca828a 2022.06.15.2 de0eae1 Only use importlib.resources's new files() / Traversable API on Python ≥3.11 ... b8eb5e9 2022.06.15.1...

dependencies

Bumps [mypy](https://github.com/python/mypy) from 0.961 to 0.991. Commits b7788fc Update version to remove "+dev" for releasing 0.991 6077d19 manually CP typeshed #9130 ab0ea1e Fix crash with function redefinition (#14064) 592a9ce Fix...

dependencies
python

Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.54.3 to 6.57.1. Release notes Sourced from hypothesis's releases. Hypothesis for Python - version 6.57.1 This patch updates some internal type annotations and fixes a formatting bug...

dependencies
python

Bumps [typer](https://github.com/tiangolo/typer) from 0.4.2 to 0.7.0. Release notes Sourced from typer's releases. 0.7.0 Features ✨ Make typer.run() not add completion scripts by default, it only makes sense in installed apps....

dependencies
python

Bumps [black](https://github.com/psf/black) from 22.6.0 to 22.10.0. Release notes Sourced from black's releases. 22.10.0 Highlights Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be supported until...

dependencies
python