Instructions to use BenjaminOcampo/hatebert_ihc_2_finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BenjaminOcampo/hatebert_ihc_2_finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="BenjaminOcampo/hatebert_ihc_2_finetuned")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("BenjaminOcampo/hatebert_ihc_2_finetuned") model = AutoModelForSequenceClassification.from_pretrained("BenjaminOcampo/hatebert_ihc_2_finetuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload history.json with huggingface_hub
Browse files- history.json +6 -24
history.json
CHANGED
|
@@ -1,38 +1,20 @@
|
|
| 1 |
{
|
| 2 |
"train_loss": [
|
| 3 |
-
0.
|
| 4 |
-
0.22126827006341576,
|
| 5 |
-
0.03651901923917821,
|
| 6 |
-
0.01336296166237482
|
| 7 |
],
|
| 8 |
"dev_loss": [
|
| 9 |
-
0.
|
| 10 |
-
0.5431155083450407,
|
| 11 |
-
0.8740210360907301,
|
| 12 |
-
0.9956539582247962
|
| 13 |
],
|
| 14 |
"dev_f1": [
|
| 15 |
-
0.
|
| 16 |
-
0.7646587426553682,
|
| 17 |
-
0.7632265260493143,
|
| 18 |
-
0.767350719479837
|
| 19 |
],
|
| 20 |
"dev_accuracy": [
|
| 21 |
-
0.
|
| 22 |
-
0.7881750465549349,
|
| 23 |
-
0.7753724394785847,
|
| 24 |
-
0.7809590316573557
|
| 25 |
],
|
| 26 |
"dev_precision": [
|
| 27 |
-
0.
|
| 28 |
-
0.7858611481975968,
|
| 29 |
-
0.7619542747131232,
|
| 30 |
-
0.7679755693445157
|
| 31 |
],
|
| 32 |
"dev_recall": [
|
| 33 |
-
0.
|
| 34 |
-
0.7557239600128991,
|
| 35 |
-
0.7647057607554222,
|
| 36 |
-
0.7667605156318476
|
| 37 |
]
|
| 38 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"train_loss": [
|
| 3 |
+
0.49432520899623356
|
|
|
|
|
|
|
|
|
|
| 4 |
],
|
| 5 |
"dev_loss": [
|
| 6 |
+
0.4424730130788667
|
|
|
|
|
|
|
|
|
|
| 7 |
],
|
| 8 |
"dev_f1": [
|
| 9 |
+
0.761119468829554
|
|
|
|
|
|
|
|
|
|
| 10 |
],
|
| 11 |
"dev_accuracy": [
|
| 12 |
+
0.7874767225325885
|
|
|
|
|
|
|
|
|
|
| 13 |
],
|
| 14 |
"dev_precision": [
|
| 15 |
+
0.7895708074311922
|
|
|
|
|
|
|
|
|
|
| 16 |
],
|
| 17 |
"dev_recall": [
|
| 18 |
+
0.7509426239674546
|
|
|
|
|
|
|
|
|
|
| 19 |
]
|
| 20 |
}
|