Views
No views yet
0.4.01base_model: HuggingFaceTB/cosmo-1b
2model_type: LlamaForCausalLM
3tokenizer_type: LlamaTokenizer
4
5load_in_8bit: true
6load_in_4bit: false
7strict: false
8
9datasets:
10 - path: neural-bridge/rag-dataset-12000
11 type: context_qa.load_v2
12 - path: neural-bridge/rag-hallucination-dataset-1000
13 type: context_qa.load_v2
14dataset_prepared_path:
15val_set_size: 0.05
16output_dir: ./rag-lora-out
17
18sequence_len: 2048
19sample_packing: true
20pad_to_sequence_len: true
21
22adapter: lora
23lora_model_dir:
24lora_r: 32
25lora_alpha: 32
26lora_dropout: 0.1
27lora_target_linear: true
28lora_fan_in_fan_out:
29
30wandb_project: Cosmo-1b-RAG-v0.1
31wandb_entity:
32wandb_watch:
33wandb_name:
34wandb_log_model:
35
36gradient_accumulation_steps: 4
37micro_batch_size: 8
38eval_batch_size: 8
39num_epochs: 3
40optimizer: adamw_bnb_8bit
41lr_scheduler: cosine
42learning_rate: 0.0002
43
44train_on_inputs: false
45group_by_length: false
46bf16: auto
47fp16:
48tf32: false
49
50gradient_checkpointing: true
51early_stopping_patience:
52resume_from_checkpoint:
53local_rank:
54logging_steps: 1
55xformers_attention:
56flash_attention: true
57
58warmup_steps: 10
59evals_per_epoch: 4
60saves_per_epoch: 1
61debug:
62deepspeed:
63weight_decay: 0.0
64fsdp:
65fsdp_config:
66special_tokens:
67| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.5873 | 1.02 | 148 | 0.6392 |
| 0.4513 | 2.02 | 296 | 0.6006 |
| 0.422 | 2.95 | 435 | 0.6086 |