Views
No views yet
0.4.01base_model: Qwen/Qwen1.5-0.5B-Chat
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4
5hub_model_id: markab/Qwen1.5-Capybara-0.5B-Chat
6# https://huggingface.co/docs/transformers/v4.31.0/en/main_classes/trainer#transformers.TrainingArguments.hub_strategy
7hub_strategy: every_save
8# Whether to use hf `use_auth_token` for loading datasets. Useful for fetching private datasets
9# Required to be true when used in combination with `push_dataset_to_hub`
10hf_use_auth_token: true # boolean
11
12
13
14trust_remote_code:
15
16load_in_8bit: true
17load_in_4bit: false
18strict: false
19
20
21datasets:
22 - path: cfahlgren1/Capybara-Converted
23 type: sharegpt
24 conversation: chatml
25 field_system: system
26 field_human: human
27 field_model: gpt
28 - path: markab/coqa_qa_multi
29 type: sharegpt
30 conversation: chatml
31 field_system: system
32 field_human: human
33 field_model: gpt
34chat_template: chatml
35
36dataset_prepared_path: last_run_prepared
37val_set_size: 0.01
38output_dir: ./out
39
40sequence_len: 4000
41sample_packing: false
42pad_to_sequence_len: false
43
44#device_map: sequential
45#max_memory: {0: "8GB", 1: "8GB", 2: "14GB"}
46
47adapter: lora
48lora_model_dir:
49lora_r: 32
50lora_alpha: 32
51lora_dropout: 0.05
52lora_target_linear: true
53lora_fan_in_fan_out:
54
55wandb_project: qwen-capybara
56wandb_entity:
57wandb_watch:
58wandb_name: Qwen1.5-Capybara-0.5B-Chat
59wandb_log_model: checkpoint
60
61gradient_accumulation_steps: 2
62micro_batch_size: 2
63num_epochs: 1
64optimizer: adamw_bnb_8bit
65lr_scheduler: cosine
66cosine_min_lr_ratio: 0.1
67learning_rate: 0.00022
68
69save_safetensors: true
70
71train_on_inputs: false
72group_by_length: false
73bf16: auto
74fp16:
75tf32: false
76
77gradient_checkpointing: true
78early_stopping_patience:
79resume_from_checkpoint:
80local_rank:
81logging_steps: 1
82xformers_attention:
83flash_attention: true
84
85warmup_steps: 15
86evals_per_epoch: 4
87eval_table_size:
88eval_max_new_tokens: 128
89saves_per_epoch: 1
90debug:
91deepspeed:
92weight_decay: 0.0
93fsdp:
94fsdp_config:
95special_tokens:
96| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.164 | 0.0 | 1 | 1.2662 |
| 0.759 | 0.25 | 343 | 1.0705 |
| 0.6798 | 0.5 | 686 | 1.0525 |
| 1.2828 | 0.75 | 1029 | 1.0419 |
Average: 33.35
STEM: 32.20
Social Sciences: 37.00
Humanities: 31.71
Other: 33.33