Token Classification
Transformers
Safetensors
Malagasy
xlm-roberta
punctuation-restoration
truecasing
malagasy
asr-postprocessing
Instructions to use Flo976/malagasy-punctuation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Flo976/malagasy-punctuation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Flo976/malagasy-punctuation")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Flo976/malagasy-punctuation") model = AutoModelForTokenClassification.from_pretrained("Flo976/malagasy-punctuation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 846 Bytes
7df18eb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | {
"step": 8070,
"epoch": 2.5,
"min": 10.9,
"valid": {
"par_signe": {
",": {
"P": 60.66,
"R": 49.17,
"F1": 54.31,
"n_ref": 4444
},
".": {
"P": 75.29,
"R": 84.74,
"F1": 79.73,
"n_ref": 5885
},
"?": {
"P": 52.17,
"R": 42.86,
"F1": 47.06,
"n_ref": 28
},
"!": {
"P": 76.92,
"R": 47.62,
"F1": 58.82,
"n_ref": 42
},
":": {
"P": 34.34,
"R": 24.27,
"F1": 28.44,
"n_ref": 375
},
";": {
"P": 0.0,
"R": 0.0,
"F1": 0.0,
"n_ref": 581
}
},
"f1_macro_5": 53.67,
"f1_micro_tous_signes": 66.63,
"casse_exactitude": 97.24,
"majuscule_F1": 80.08
},
"score": 63.394
} |