初始化项目,由ModelHub XC社区提供模型
Model: dphn/dolphin-2.6-mistral-7b Source: Original Platform
This commit is contained in:
86
configs/dolphin-mistral-7b.yml
Normal file
86
configs/dolphin-mistral-7b.yml
Normal file
@@ -0,0 +1,86 @@
|
||||
base_model: /workspace/models/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: /workspace/datasets/dolphin/dolphin201.jsonl
|
||||
type: alpaca_w_system.load_open_orca_chatml
|
||||
- path: /workspace/datasets/dolphin-coder-translate.jsonl
|
||||
type: alpaca_w_system.load_open_orca_chatml
|
||||
- path: /workspace/datasets/dolphin-coder-codegen.jsonl
|
||||
type: alpaca_w_system.load_open_orca_chatml
|
||||
- path: /workspace/datasets/data-evol_instruct-decontaminated-converted.jsonl
|
||||
type: alpaca_w_system.load_open_orca_chatml
|
||||
- path: /workspace/datasets/data-oss_instruct-decontaminated-converted.jsonl
|
||||
type: alpaca_w_system.load_open_orca_chatml
|
||||
- path: /workspace/datasets/CapybaraPure_Decontaminated-converted.jsonl
|
||||
type: sharegpt
|
||||
conversation: chatml
|
||||
- path: /workspace/datasets/not_samantha_norefusals.jsonl
|
||||
type: sharegpt
|
||||
conversation: chatml
|
||||
- path: /workspace/datasets/openhermes.json
|
||||
type: alpaca
|
||||
prompt_style: chatml
|
||||
|
||||
dataset_prepared_path: last_run_prepared
|
||||
val_set_size: 0.005
|
||||
output_dir: /workspace/dolphin-2.6-mistral-7b
|
||||
|
||||
sequence_len: 16384
|
||||
sample_packing: true
|
||||
pad_to_sequence_len: true
|
||||
|
||||
wandb_project: dolphin
|
||||
wandb_entity:
|
||||
wandb_watch:
|
||||
wandb_run_id:
|
||||
wandb_log_model:
|
||||
|
||||
gradient_accumulation_steps: 8
|
||||
micro_batch_size: 3
|
||||
num_epochs: 4
|
||||
adam_beta2: 0.95
|
||||
adam_epsilon: 0.00001
|
||||
max_grad_norm: 1.0
|
||||
lr_scheduler: cosine
|
||||
learning_rate: 0.000005
|
||||
optimizer: adamw_bnb_8bit
|
||||
|
||||
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: true
|
||||
|
||||
warmup_steps: 10
|
||||
|
||||
eval_steps: 73
|
||||
eval_table_size:
|
||||
eval_table_max_new_tokens:
|
||||
eval_sample_packing: true
|
||||
saves_per_epoch:
|
||||
save_steps: 73
|
||||
save_total_limit: 2
|
||||
debug:
|
||||
deepspeed: deepspeed/zero3.json
|
||||
weight_decay: 0.1
|
||||
fsdp:
|
||||
fsdp_config:
|
||||
special_tokens:
|
||||
eos_token: "</s>"
|
||||
tokens:
|
||||
- "<|im_start|>"
|
||||
Reference in New Issue
Block a user