Views
No views yet
span_marker library:pip install span_marker1from span_marker import SpanMarkerModel
2
3# Download from the 🤗 Hub
4model = SpanMarkerModel.from_pretrained("tomaarsen/span-marker-bert-tiny-conll03")
5# Run inference
6entities = model.predict("Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris.")