universal-dependencies/universal_dependencies
Updated • 4.22k • 36
How to use izaitova/herbert-large-cased-upos with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="izaitova/herbert-large-cased-upos") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("izaitova/herbert-large-cased-upos")
model = AutoModelForTokenClassification.from_pretrained("izaitova/herbert-large-cased-upos")This model is a fine-tuned version of allegro/herbert-large-cased on the universal_dependencies 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 | 438 | 0.2798 | 0.8362 | 0.8222 | 0.8271 | 0.8779 |
| No log | 2.0 | 876 | 0.1613 | 0.9287 | 0.8511 | 0.8677 | 0.9240 |
| No log | 3.0 | 1314 | 0.0967 | 0.8845 | 0.8530 | 0.8562 | 0.9539 |
| No log | 4.0 | 1752 | 0.0917 | 0.9103 | 0.8461 | 0.8657 | 0.9629 |
| No log | 5.0 | 2190 | 0.0782 | 0.8965 | 0.8704 | 0.8764 | 0.9666 |
| No log | 6.0 | 2628 | 0.0766 | 0.8973 | 0.8704 | 0.8767 | 0.9691 |
| No log | 7.0 | 3066 | 0.0634 | 0.9171 | 0.8811 | 0.8923 | 0.9790 |
| No log | 8.0 | 3504 | 0.0626 | 0.9139 | 0.8909 | 0.8989 | 0.9796 |
| No log | 9.0 | 3942 | 0.0675 | 0.9131 | 0.8792 | 0.8893 | 0.9803 |
| No log | 10.0 | 4380 | 0.0611 | 0.9166 | 0.8826 | 0.8928 | 0.9828 |
Base model
allegro/herbert-large-cased