spyysalo/bc2gm_corpus
Viewer • Updated • 20k • 500 • 11
How to use apriadiazriel/bert-base-bc2gm-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="apriadiazriel/bert-base-bc2gm-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("apriadiazriel/bert-base-bc2gm-ner")
model = AutoModelForTokenClassification.from_pretrained("apriadiazriel/bert-base-bc2gm-ner")This model is a fine-tuned version of bert-base-uncased on the BC2GM Corpus. 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 | Precision | Recall | F1 | Accuracy | Epoch |
|---|---|---|---|---|---|---|
| 0.1451 | 0.0924 | 0.8182 | 0.8184 | 0.8183 | 0.9647 | 0 |
| 0.0718 | 0.0859 | 0.8272 | 0.8595 | 0.8431 | 0.9687 | 1 |
| 0.0444 | 0.1031 | 0.8597 | 0.8478 | 0.8537 | 0.9697 | 2 |
| 0.0270 | 0.1078 | 0.8459 | 0.8633 | 0.8545 | 0.9697 | 3 |
| 0.0179 | 0.1165 | 0.8556 | 0.8646 | 0.8601 | 0.9708 | 4 |
| 0.0133 | 0.1281 | 0.8514 | 0.8701 | 0.8606 | 0.9712 | 5 |
| 0.0083 | 0.1469 | 0.8293 | 0.8889 | 0.8581 | 0.9691 | 6 |
| 0.0059 | 0.1568 | 0.8450 | 0.8808 | 0.8625 | 0.9709 | 7 |
| 0.0045 | 0.1540 | 0.8519 | 0.8760 | 0.8638 | 0.9714 | 8 |
| 0.0035 | 0.1569 | 0.8494 | 0.8766 | 0.8628 | 0.9714 | 9 |
Base model
google-bert/bert-base-uncased