nilc-nlp/assin2
Viewer • Updated • 9.45k • 1.17k • 15
How to use pmfsl/bertimbau-base-finetuned-rte with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="pmfsl/bertimbau-base-finetuned-rte") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("pmfsl/bertimbau-base-finetuned-rte")
model = AutoModelForSequenceClassification.from_pretrained("pmfsl/bertimbau-base-finetuned-rte")This model is a fine-tuned version of neuralmind/bert-base-portuguese-cased on an unknown 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:
| Train Loss | Validation Loss | Train Accuracy | Train F1 | Epoch |
|---|---|---|---|---|
| 0.3846 | 0.2204 | 0.9152 | 0.9191 | 0 |
| 0.1981 | 0.1577 | 0.9442 | 0.9455 | 1 |
| 0.1026 | 0.1348 | 0.9509 | 0.9511 | 2 |
| 0.0593 | 0.1492 | 0.9531 | 0.9542 | 3 |
| 0.0326 | 0.1834 | 0.9531 | 0.9534 | 4 |
Base model
neuralmind/bert-base-portuguese-cased