CoolFace
Modelpublic

trollek/danube2-1.8b-Synthia-v1.3

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes16downloads
Model Card

h2o-danube2 with ChatML template

This model was first fine-tuned with BAdam on migtissera/Synthia-v1.3 using LLama-Factory.

Quants

Big ups, mradermacher!

Template

jinja
<|im_start|>system
{{system}}<|im_end|>
<|im_start|>user
{{instruction}}<|im_end|>
<|im_start|>assistant
{{response}}<|im_end|>

BAdam config

yaml
### model
model_name_or_path: danube2-base-chatml

### method
stage: sft
do_train: true
finetuning_type: full
use_badam: true
badam_switch_mode: ascending
badam_switch_interval: 50
badam_verbose: 1
badam_start_block: 16
seed: 1080

### dataset
dataset: synthia
template: hermes_chatml
cutoff_len: 8192
overwrite_cache: false
preprocessing_num_workers: 12

### output
output_dir: synthia-chatml-badam
logging_steps: 5
save_steps: 1
save_strategy: epoch
plot_loss: true
overwrite_output_dir: false

### train
per_device_train_batch_size: 2
gradient_accumulation_steps: 8
learning_rate: 0.00001
num_train_epochs: 1
lr_scheduler_type: constant_with_warmup
warmup_ratio: 0.01
bf16: true
flash_attn: fa2

### eval
val_size: 0.01
per_device_eval_batch_size: 1
eval_strategy: steps
eval_steps: 1000

BAdam training results

Training LossEpochStepValidation Loss
0.78950.136010000.7205
0.71530.272020000.7015
0.70240.408030000.7024
0.7520.544040000.6977
0.7270.680050000.6922
0.66160.816060000.6922
0.76280.951970000.6913