eriktks/conll2003
Updated • 31.7k • 177
How to use Thi-Thu-Huong/distilbert-base-uncased-finetuned-tokenclassification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Thi-Thu-Huong/distilbert-base-uncased-finetuned-tokenclassification") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Thi-Thu-Huong/distilbert-base-uncased-finetuned-tokenclassification")
model = AutoModelForTokenClassification.from_pretrained("Thi-Thu-Huong/distilbert-base-uncased-finetuned-tokenclassification", device_map="auto")This model is a fine-tuned version of distilbert-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 |
|---|---|---|---|---|---|---|---|
| 0.2459 | 1.0 | 878 | 0.0716 | 0.9191 | 0.9220 | 0.9206 | 0.9814 |
| 0.0545 | 2.0 | 1756 | 0.0620 | 0.9239 | 0.9349 | 0.9294 | 0.9829 |
| 0.0292 | 3.0 | 2634 | 0.0622 | 0.9239 | 0.9359 | 0.9299 | 0.9834 |