Views
No views yet
0.4.11base_model: mistralai/Mistral-7B-v0.3
2model_type: MistralForCausalLM
3tokenizer_type: LlamaTokenizer
4
5strict: false
6
7# dataset
8datasets:
9 - path: BEE-spoke-data/sarcasm-scrolls
10 type: completion # format from earlier
11 field: text
12val_set_size: 200
13
14sequence_len: 4096
15sample_packing: true
16pad_to_sequence_len: true
17train_on_inputs: false
18group_by_length: false
19
20# WANDB
21wandb_project: sarcasm-scrolls
22wandb_entity: pszemraj
23wandb_watch: gradients
24wandb_name: Mistral-7B-v0.3-sarcasm-scrolls-v2a
25hub_model_id: pszemraj/Mistral-7B-v0.3-sarcasm-scrolls-v2
26hub_strategy: every_save
27
28gradient_accumulation_steps: 32
29micro_batch_size: 1
30num_epochs: 2
31optimizer: adamw_torch_fused # paged_adamw_32bit
32lr_scheduler: cosine
33learning_rate: 2e-5
34
35load_in_8bit: false
36load_in_4bit: false
37bf16: true
38tf32: true
39
40torch_compile: true
41torch_compile_backend: inductor # Optional[str]
42gradient_checkpointing: true
43gradient_checkpointing_kwargs:
44 use_reentrant: false
45early_stopping_patience:
46logging_steps: 3
47xformers_attention:
48flash_attention: true
49
50warmup_steps: 20
51# hyperparams for freq of evals, saving, etc
52evals_per_epoch: 4
53saves_per_epoch: 4
54save_safetensors: true
55save_total_limit: 1 # Checkpoints saved at a time
56output_dir: ./output-axolotl/output-model-chaz
57resume_from_checkpoint:
58
59
60deepspeed:
61weight_decay: 0.06
62
63special_tokens:
64| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 0.0075 | 1 | 2.3935 |
| 2.3672 | 0.2548 | 34 | 2.3638 |
| 2.3751 | 0.5096 | 68 | 2.3499 |
| 2.308 | 0.7644 | 102 | 2.3238 |
| 2.2672 | 1.0035 | 136 | 2.3027 |
| 1.702 | 1.2583 | 170 | 2.3449 |
| 1.7456 | 1.5131 | 204 | 2.3370 |
| 1.7004 | 1.7679 | 238 | 2.3333 |