Instructions to use henryscheible/xlnet-base-cased_winobias_finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use henryscheible/xlnet-base-cased_winobias_finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="henryscheible/xlnet-base-cased_winobias_finetuned")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("henryscheible/xlnet-base-cased_winobias_finetuned") model = AutoModelForSequenceClassification.from_pretrained("henryscheible/xlnet-base-cased_winobias_finetuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
d80b79e
1
Parent(s): a64cf72
update model card README.md
Browse files
README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
| 2 |
license: mit
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
-
metrics:
|
| 6 |
-
- accuracy
|
| 7 |
model-index:
|
| 8 |
- name: xlnet-base-cased_winobias_finetuned
|
| 9 |
results: []
|
|
@@ -14,14 +12,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
|
| 15 |
# xlnet-base-cased_winobias_finetuned
|
| 16 |
|
| 17 |
-
This model is a fine-tuned version of [xlnet-base-cased](https://huggingface.co/xlnet-base-cased) on
|
| 18 |
-
It achieves the following results on the evaluation set:
|
| 19 |
-
- Loss: 0.6932
|
| 20 |
-
- Accuracy: 0.5
|
| 21 |
-
- Tp: 0.0
|
| 22 |
-
- Tn: 0.5
|
| 23 |
-
- Fp: 0.0
|
| 24 |
-
- Fn: 0.5
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
@@ -48,74 +39,6 @@ The following hyperparameters were used during training:
|
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
- num_epochs: 50
|
| 50 |
|
| 51 |
-
### Training results
|
| 52 |
-
|
| 53 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Tp | Tn | Fp | Fn |
|
| 54 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:------:|:------:|:------:|
|
| 55 |
-
| 0.7104 | 0.8 | 20 | 0.6939 | 0.4994 | 0.4994 | 0.0 | 0.5 | 0.0006 |
|
| 56 |
-
| 0.7066 | 1.6 | 40 | 0.6933 | 0.5006 | 0.0057 | 0.4949 | 0.0051 | 0.4943 |
|
| 57 |
-
| 0.7092 | 2.4 | 60 | 0.6932 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 58 |
-
| 0.7004 | 3.2 | 80 | 0.6935 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 59 |
-
| 0.704 | 4.0 | 100 | 0.6941 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 60 |
-
| 0.698 | 4.8 | 120 | 0.6942 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 61 |
-
| 0.7073 | 5.6 | 140 | 0.6972 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 62 |
-
| 0.7022 | 6.4 | 160 | 0.6940 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 63 |
-
| 0.7092 | 7.2 | 180 | 0.6933 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 64 |
-
| 0.7105 | 8.0 | 200 | 0.6934 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 65 |
-
| 0.6964 | 8.8 | 220 | 0.6932 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 66 |
-
| 0.6972 | 9.6 | 240 | 0.6932 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 67 |
-
| 0.7038 | 10.4 | 260 | 0.6933 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 68 |
-
| 0.7046 | 11.2 | 280 | 0.6935 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 69 |
-
| 0.6939 | 12.0 | 300 | 0.6960 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 70 |
-
| 0.7057 | 12.8 | 320 | 0.6969 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 71 |
-
| 0.6964 | 13.6 | 340 | 0.6933 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 72 |
-
| 0.6975 | 14.4 | 360 | 0.6933 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 73 |
-
| 0.7029 | 15.2 | 380 | 0.6949 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 74 |
-
| 0.7123 | 16.0 | 400 | 0.6947 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 75 |
-
| 0.704 | 16.8 | 420 | 0.6932 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 76 |
-
| 0.6998 | 17.6 | 440 | 0.6954 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 77 |
-
| 0.707 | 18.4 | 460 | 0.6944 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 78 |
-
| 0.7118 | 19.2 | 480 | 0.6960 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 79 |
-
| 0.6946 | 20.0 | 500 | 0.6933 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 80 |
-
| 0.6979 | 20.8 | 520 | 0.6984 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 81 |
-
| 0.7032 | 21.6 | 540 | 0.6954 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 82 |
-
| 0.7107 | 22.4 | 560 | 0.6951 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 83 |
-
| 0.696 | 23.2 | 580 | 0.6943 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 84 |
-
| 0.7015 | 24.0 | 600 | 0.6937 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 85 |
-
| 0.6975 | 24.8 | 620 | 0.6948 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 86 |
-
| 0.7049 | 25.6 | 640 | 0.6943 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 87 |
-
| 0.6987 | 26.4 | 660 | 0.6933 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 88 |
-
| 0.7054 | 27.2 | 680 | 0.6935 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 89 |
-
| 0.7059 | 28.0 | 700 | 0.6944 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 90 |
-
| 0.6975 | 28.8 | 720 | 0.6933 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 91 |
-
| 0.7013 | 29.6 | 740 | 0.6932 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 92 |
-
| 0.6983 | 30.4 | 760 | 0.6932 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 93 |
-
| 0.6956 | 31.2 | 780 | 0.6953 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 94 |
-
| 0.7023 | 32.0 | 800 | 0.6933 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 95 |
-
| 0.6979 | 32.8 | 820 | 0.6933 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 96 |
-
| 0.6978 | 33.6 | 840 | 0.6933 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 97 |
-
| 0.7005 | 34.4 | 860 | 0.6932 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 98 |
-
| 0.6964 | 35.2 | 880 | 0.6933 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 99 |
-
| 0.7022 | 36.0 | 900 | 0.6933 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 100 |
-
| 0.6996 | 36.8 | 920 | 0.6933 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 101 |
-
| 0.6866 | 37.6 | 940 | 0.6942 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 102 |
-
| 0.7011 | 38.4 | 960 | 0.6933 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 103 |
-
| 0.6966 | 39.2 | 980 | 0.6935 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 104 |
-
| 0.6991 | 40.0 | 1000 | 0.6933 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 105 |
-
| 0.6971 | 40.8 | 1020 | 0.6931 | 0.4994 | 0.4956 | 0.0038 | 0.4962 | 0.0044 |
|
| 106 |
-
| 0.7066 | 41.6 | 1040 | 0.6933 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 107 |
-
| 0.6971 | 42.4 | 1060 | 0.6938 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 108 |
-
| 0.696 | 43.2 | 1080 | 0.6936 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 109 |
-
| 0.6987 | 44.0 | 1100 | 0.6933 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 110 |
-
| 0.6964 | 44.8 | 1120 | 0.6932 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 111 |
-
| 0.6932 | 45.6 | 1140 | 0.6932 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 112 |
-
| 0.6917 | 46.4 | 1160 | 0.6936 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 113 |
-
| 0.693 | 47.2 | 1180 | 0.6933 | 0.5 | 0.5 | 0.0 | 0.5 | 0.0 |
|
| 114 |
-
| 0.6892 | 48.0 | 1200 | 0.6932 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 115 |
-
| 0.698 | 48.8 | 1220 | 0.6932 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 116 |
-
| 0.694 | 49.6 | 1240 | 0.6932 | 0.5 | 0.0 | 0.5 | 0.0 | 0.5 |
|
| 117 |
-
|
| 118 |
-
|
| 119 |
### Framework versions
|
| 120 |
|
| 121 |
- Transformers 4.26.1
|
|
|
|
| 2 |
license: mit
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
|
|
|
|
|
|
| 5 |
model-index:
|
| 6 |
- name: xlnet-base-cased_winobias_finetuned
|
| 7 |
results: []
|
|
|
|
| 12 |
|
| 13 |
# xlnet-base-cased_winobias_finetuned
|
| 14 |
|
| 15 |
+
This model is a fine-tuned version of [xlnet-base-cased](https://huggingface.co/xlnet-base-cased) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
## Model description
|
| 18 |
|
|
|
|
| 39 |
- lr_scheduler_type: linear
|
| 40 |
- num_epochs: 50
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
### Framework versions
|
| 43 |
|
| 44 |
- Transformers 4.26.1
|