SemEvalWorkshop/sem_eval_2010_task_8
Viewer • Updated • 10.7k • 11.6k • 13
How to use gyr66/relation_extraction_bert_base_uncased with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gyr66/relation_extraction_bert_base_uncased", trust_remote_code=True) # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gyr66/relation_extraction_bert_base_uncased", trust_remote_code=True)
model = AutoModelForSequenceClassification.from_pretrained("gyr66/relation_extraction_bert_base_uncased", trust_remote_code=True)This model is a fine-tuned version of bert-base-uncased on sem_eval_2010_task_8. 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 | F1 |
|---|---|---|---|---|
| 1.2511 | 1.0 | 107 | 0.6098 | 0.7907 |
| 0.437 | 2.0 | 214 | 0.5167 | 0.8453 |
| 0.1921 | 3.0 | 321 | 0.5446 | 0.8553 |
| 0.0795 | 4.0 | 428 | 0.7041 | 0.8527 |
| 0.0334 | 5.0 | 535 | 0.7774 | 0.8568 |
| 0.0124 | 6.0 | 642 | 0.8086 | 0.8490 |
| 0.0056 | 7.0 | 749 | 0.8615 | 0.8601 |
| 0.003 | 8.0 | 856 | 0.9246 | 0.8614 |
| 0.0014 | 9.0 | 963 | 0.9300 | 0.8616 |
| 0.0011 | 10.0 | 1070 | 0.9421 | 0.8613 |
Base model
google-bert/bert-base-uncased