Upload 10 files c298231
Yaru Wu commited on
How to use Aaron-Wu/multiNERD_fine-tuned_only_English_roberta with SpanMarker:
from span_marker import SpanMarkerModel
model = SpanMarkerModel.from_pretrained("Aaron-Wu/multiNERD_fine-tuned_only_English_roberta")
entities = model.predict("Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris.")
print(entities)