dinhlnd1610
commited on
Commit
·
aac3bc5
1
Parent(s):
c26ff48
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: xlnet-base-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- tweet_sentiment_multilingual
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: xlnet-finetuned-socialmediatweet
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Text Classification
|
15 |
+
type: text-classification
|
16 |
+
dataset:
|
17 |
+
name: tweet_sentiment_multilingual
|
18 |
+
type: tweet_sentiment_multilingual
|
19 |
+
config: english
|
20 |
+
split: validation
|
21 |
+
args: english
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.7129629850387573
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# xlnet-finetuned-socialmediatweet
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [xlnet-base-cased](https://huggingface.co/xlnet-base-cased) on the tweet_sentiment_multilingual dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 2.6923
|
36 |
+
- Accuracy: 0.7130
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 2e-05
|
56 |
+
- train_batch_size: 32
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 20
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| 0.0161 | 1.0 | 58 | 2.4538 | 0.6821 |
|
68 |
+
| 0.0416 | 2.0 | 116 | 2.3751 | 0.6821 |
|
69 |
+
| 0.0294 | 3.0 | 174 | 2.4929 | 0.7068 |
|
70 |
+
| 0.031 | 4.0 | 232 | 2.5655 | 0.7037 |
|
71 |
+
| 0.0422 | 5.0 | 290 | 3.0881 | 0.6605 |
|
72 |
+
| 0.0751 | 6.0 | 348 | 2.6787 | 0.6883 |
|
73 |
+
| 0.0264 | 7.0 | 406 | 2.5283 | 0.7006 |
|
74 |
+
| 0.0123 | 8.0 | 464 | 2.5634 | 0.7006 |
|
75 |
+
| 0.0277 | 9.0 | 522 | 2.7127 | 0.6852 |
|
76 |
+
| 0.0448 | 10.0 | 580 | 2.6113 | 0.6759 |
|
77 |
+
| 0.0261 | 11.0 | 638 | 2.6640 | 0.6759 |
|
78 |
+
| 0.0111 | 12.0 | 696 | 2.6089 | 0.6914 |
|
79 |
+
| 0.0239 | 13.0 | 754 | 2.5785 | 0.6975 |
|
80 |
+
| 0.0255 | 14.0 | 812 | 2.6923 | 0.7130 |
|
81 |
+
| 0.0242 | 15.0 | 870 | 2.4704 | 0.7068 |
|
82 |
+
| 0.0131 | 16.0 | 928 | 2.6724 | 0.6667 |
|
83 |
+
| 0.0059 | 17.0 | 986 | 2.5554 | 0.7068 |
|
84 |
+
| 0.0066 | 18.0 | 1044 | 2.6696 | 0.6698 |
|
85 |
+
| 0.001 | 19.0 | 1102 | 2.5653 | 0.6883 |
|
86 |
+
| 0.0026 | 20.0 | 1160 | 2.5846 | 0.6883 |
|
87 |
+
|
88 |
+
|
89 |
+
### Framework versions
|
90 |
+
|
91 |
+
- Transformers 4.35.2
|
92 |
+
- Pytorch 2.1.0+cu118
|
93 |
+
- Datasets 2.15.0
|
94 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 469267676
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb9936b3691de2fd4d0aa79edd9bd5fe13d1810ecd6c409e63d320e9c35a62eb
|
3 |
size 469267676
|
runs/Dec07_08-02-20_da01a0dc28a0/events.out.tfevents.1701936752.da01a0dc28a0.276.9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15d1df8baec71af5cbd1c59f8942a30effdecb14a10bb0f888c690471186b5aa
|
3 |
+
size 411
|