microsoft/xglue
Updated • 429 • 27
How to use muhtasham/bert-tiny-finetuned-xglue-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="muhtasham/bert-tiny-finetuned-xglue-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/bert-tiny-finetuned-xglue-ner")
model = AutoModelForTokenClassification.from_pretrained("muhtasham/bert-tiny-finetuned-xglue-ner")This model is a fine-tuned version of google/bert_uncased_L-2_H-128_A-2 on the xglue 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.4082 | 1.0 | 1756 | 0.3326 | 0.5600 | 0.5798 | 0.5697 | 0.9118 |
| 0.2974 | 2.0 | 3512 | 0.2635 | 0.6143 | 0.6562 | 0.6346 | 0.9248 |
| 0.2741 | 3.0 | 5268 | 0.2489 | 0.6308 | 0.6681 | 0.6489 | 0.9274 |