Commit
·
85d29b8
1
Parent(s):
038f677
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: kevin1010607/llama2-7b-mod
|
3 |
+
tags:
|
4 |
+
- trl
|
5 |
+
- sft
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- generator
|
9 |
+
model-index:
|
10 |
+
- name: llama2-7b-mod-sft-full-2
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/kevin-1010607/huggingface/runs/43dpss8q)
|
18 |
+
# llama2-7b-mod-sft-full-2
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [kevin1010607/llama2-7b-mod](https://huggingface.co/kevin1010607/llama2-7b-mod) on the generator dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 1.1683
|
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: 2e-05
|
42 |
+
- train_batch_size: 1
|
43 |
+
- eval_batch_size: 1
|
44 |
+
- seed: 42
|
45 |
+
- distributed_type: multi-GPU
|
46 |
+
- num_devices: 8
|
47 |
+
- gradient_accumulation_steps: 8
|
48 |
+
- total_train_batch_size: 64
|
49 |
+
- total_eval_batch_size: 8
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: cosine
|
52 |
+
- lr_scheduler_warmup_ratio: 0.1
|
53 |
+
- num_epochs: 1
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
58 |
+
|:-------------:|:------:|:----:|:---------------:|
|
59 |
+
| 1.1993 | 0.9997 | 2536 | 1.1683 |
|
60 |
+
|
61 |
+
|
62 |
+
### Framework versions
|
63 |
+
|
64 |
+
- Transformers 4.42.4
|
65 |
+
- Pytorch 2.3.0a0+ebedce2
|
66 |
+
- Datasets 2.20.0
|
67 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9996550874599656,
|
3 |
+
"total_flos": 661690545340416.0,
|
4 |
+
"train_loss": 1.391600751820423,
|
5 |
+
"train_runtime": 151844.1268,
|
6 |
+
"train_samples": 268998,
|
7 |
+
"train_samples_per_second": 1.069,
|
8 |
+
"train_steps_per_second": 0.017
|
9 |
+
}
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "kevin1010607/llama2-7b-mod",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaMoDForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 4096,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 11008,
|
14 |
+
"max_position_embeddings": 4096,
|
15 |
+
"mlp_bias": false,
|
16 |
+
"model_type": "llama",
|
17 |
+
"num_attention_heads": 32,
|
18 |
+
"num_hidden_layers": 32,
|
19 |
+
"num_key_value_heads": 32,
|
20 |
+
"pretraining_tp": 1,
|
21 |
+
"rms_norm_eps": 1e-05,
|
22 |
+
"rope_scaling": null,
|
23 |
+
"rope_theta": 10000.0,
|
24 |
+
"tie_word_embeddings": false,
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.42.4",
|
27 |
+
"use_cache": false,
|
28 |
+
"vocab_size": 32000
|
29 |
+
}
|
runs/Jul16_04-48-23_hdwfn5ctr1721018477013-4w799/events.out.tfevents.1721077675.hdwfn5ctr1721018477013-4w799.3478.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:feddbee90d02aea1d0dd0c42b252ec5ed24ed2dc1a2a465e8e204c7e5bdb78d7
|
3 |
+
size 540236
|