Update README.md
Browse files
README.md
CHANGED
@@ -33,7 +33,7 @@ from span_marker import SpanMarkerModel
|
|
33 |
# Download from Hub and run inference
|
34 |
model = SpanMarkerModel.from_pretrained("tomaarsen/span-marker-bert-tiny-fewnerd-coarse-super")
|
35 |
# Run inference
|
36 |
-
|
37 |
```
|
38 |
|
39 |
See the [SpanMarker](https://github.com/tomaarsen/SpanMarkerNER) repository for documentation and additional information on this model framework.
|
|
|
33 |
# Download from Hub and run inference
|
34 |
model = SpanMarkerModel.from_pretrained("tomaarsen/span-marker-bert-tiny-fewnerd-coarse-super")
|
35 |
# Run inference
|
36 |
+
entities = model.predict("Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris.")
|
37 |
```
|
38 |
|
39 |
See the [SpanMarker](https://github.com/tomaarsen/SpanMarkerNER) repository for documentation and additional information on this model framework.
|