Skip to content

Instantly share code, notes, and snippets.

@sahil280114
Created September 28, 2023 20:08
Show Gist options
  • Save sahil280114/7884639a3480efbcc5fedc892a0008eb to your computer and use it in GitHub Desktop.
Save sahil280114/7884639a3480efbcc5fedc892a0008eb to your computer and use it in GitHub Desktop.
axolotl
base_model: openlm-research/open_llama_3b_v2
base_model_config: openlm-research/open_llama_3b_v2
model_type: LlamaForCausalLM
tokenizer_type: LlamaTokenizer
load_in_8bit: false
load_in_4bit: false
strict: false
push_dataset_to_hub:
datasets:
- path: data1.json
ds_type: json
type: completion
field: text
dataset_prepared_path: last_run_prepared
val_set_size: 0.02
adapter:
lora_model_dir:
sequence_len: 2048
sample_packing: true
lora_r:
lora_alpha:
lora_dropout:
lora_target_modules:
lora_target_linear:
lora_fan_in_fan_out:
wandb_project:
wandb_entity:
wandb_watch:
wandb_run_id:
wandb_log_model:
output_dir: ./openllama-out
gradient_accumulation_steps: 8
micro_batch_size: 1
num_epochs: 3
optimizer: adamw_torch
torchdistx_path:
lr_scheduler: cosine
learning_rate: 0.000001
train_on_inputs: false
group_by_length: false
float16: false
bf16: true
fp16: false
tf32: false
gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true
gptq_groupsize:
gptq_model_v1:
warmup_steps: 40
eval_steps:
save_steps:
debug:
deepspeed:
weight_decay: 0.1
fsdp:
fsdp_config:
special_tokens:
bos_token: "<s>"
eos_token: "</s>"
unk_token: "<unk>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment