krumeto commited on
Commit
d1d4d02
1 Parent(s): e069e5c

Update README.md with correct model name in "Direct use for inference"

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -155,7 +155,7 @@ This is a [SpanMarker](https://github.com/tomaarsen/SpanMarkerNER) model trained
155
  from span_marker import SpanMarkerModel
156
 
157
  # Download from the 🤗 Hub
158
- model = SpanMarkerModel.from_pretrained("guishe/span-marker-generic-entity_recognition-v1-fewnerd-fine-super")
159
  # Run inference
160
  entities = model.predict("Most of the Steven Seagal movie \"Under Siege \"(co-starring Tommy Lee Jones) was filmed on the, which is docked on Mobile Bay at Battleship Memorial Park and open to the public.")
161
  ```
 
155
  from span_marker import SpanMarkerModel
156
 
157
  # Download from the 🤗 Hub
158
+ model = SpanMarkerModel.from_pretrained(guishe/span-marker-generic-ner-v1-fewnerd-fine-super")
159
  # Run inference
160
  entities = model.predict("Most of the Steven Seagal movie \"Under Siege \"(co-starring Tommy Lee Jones) was filmed on the, which is docked on Mobile Bay at Battleship Memorial Park and open to the public.")
161
  ```