eriktks/conll2003
Updated • 24.4k • 177
How to use tiennguyenbnbk/ModernBERT-base-finetuned-pos with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="tiennguyenbnbk/ModernBERT-base-finetuned-pos") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("tiennguyenbnbk/ModernBERT-base-finetuned-pos")
model = AutoModelForTokenClassification.from_pretrained("tiennguyenbnbk/ModernBERT-base-finetuned-pos", device_map="auto")This model is a fine-tuned version of answerdotai/ModernBERT-base 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.6485 | 1.0 | 878 | 0.3352 | 0.8911 | 0.9007 | 0.8959 | 0.9159 |
| 0.1997 | 2.0 | 1756 | 0.2890 | 0.9031 | 0.9110 | 0.9070 | 0.9246 |
| 0.1274 | 3.0 | 2634 | 0.2935 | 0.9029 | 0.9158 | 0.9093 | 0.9267 |
Base model
answerdotai/ModernBERT-base