Views
No views yet
0.10.0.dev01base_model: microsoft/phi-1_5
2# optionally might have model_type or tokenizer_type
3model_type: AutoModelForCausalLM
4tokenizer_type: AutoTokenizer
5# Automatically upload checkpoint and final model to HF
6# hub_model_id: username/custom_model_name
7
8load_in_8bit: false
9load_in_4bit: true
10
11datasets:
12 - #path: garage-bAInd/Open-Platypus
13 path: /workspace/data/sentiment.jsonl
14 type: alpaca
15
16dataset_prepared_path:
17val_set_size: 5
18output_dir: /workspace/outputs/phi-sentiment-out
19
20sequence_len: 2048
21sample_packing: true
22pad_to_sequence_len: true
23
24#axolotl own suggestion
25eval_sample_packing: False
26
27adapter: qlora
28#lora_model_dir:
29lora_r: 64
30lora_alpha: 32
31lora_dropout: 0.05
32lora_target_linear: true
33
34wandb_project:
35wandb_entity:
36wandb_watch:
37wandb_name:
38wandb_log_model:
39
40gradient_accumulation_steps: 2
41micro_batch_size: 4
42num_epochs: 1
43optimizer: adamw_torch_fused
44adam_beta2: 0.95
45adam_epsilon: 0.00001
46max_grad_norm: 1.0
47lr_scheduler: cosine
48learning_rate: 0.0002
49
50bf16: auto
51#tf32: true
52
53gradient_checkpointing: true
54gradient_checkpointing_kwargs:
55 use_reentrant: True
56resume_from_checkpoint:
57logging_steps: 1
58#flash_attention: true
59flash_attention: false
60
61warmup_steps: 100
62evals_per_epoch: 4
63saves_per_epoch: 1
64weight_decay: 0.1
65resize_token_embeddings_to_32x: true
66special_tokens:
67 pad_token: "<|endoftext|>"| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 6.6611 | 0.0227 | 1 | 8.7855 |
| 6.2266 | 0.25 | 11 | 8.0873 |
| 2.2228 | 0.5 | 22 | 4.1190 |
| 0.3054 | 0.75 | 33 | 0.5615 |
| 0.2409 | 1.0 | 44 | 0.2148 |