leondz/wnut_17
Updated โข 2.93k โข 19
Run hoganpham/my_first_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/hoganpham/my_first_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/hoganpham/my_first_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 hoganpham/my_first_ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="hoganpham/my_first_ner") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("hoganpham/my_first_ner")
model = AutoModelForTokenClassification.from_pretrained("hoganpham/my_first_ner", device_map="auto")This model is a fine-tuned version of distilbert/distilbert-base-uncased on the wnut_17 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 | 107 | 0.3151 | 0.3618 | 0.0825 | 0.1343 | 0.9310 |
| No log | 2.0 | 214 | 0.2982 | 0.4453 | 0.2076 | 0.2832 | 0.9365 |
Base model
distilbert/distilbert-base-uncased