eriktks/conll2003
Updated โข 44.2k โข 181
Run EffyLi/bert-base-uncased-finetuned-ner 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/EffyLi/bert-base-uncased-finetuned-ner. 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/EffyLi/bert-base-uncased-finetuned-ner 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 EffyLi/bert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="EffyLi/bert-base-uncased-finetuned-ner") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("EffyLi/bert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("EffyLi/bert-base-uncased-finetuned-ner", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("EffyLi/bert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("EffyLi/bert-base-uncased-finetuned-ner", device_map="auto")This model is a fine-tuned version of bert-base-uncased on the conll2003 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 220 | 0.0809 | 0.8923 | 0.9051 | 0.8987 | 0.9784 |
| No log | 2.0 | 440 | 0.0643 | 0.9108 | 0.9262 | 0.9184 | 0.9817 |
| 0.1657 | 3.0 | 660 | 0.0618 | 0.9145 | 0.9305 | 0.9224 | 0.9826 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="EffyLi/bert-base-uncased-finetuned-ner")