Linguateca/harem
Updated โข 723 โข 11
How to use jordyvl/bert-base-portuguese-cased_harem-selective-sm-first-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="jordyvl/bert-base-portuguese-cased_harem-selective-sm-first-ner") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("jordyvl/bert-base-portuguese-cased_harem-selective-sm-first-ner")
model = AutoModelForTokenClassification.from_pretrained("jordyvl/bert-base-portuguese-cased_harem-selective-sm-first-ner", device_map="auto")This model is a fine-tuned version of neuralmind/bert-base-portuguese-cased on the harem 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.1049 | 1.0 | 2517 | 0.1955 | 0.6601 | 0.7710 | 0.7113 | 0.9499 |
| 0.0622 | 2.0 | 5034 | 0.2097 | 0.7314 | 0.7901 | 0.7596 | 0.9554 |
| 0.0318 | 3.0 | 7551 | 0.1952 | 0.7456 | 0.8053 | 0.7743 | 0.9649 |