Update README.md with correct model name in "Direct use for inference"
Browse files
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(
|
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 |
```
|