This model should be used with
Tibert
, a BERT-based end-to-end coreference solver.
Example code:
from tibert import BertForCoreferenceResolution, predict_coref_simple
from tibert.utils import pprint_coreference_document
from transformers import BertTokenizerFast
model = BertForCoreferenceResolution.from_pretrained(
"compnet-renard/bert-base-cased-literary-coref"
)
tokenizer = BertTokenizerFast.from_pretrained("bert-base-cased")
coref_out = predict_coref_simple(
"Sli did not want the earpods. He didn't like them.", model, tokenizer
)
pprint_coreference_document(coref_out)
>>> (0 Sli ) did not want the earpods. (0 He ) didn't like them.
Runs of compnet-renard bert-base-cased-literary-coref on huggingface.co
42
Total runs
-2
24-hour runs
-3
3-day runs
-12
7-day runs
-19
30-day runs
More Information About bert-base-cased-literary-coref huggingface.co Model
More bert-base-cased-literary-coref license Visit here:
bert-base-cased-literary-coref huggingface.co is an AI model on huggingface.co that provides bert-base-cased-literary-coref's model effect (), which can be used instantly with this compnet-renard bert-base-cased-literary-coref model. huggingface.co supports a free trial of the bert-base-cased-literary-coref model, and also provides paid use of the bert-base-cased-literary-coref. Support call bert-base-cased-literary-coref model through api, including Node.js, Python, http.
bert-base-cased-literary-coref huggingface.co is an online trial and call api platform, which integrates bert-base-cased-literary-coref's modeling effects, including api services, and provides a free online trial of bert-base-cased-literary-coref, you can try bert-base-cased-literary-coref online for free by clicking the link below.
compnet-renard bert-base-cased-literary-coref online free url in huggingface.co:
bert-base-cased-literary-coref is an open source model from GitHub that offers a free installation service, and any user can find bert-base-cased-literary-coref on GitHub to install. At the same time, huggingface.co provides the effect of bert-base-cased-literary-coref install, users can directly use bert-base-cased-literary-coref installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
bert-base-cased-literary-coref install url in huggingface.co: