Model save
Browse files- README.md +72 -0
- generation_config.json +6 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google-t5/t5-small
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- bleu
|
8 |
+
model-index:
|
9 |
+
- name: al-wmt14
|
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 |
+
# al-wmt14
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [google-t5/t5-small](https://huggingface.co/google-t5/t5-small) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.7427
|
21 |
+
- Bleu: 51.2627
|
22 |
+
- Gen Len: 26.713
|
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: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- training_steps: 100000
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
54 |
+
|:-------------:|:------:|:------:|:---------------:|:-------:|:-------:|
|
55 |
+
| 0.8503 | 0.2778 | 10000 | 0.9749 | 41.49 | 27.2803 |
|
56 |
+
| 0.7082 | 0.5556 | 20000 | 0.8905 | 44.7235 | 26.6963 |
|
57 |
+
| 0.6407 | 0.8333 | 30000 | 0.8530 | 46.6914 | 27.019 |
|
58 |
+
| 0.573 | 1.1111 | 40000 | 0.8260 | 47.4882 | 26.6827 |
|
59 |
+
| 0.5438 | 1.3889 | 50000 | 0.8017 | 48.472 | 26.8617 |
|
60 |
+
| 0.5263 | 1.6667 | 60000 | 0.7810 | 49.0812 | 26.8817 |
|
61 |
+
| 0.5091 | 1.9444 | 70000 | 0.7654 | 49.9355 | 26.7853 |
|
62 |
+
| 0.4699 | 2.2222 | 80000 | 0.7605 | 50.3601 | 26.72 |
|
63 |
+
| 0.4597 | 2.5 | 90000 | 0.7488 | 50.92 | 26.8803 |
|
64 |
+
| 0.454 | 2.7778 | 100000 | 0.7427 | 51.2627 | 26.713 |
|
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 |
+
}
|