Instructions to use shtoshni/longformer_coreference_ontonotes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shtoshni/longformer_coreference_ontonotes with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="shtoshni/longformer_coreference_ontonotes")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("shtoshni/longformer_coreference_ontonotes") model = AutoModel.from_pretrained("shtoshni/longformer_coreference_ontonotes", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from shtoshni/longformer_coreference_ontonotes: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/shtoshni/longformer_coreference_ontonotes/resolve/main/README.md
- Command line
-
hf download hf://shtoshni/longformer_coreference_ontonotes/README.md
-
curl -L -o README.md https://huggingface.co/shtoshni/longformer_coreference_ontonotes/resolve/main/README.md
473 Bytes
Longformer-large model finetuned for the coreference resolution task. The model is fine-tuned over the OntoNotes data. The model is released as part of this paper. Note that the document encoder is to be used with the rest of the model parameters to perform the coreference resolution task. For demo purposes, please check this Colab notebook.