Instructions to use henryscheible/xlnet-base-cased_crows_pairs_finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use henryscheible/xlnet-base-cased_crows_pairs_finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="henryscheible/xlnet-base-cased_crows_pairs_finetuned")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("henryscheible/xlnet-base-cased_crows_pairs_finetuned") model = AutoModelForSequenceClassification.from_pretrained("henryscheible/xlnet-base-cased_crows_pairs_finetuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
d2cc24a
1
Parent(s): 8ad97ab
update model card README.md
Browse files
README.md
CHANGED
|
@@ -21,7 +21,7 @@ model-index:
|
|
| 21 |
metrics:
|
| 22 |
- name: Accuracy
|
| 23 |
type: accuracy
|
| 24 |
-
value: 0.
|
| 25 |
---
|
| 26 |
|
| 27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -31,8 +31,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 31 |
|
| 32 |
This model is a fine-tuned version of [xlnet-base-cased](https://huggingface.co/xlnet-base-cased) on the crows_pairs dataset.
|
| 33 |
It achieves the following results on the evaluation set:
|
| 34 |
-
- Loss: 0.
|
| 35 |
-
- Accuracy: 0.
|
| 36 |
|
| 37 |
## Model description
|
| 38 |
|
|
@@ -51,7 +51,7 @@ More information needed
|
|
| 51 |
### Training hyperparameters
|
| 52 |
|
| 53 |
The following hyperparameters were used during training:
|
| 54 |
-
- learning_rate: 0.
|
| 55 |
- train_batch_size: 128
|
| 56 |
- eval_batch_size: 64
|
| 57 |
- seed: 42
|
|
@@ -63,26 +63,26 @@ The following hyperparameters were used during training:
|
|
| 63 |
|
| 64 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 65 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 66 |
-
| No log | 1.0 | 10 |
|
| 67 |
-
| No log | 2.0 | 20 | 0.
|
| 68 |
-
| No log | 3.0 | 30 |
|
| 69 |
-
| No log | 4.0 | 40 | 0.
|
| 70 |
-
| No log | 5.0 | 50 | 0.
|
| 71 |
-
| No log | 6.0 | 60 | 0.
|
| 72 |
-
| No log | 7.0 | 70 | 0.
|
| 73 |
-
| No log | 8.0 | 80 | 0.
|
| 74 |
-
| No log | 9.0 | 90 | 0.
|
| 75 |
-
| No log | 10.0 | 100 | 0.
|
| 76 |
-
| No log | 11.0 | 110 | 0.
|
| 77 |
-
| No log | 12.0 | 120 | 0.
|
| 78 |
-
| No log | 13.0 | 130 | 0.
|
| 79 |
-
| No log | 14.0 | 140 | 0.
|
| 80 |
-
| No log | 15.0 | 150 | 0.
|
| 81 |
-
| No log | 16.0 | 160 | 0.
|
| 82 |
-
| No log | 17.0 | 170 | 0.
|
| 83 |
-
| No log | 18.0 | 180 | 0.
|
| 84 |
-
| No log | 19.0 | 190 | 0.
|
| 85 |
-
| No log | 20.0 | 200 | 0.
|
| 86 |
|
| 87 |
|
| 88 |
### Framework versions
|
|
|
|
| 21 |
metrics:
|
| 22 |
- name: Accuracy
|
| 23 |
type: accuracy
|
| 24 |
+
value: 0.44370860927152317
|
| 25 |
---
|
| 26 |
|
| 27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 31 |
|
| 32 |
This model is a fine-tuned version of [xlnet-base-cased](https://huggingface.co/xlnet-base-cased) on the crows_pairs dataset.
|
| 33 |
It achieves the following results on the evaluation set:
|
| 34 |
+
- Loss: 0.6984
|
| 35 |
+
- Accuracy: 0.4437
|
| 36 |
|
| 37 |
## Model description
|
| 38 |
|
|
|
|
| 51 |
### Training hyperparameters
|
| 52 |
|
| 53 |
The following hyperparameters were used during training:
|
| 54 |
+
- learning_rate: 0.01
|
| 55 |
- train_batch_size: 128
|
| 56 |
- eval_batch_size: 64
|
| 57 |
- seed: 42
|
|
|
|
| 63 |
|
| 64 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 65 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 66 |
+
| No log | 1.0 | 10 | 1.7260 | 0.4437 |
|
| 67 |
+
| No log | 2.0 | 20 | 0.6869 | 0.5563 |
|
| 68 |
+
| No log | 3.0 | 30 | 1.0103 | 0.4437 |
|
| 69 |
+
| No log | 4.0 | 40 | 0.7207 | 0.5563 |
|
| 70 |
+
| No log | 5.0 | 50 | 0.8402 | 0.4437 |
|
| 71 |
+
| No log | 6.0 | 60 | 0.7060 | 0.5563 |
|
| 72 |
+
| No log | 7.0 | 70 | 0.7714 | 0.4437 |
|
| 73 |
+
| No log | 8.0 | 80 | 0.6924 | 0.5563 |
|
| 74 |
+
| No log | 9.0 | 90 | 0.7429 | 0.4437 |
|
| 75 |
+
| No log | 10.0 | 100 | 0.6886 | 0.5563 |
|
| 76 |
+
| No log | 11.0 | 110 | 0.7110 | 0.4437 |
|
| 77 |
+
| No log | 12.0 | 120 | 0.7309 | 0.4437 |
|
| 78 |
+
| No log | 13.0 | 130 | 0.6999 | 0.5563 |
|
| 79 |
+
| No log | 14.0 | 140 | 0.6962 | 0.4437 |
|
| 80 |
+
| No log | 15.0 | 150 | 0.6869 | 0.5563 |
|
| 81 |
+
| No log | 16.0 | 160 | 0.7281 | 0.4437 |
|
| 82 |
+
| No log | 17.0 | 170 | 0.6870 | 0.5563 |
|
| 83 |
+
| No log | 18.0 | 180 | 0.7582 | 0.4437 |
|
| 84 |
+
| No log | 19.0 | 190 | 0.6998 | 0.4437 |
|
| 85 |
+
| No log | 20.0 | 200 | 0.6984 | 0.4437 |
|
| 86 |
|
| 87 |
|
| 88 |
### Framework versions
|