Views
No views yet
git clone https://github.com/RuslanPeresy/gptchain.git
cd gptchain
pip install -r requirements-train.txt
python gptchain.py chat -m ruslandev/llama-3-8b-gpt-4o-ru1.0 \
--chatml true \
-q '[{"from": "human", "value": "Из чего состоит нейронная сеть?"}]'| meta-llama/Meta-Llama-3-8B-Instruct | ruslandev/llama-3-8b-gpt-4o-ru1.0 | lightblue/suzume-llama-3-8B-multilingual | Nexusflow/Starling-LM-7B-beta | gpt-3.5-turbo | |
|---|---|---|---|---|---|
| Russian 🇷🇺 | NaN | 8.12 | 8.19 | 8.06 | 7.94 |
| English 🇺🇸 | 7.98 | 8.01 | 7.73 | 7.92 | 8.26 |
0.4.11base_model: meta-llama/Meta-Llama-3-8B-Instruct
2model_type: LlamaForCausalLM
3tokenizer_type: AutoTokenizer # PreTrainedTokenizerFast
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9datasets:
10 - path: ruslandev/tagengo-rus-gpt-4o
11 type: sharegpt
12 conversation: llama-3
13dataset_prepared_path: /home/ubuntu/llm_training/axolotl/llama3-8b-gpt-4o-ru/prepared_tagengo_rus
14val_set_size: 0.01
15output_dir: /home/ubuntu/llm_training/axolotl/llama3-8b-gpt-4o-ru/output_llama3_8b_gpt_4o_ru
16
17sequence_len: 8192
18sample_packing: true
19pad_to_sequence_len: true
20eval_sample_packing: false
21
22use_wandb: false
23#wandb_project: axolotl
24#wandb_entity: wandb_entity
25#wandb_name: llama_3_8b_gpt_4o_ru
26
27gradient_accumulation_steps: 2
28micro_batch_size: 2
29num_epochs: 1
30optimizer: paged_adamw_8bit
31lr_scheduler: cosine
32learning_rate: 1e-5
33
34train_on_inputs: false
35group_by_length: false
36bf16: auto
37fp16:
38tf32: false
39
40gradient_checkpointing: true
41gradient_checkpointing_kwargs:
42 use_reentrant: false
43early_stopping_patience:
44resume_from_checkpoint:
45logging_steps: 1
46xformers_attention:
47flash_attention: true
48
49warmup_steps: 10
50evals_per_epoch: 5
51eval_table_size:
52saves_per_epoch: 1
53debug:
54deepspeed: /home/ubuntu/axolotl/deepspeed_configs/zero2.json
55weight_decay: 0.0
56special_tokens:
57 pad_token: <|end_of_text|>
58| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.1347 | 0.016 | 1 | 1.1086 |
| 0.916 | 0.208 | 13 | 0.8883 |
| 0.8494 | 0.416 | 26 | 0.8072 |
| 0.8657 | 0.624 | 39 | 0.7814 |
| 0.8077 | 0.832 | 52 | 0.7702 |