Commit
·
907c62c
1
Parent(s):
7344009
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: hfl/chinese-xlnet-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: xlnet-base
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# xlnet-base
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [hfl/chinese-xlnet-base](https://huggingface.co/hfl/chinese-xlnet-base) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 5.7194
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 5e-05
|
38 |
+
- train_batch_size: 8
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: cosine
|
43 |
+
- lr_scheduler_warmup_steps: 500
|
44 |
+
- num_epochs: 2
|
45 |
+
- mixed_precision_training: Native AMP
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
51 |
+
| 8.1116 | 0.11 | 500 | 6.8678 |
|
52 |
+
| 6.8507 | 0.22 | 1000 | 6.7533 |
|
53 |
+
| 6.7394 | 0.34 | 1500 | 6.7035 |
|
54 |
+
| 6.6534 | 0.45 | 2000 | 6.6033 |
|
55 |
+
| 6.5451 | 0.56 | 2500 | 6.4870 |
|
56 |
+
| 6.4314 | 0.67 | 3000 | 6.3461 |
|
57 |
+
| 6.2783 | 0.78 | 3500 | 6.2090 |
|
58 |
+
| 6.1681 | 0.9 | 4000 | 6.0913 |
|
59 |
+
| 6.0757 | 1.01 | 4500 | 5.9937 |
|
60 |
+
| 5.9735 | 1.12 | 5000 | 5.9321 |
|
61 |
+
| 5.9025 | 1.23 | 5500 | 5.8552 |
|
62 |
+
| 5.8424 | 1.34 | 6000 | 5.8166 |
|
63 |
+
| 5.804 | 1.45 | 6500 | 5.7849 |
|
64 |
+
| 5.7535 | 1.57 | 7000 | 5.7420 |
|
65 |
+
| 5.7674 | 1.68 | 7500 | 5.7311 |
|
66 |
+
| 5.7613 | 1.79 | 8000 | 5.7269 |
|
67 |
+
| 5.7322 | 1.9 | 8500 | 5.7194 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.36.2
|
73 |
+
- Pytorch 2.1.0+cu121
|
74 |
+
- Datasets 2.16.0
|
75 |
+
- Tokenizers 0.15.0
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 5,
|
6 |
+
"transformers_version": "4.36.2"
|
7 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 467023808
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:140176e52ca21201be1220addf01375705bc7103b5ccc9dfc9e058b284649e51
|
3 |
size 467023808
|
runs/Dec24_17-20-10_6dc307c12745/events.out.tfevents.1703438412.6dc307c12745.8060.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e913e86c2c21a24b586bdf8a136e60cd6a15ca1050980ee6a7b2228167d78f3
|
3 |
+
size 12122
|