Views
No views yet
0.6.01base_model: Qwen/Qwen2.5-1.5B-Instruct
2# Automatically upload checkpoint and final model to HF
3# hub_model_id: username/custom_model_name
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9# datasets:
10# - path: oneline-tool.jsonl
11# type: chat_template
12# chat_template: chatml
13# field_messages: conversations
14# message_field_role: from
15# message_field_content: value
16 # - path: minpeter/stanford-alpaca-regen-llama-3.3
17 # type:
18 # format: "<|im_start|>user\n{instruction}\n{input}<|im_end|>\n<|im_start|>assistant\n"
19 # no_input_format: "<|im_start|>user\n{instruction}<|im_end|>\n<|im_start|>assistant\n"
20 # shards: 52000
21datasets:
22 - path: minpeter/bfcl-v1-non-live-ast-hermes
23 data_files:
24 - result.parquet
25 type: chat_template
26 chat_template: chatml
27 field_messages: conversations
28 message_field_role: from
29 message_field_content: value
30
31chat_template: chatml
32
33
34dataset_prepared_path: last_run_prepared
35
36output_dir: ./output
37
38adapter: lora
39lora_model_dir:
40
41sequence_len: 2048
42pad_to_sequence_len: true
43sample_packing: true
44
45# val_set_size: 0.1
46# eval_sample_packing: true
47
48lora_r: 16
49lora_alpha: 32
50lora_dropout: 0.05
51lora_fan_in_fan_out:
52lora_target_modules:
53 - gate_proj
54 - down_proj
55 - up_proj
56 - q_proj
57 - v_proj
58 - k_proj
59 - o_proj
60
61wandb_project: "axolotl"
62wandb_entity: "kasfiekfs-e"
63wandb_watch:
64wandb_name:
65wandb_log_model:
66
67gradient_accumulation_steps: 2
68micro_batch_size: 2
69num_epochs: 1
70optimizer: adamw_8bit
71lr_scheduler: cosine
72learning_rate: 0.0002
73
74train_on_inputs: false
75group_by_length: false
76bf16: auto
77fp16:
78tf32: false
79
80gradient_checkpointing: true
81early_stopping_patience:
82resume_from_checkpoint:
83local_rank:
84logging_steps: 1
85xformers_attention:
86flash_attention: true
87
88loss_watchdog_threshold: 5.0
89loss_watchdog_patience: 3
90
91warmup_steps: 10
92evals_per_epoch: 4
93saves_per_epoch: 1
94debug:
95deepspeed:
96weight_decay: 0.0
97fsdp:
98fsdp_config:
99
100# special_tokens:
101# bos_token: null
102# eos_token: <|im_end|>
103# pad_token: <|endoftext|>🔍 Running test: parallel_multiple
✅ Test completed: parallel_multiple. 🎯 Accuracy: 0.84
🔍 Running test: parallel
✅ Test completed: parallel. 🎯 Accuracy: 0.875
🔍 Running test: simple
✅ Test completed: simple. 🎯 Accuracy: 0.94
🔍 Running test: multiple
✅ Test completed: multiple. 🎯 Accuracy: 0.891docker run --rm --runtime nvidia --gpus '"device=0"' \
2 -p 8000:8000 \
3 -e HF_TOKEN="<secret>" \
4 -v ~/.cache/huggingface:/root/.cache/huggingface \
5 vllm/vllm-openai:latest \
6 --model Qwen/Qwen2.5-1.5B-Instruct \
7 --enable-lora \
8 --lora-modules \
9 tool=minpeter/LoRA-corrupted-bfcl-1.5B-v1 \
10 --enable-auto-tool-choice \
11 --tool-call-parser hermes