Update `from_pretrained` to use the correct model id
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ You can then run inference with this model like so:
|
|
28 |
from span_marker import SpanMarkerModel
|
29 |
|
30 |
# Download from the 🤗 Hub
|
31 |
-
model = SpanMarkerModel.from_pretrained("
|
32 |
# Run inference
|
33 |
entities = model.predict("Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris.")
|
34 |
```
|
|
|
28 |
from span_marker import SpanMarkerModel
|
29 |
|
30 |
# Download from the 🤗 Hub
|
31 |
+
model = SpanMarkerModel.from_pretrained("tomaarsen/span-marker-bert-base-fewnerd-fine-super")
|
32 |
# Run inference
|
33 |
entities = model.predict("Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris.")
|
34 |
```
|