Skip to content

Instantly share code, notes, and snippets.

@RicardoDominguez
Created January 10, 2024 20:10
Show Gist options
  • Save RicardoDominguez/d2763778e08eb33e3ff1aafade508e4d to your computer and use it in GitHub Desktop.
Save RicardoDominguez/d2763778e08eb33e3ff1aafade508e4d to your computer and use it in GitHub Desktop.
axolotl - mistral 7b on alpaca_2k_test
base_model: mistralai/Mistral-7B-v0.1
model_type: MistralForCausalLM
tokenizer_type: LlamaTokenizer
is_mistral_derived_model: true
load_in_8bit: false
load_in_4bit: false
strict: false
datasets:
- path: mhenrichsen/alpaca_2k_test
type: alpaca
dataset_prepared_path:
val_set_size: 0
output_dir: ./out
sequence_len: 8192
sample_packing: true
pad_to_sequence_len: true
wandb_project: test-lr
wandb_entity:
wandb_watch:
wandb_run_id: latest-run
wandb_log_model:
cosine_min_lr_ratio: 0.1
gradient_accumulation_steps: 1
micro_batch_size: 1
num_epochs: 1
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.000005
train_on_inputs: false
group_by_length: 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: false
warmup_steps: 10
eval_steps: 0
eval_sample_packing: false
eval_table_size:
eval_table_max_new_tokens: 128
save_steps:
debug:
deepspeed:
weight_decay: 0.0
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