eriktks/conll2003
Updated β’ 44.2k β’ 181
Run AirrStorm/bert-ner-finetuned 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/AirrStorm/bert-ner-finetuned. 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/AirrStorm/bert-ner-finetuned 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 AirrStorm/bert-ner-finetuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="AirrStorm/bert-ner-finetuned") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("AirrStorm/bert-ner-finetuned")
model = AutoModelForTokenClassification.from_pretrained("AirrStorm/bert-ner-finetuned", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("AirrStorm/bert-ner-finetuned")
model = AutoModelForTokenClassification.from_pretrained("AirrStorm/bert-ner-finetuned", device_map="auto")This model is a fine-tuned version of bert-base-cased 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 |
|---|---|---|---|---|---|---|---|
| 0.0747 | 1.0 | 1756 | 0.0672 | 0.9094 | 0.9354 | 0.9222 | 0.9819 |
| 0.0329 | 2.0 | 3512 | 0.0724 | 0.9358 | 0.9472 | 0.9415 | 0.9846 |
| 0.0212 | 3.0 | 5268 | 0.0655 | 0.9378 | 0.9515 | 0.9446 | 0.9863 |
Base model
google-bert/bert-base-cased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="AirrStorm/bert-ner-finetuned")