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 # Optional[str] default: text, field to use for completion data
12val_set_size: 0.025
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
25hub_model_id: pszemraj/Mistral-7B-v0.3-sarcasm-scrolls-2
26hub_strategy: every_save
27
28gradient_accumulation_steps: 16
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: auto
38fp16:
39tf32: true
40
41torch_compile: true # requires >= torch 2.0, may sometimes cause problems
42torch_compile_backend: inductor # Optional[str]
43gradient_checkpointing: true
44gradient_checkpointing_kwargs:
45 use_reentrant: false
46early_stopping_patience:
47logging_steps: 5
48xformers_attention:
49flash_attention: true
50
51warmup_steps: 20
52# hyperparams for freq of evals, saving, etc
53evals_per_epoch: 4
54saves_per_epoch: 4
55save_safetensors: true
56save_total_limit: 1 # Checkpoints saved at a time
57output_dir: ./output-axolotl/output-model-theta
58resume_from_checkpoint:
59
60
61deepspeed:
62weight_decay: 0.04
63
64special_tokens:
65| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 0.0082 | 1 | 2.3959 |
| 2.412 | 0.2544 | 31 | 2.3363 |
| 2.3866 | 0.5087 | 62 | 2.3277 |
| 2.3204 | 0.7631 | 93 | 2.3012 |
| 2.2843 | 1.0174 | 124 | 2.2682 |
| 2.1748 | 1.2718 | 155 | 2.2425 |
| 1.6885 | 1.2349 | 186 | 2.2849 |
| 1.6834 | 1.4892 | 217 | 2.2825 |