mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-06 09:20:33 +00:00
6c4f449b7a
* feat: falcon config * feat: mpt config * chore: gitignore * refactor: step calculation * fix: attention mask + shuffle on epoch end * fix: return tensors * fix: wait for everyone * chore: config * chore: ds config * fix: remove ccols * fix: logging and saving * chore: add einops
35 lines
610 B
YAML
35 lines
610 B
YAML
# model/tokenizer
|
|
model_name: "openlm-research/open_llama_7b"
|
|
tokenizer_name: "openlm-research/open_llama_7b"
|
|
gradient_checkpointing: true
|
|
save_name: "nomic-ai/gpt4all-openllama"
|
|
|
|
# dataset
|
|
streaming: false
|
|
num_proc: 64
|
|
dataset_path: "nomic-ai/gpt4all-updated"
|
|
revision: null
|
|
max_length: 1024
|
|
batch_size: 32
|
|
|
|
# train dynamics
|
|
lr: 2.0e-5
|
|
min_lr: 0
|
|
weight_decay: 0.0
|
|
eval_every: 500
|
|
log_every: 10
|
|
save_every: 1000
|
|
log_grads_every: 500
|
|
output_dir: "ckpts/falcon"
|
|
checkpoint: null
|
|
lora: false
|
|
warmup_steps: 500
|
|
num_epochs: 3
|
|
|
|
# logging
|
|
wandb: true
|
|
wandb_entity: "gpt4all"
|
|
wandb_project_name: "gpt4all"
|
|
seed: 42
|
|
|