End of training
Browse files- README.md +70 -0
- generation_config.json +13 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: Beit_PhoBart
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# Beit_PhoBart
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 1.5865
|
18 |
+
- Bleu-4: 0.0954
|
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: 32
|
39 |
+
- eval_batch_size: 32
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 2
|
42 |
+
- total_train_batch_size: 64
|
43 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- lr_scheduler_warmup_steps: 300
|
46 |
+
- num_epochs: 100
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu-4 |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
53 |
+
| No log | 1.0 | 236 | 1.7574 | 0.0672 |
|
54 |
+
| 1.9578 | 2.0 | 472 | 1.6226 | 0.0748 |
|
55 |
+
| 1.5495 | 3.0 | 708 | 1.5523 | 0.0796 |
|
56 |
+
| 1.3763 | 4.0 | 944 | 1.4998 | 0.0821 |
|
57 |
+
| 1.3763 | 5.0 | 1180 | 1.4815 | 0.0881 |
|
58 |
+
| 1.2355 | 6.0 | 1416 | 1.4835 | 0.0875 |
|
59 |
+
| 1.1027 | 7.0 | 1652 | 1.4790 | 0.0926 |
|
60 |
+
| 0.9865 | 8.0 | 1888 | 1.5128 | 0.0925 |
|
61 |
+
| 0.884 | 9.0 | 2124 | 1.5453 | 0.0956 |
|
62 |
+
| 0.884 | 10.0 | 2360 | 1.5865 | 0.0954 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.46.2
|
68 |
+
- Pytorch 2.5.1+cu121
|
69 |
+
- Datasets 3.1.0
|
70 |
+
- Tokenizers 0.20.3
|
generation_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 50256,
|
3 |
+
"decoder_start_token_id": 50257,
|
4 |
+
"early_stopping": true,
|
5 |
+
"eos_token_id": 50257,
|
6 |
+
"length_penalty": 2.0,
|
7 |
+
"max_length": 29,
|
8 |
+
"no_repeat_ngram_size": 3,
|
9 |
+
"num_beams": 4,
|
10 |
+
"pad_token_id": 50258,
|
11 |
+
"transformers_version": "4.46.2",
|
12 |
+
"use_cache": false
|
13 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1400816568
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac90bf03b5adc2175e0892d406a6e233ddb858bdf40d8cd52f1fd0ee189a473a
|
3 |
size 1400816568
|