community-datasets/tapaco
Viewer • Updated • 3.85M • 1.82k • 47
How to use tiagoblima/punctuation-taboa-bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="tiagoblima/punctuation-taboa-bert") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("tiagoblima/punctuation-taboa-bert")
model = AutoModelForTokenClassification.from_pretrained("tiagoblima/punctuation-taboa-bert")# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("tiagoblima/punctuation-taboa-bert")
model = AutoModelForTokenClassification.from_pretrained("tiagoblima/punctuation-taboa-bert")This model is a fine-tuned version of neuralmind/bert-large-portuguese-cased on the tapaco 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.0272 | 1.0 | 17438 | 0.0181 | 0.9850 | 0.9836 | 0.9843 | 0.9946 |
| 0.0234 | 2.0 | 34876 | 0.0196 | 0.9870 | 0.9853 | 0.9862 | 0.9948 |
| 0.0092 | 3.0 | 52314 | 0.0233 | 0.9874 | 0.9853 | 0.9864 | 0.9950 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="tiagoblima/punctuation-taboa-bert")