eriktks/conll2003
Updated โข 49.1k โข 181
Run tomaarsen/span-marker-bert-tiny-conll03 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/tomaarsen/span-marker-bert-tiny-conll03. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/tomaarsen/span-marker-bert-tiny-conll03 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use tomaarsen/span-marker-bert-tiny-conll03 with SpanMarker:
from span_marker import SpanMarkerModel
model = SpanMarkerModel.from_pretrained("tomaarsen/span-marker-bert-tiny-conll03")
entities = model.predict("Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris.")
print(entities)This is a SpanMarker model that can be used for Named Entity Recognition. In particular, this SpanMarker model uses prajjwal1/bert-tiny as the underlying encoder.
This model is primarily used for efficient tests on the SpanMarker GitHub repository.
To use this model for inference, first install the span_marker library:
pip install span_marker
You can then run inference with this model like so:
from span_marker import SpanMarkerModel
# Download from the ๐ค Hub
model = SpanMarkerModel.from_pretrained("tomaarsen/span-marker-bert-tiny-conll03")
# Run inference
entities = model.predict("Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris.")
See the SpanMarker repository for documentation and additional information on this library.
Base model
prajjwal1/bert-tiny