Model save
Browse files- README.md +72 -0
- generation_config.json +6 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/mt5-small
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- bleu
|
8 |
+
model-index:
|
9 |
+
- name: ft-wmt14-5
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# ft-wmt14-5
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 2.0597
|
21 |
+
- Bleu: 20.6113
|
22 |
+
- Gen Len: 30.701
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 0.0005
|
42 |
+
- train_batch_size: 8
|
43 |
+
- eval_batch_size: 8
|
44 |
+
- seed: 42
|
45 |
+
- gradient_accumulation_steps: 2
|
46 |
+
- total_train_batch_size: 16
|
47 |
+
- optimizer: Adafactor
|
48 |
+
- lr_scheduler_type: constant
|
49 |
+
- training_steps: 100000
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Bleu | Gen Len | Validation Loss |
|
54 |
+
|:-------------:|:------:|:------:|:-------:|:-------:|:---------------:|
|
55 |
+
| 1.9166 | 0.2778 | 10000 | 15.8119 | 32.097 | 2.3105 |
|
56 |
+
| 1.7184 | 0.5556 | 20000 | 17.5903 | 31.1153 | 2.1993 |
|
57 |
+
| 1.6061 | 0.8333 | 30000 | 18.9604 | 30.327 | 2.1380 |
|
58 |
+
| 1.516 | 1.1111 | 40000 | 19.1444 | 30.2727 | 2.1366 |
|
59 |
+
| 1.4675 | 1.3889 | 50000 | 19.7588 | 30.1127 | 2.1208 |
|
60 |
+
| 1.4416 | 1.6667 | 60000 | 19.9263 | 30.4463 | 2.0889 |
|
61 |
+
| 1.4111 | 1.9444 | 70000 | 2.0795 | 20.3323 | 30.1207 |
|
62 |
+
| 1.3603 | 2.2222 | 80000 | 2.0850 | 20.5373 | 30.5943 |
|
63 |
+
| 1.3378 | 2.5 | 90000 | 2.0604 | 20.7584 | 30.499 |
|
64 |
+
| 1.3381 | 2.7778 | 100000 | 2.0597 | 20.6113 | 30.701 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.40.0
|
70 |
+
- Pytorch 2.2.2+cu121
|
71 |
+
- Datasets 2.19.0
|
72 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.40.0"
|
6 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1200729512
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0bea728270c6fcf411f8fc6c540fddbdc14423fcbc6c9ebb65fe846d017b0f6d
|
3 |
size 1200729512
|