Model save
Browse files- README.md +60 -0
- best/config.json +17 -0
- best/model.safetensors +3 -0
- best/training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
model-index:
|
5 |
+
- name: results_model8
|
6 |
+
results: []
|
7 |
+
---
|
8 |
+
|
9 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
10 |
+
should probably proofread and complete it, then remove this comment. -->
|
11 |
+
|
12 |
+
# results_model8
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on the None dataset.
|
15 |
+
It achieves the following results on the evaluation set:
|
16 |
+
- Loss: 2.9686
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 0.0001
|
36 |
+
- train_batch_size: 16
|
37 |
+
- eval_batch_size: 16
|
38 |
+
- seed: 42
|
39 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
+
- lr_scheduler_type: linear
|
41 |
+
- lr_scheduler_warmup_steps: 30
|
42 |
+
- num_epochs: 20
|
43 |
+
- mixed_precision_training: Native AMP
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
+
|:-------------:|:------:|:-----:|:---------------:|
|
49 |
+
| 3.3262 | 0.5570 | 10000 | 3.3012 |
|
50 |
+
| 3.0829 | 1.1141 | 20000 | 3.1175 |
|
51 |
+
| 2.9737 | 1.6711 | 30000 | 3.0091 |
|
52 |
+
| 2.8584 | 2.2282 | 40000 | 2.9686 |
|
53 |
+
|
54 |
+
|
55 |
+
### Framework versions
|
56 |
+
|
57 |
+
- Transformers 4.40.2
|
58 |
+
- Pytorch 2.3.0
|
59 |
+
- Datasets 2.19.1
|
60 |
+
- Tokenizers 0.19.1
|
best/config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"TransformerNet"
|
4 |
+
],
|
5 |
+
"d_model": 512,
|
6 |
+
"dim_feedforward": 1024,
|
7 |
+
"dropout": 0.1,
|
8 |
+
"input_dim": 30000,
|
9 |
+
"max_seq_len": 1024,
|
10 |
+
"model_type": "transformer",
|
11 |
+
"nhead": 8,
|
12 |
+
"num_decoder_layers": 6,
|
13 |
+
"num_encoder_layers": 6,
|
14 |
+
"output_dim": 30000,
|
15 |
+
"torch_dtype": "float32",
|
16 |
+
"transformers_version": "4.40.2"
|
17 |
+
}
|
best/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:660672277faf05f23ac3149638ae4098efb87549862da00df4ac1e2e010c9b8f
|
3 |
+
size 253386808
|
best/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9d1f0b56e7ee9a45cd041c731c8ea2ff9d2fb818348ccc86eb90faf2bc51b6f
|
3 |
+
size 5112
|