Llama-Gemma-2-27b-CPO_SimPO-iter2

ๆฆ‚่ฆ

google/gemma-2-27bใ‚’ๆ•™ๅธซใ‚ใ‚Šๅญฆ็ฟ’ใจCPO_SimPOใซใ‚ˆใ‚ŠInstruction Tuningใ—ใŸใƒขใƒ‡ใƒซใงใ‚ใ‚‹Aratako/Llama-Gemma-2-27b-CPO_SimPO-iter1ใซๅฏพใ—ใฆใ€ 2ๅ›ž็›ฎใฎCPO_SimPOใ‚’้ฉ็”จใ—ใŸใƒขใƒ‡ใƒซใงใ™ใ€‚

ๆพๅฐพ็ ”ๅคง่ฆๆจก่จ€่ชžใƒขใƒ‡ใƒซ่ฌ›ๅบง2024ใฎใ‚ณใƒณใƒš็”จใฎๆๅ‡บใƒขใƒ‡ใƒซไฝœๆˆใฎไธ€็’ฐใจใ—ใฆไฝœๆˆใƒปๅ…ฌ้–‹ใ—ใฆใ„ใพใ™ใ€‚

This model is built with Llama and Qwen.

ไฝฟ็”จใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆ

ใƒฉใ‚คใ‚ปใƒณใ‚น

ๆœฌใƒขใƒ‡ใƒซใฏๅญฆ็ฟ’ใซๅˆฉ็”จใ—ใŸใƒ‡ใƒผใ‚ฟใฎ้–ขไฟ‚ใงไปฅไธ‹ใฎใƒฉใ‚คใ‚ปใƒณใ‚นใฎๅฝฑ้Ÿฟใ‚’ๅ—ใ‘ใพใ™ใ€‚

  • META LLAMA 3.1 COMMUNITY LICENSEใ‚’็ถ™ๆ‰ฟใ—ใพใ™ใ€‚
  • Gemma Terms of Useใ‚’็ถ™ๆ‰ฟใ—ใพใ™ใ€‚
  • Qwen LICENSE AGREEMENTใฎๅฝฑ้Ÿฟใ‚’ๅ—ใ‘ใพใ™ใ€‚ใƒฉใ‚คใ‚ปใƒณใ‚นใฏ็ถ™ๆ‰ฟใ—ใพใ›ใ‚“ใŒใ€ใ€ŒBuilt with Qwenใ€ใฎใ‚ˆใ†ใชๆ–‡่จ€ใ‚’่จ˜่ผ‰ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚

ๅญฆ็ฟ’ใซ้–ขใ™ใ‚‹่ฉณ็ดฐ

ๆœฌใƒขใƒ‡ใƒซใฎๅญฆ็ฟ’ใซใฏaxolotlใ‚’ไฝฟใ„ใพใ—ใŸใ€‚ใƒ‘ใƒฉใƒกใƒผใ‚ฟ็ญ‰ใฎๅญฆ็ฟ’ใฎ่จญๅฎšใฏไธ‹่จ˜ใฎ่จญๅฎšใƒ•ใ‚กใ‚คใƒซใ‚’ใ”็ขบ่ชใใ ใ•ใ„ใ€‚

Built with Axolotl

See axolotl config

axolotl version: 0.5.2

base_model: Aratako/Llama-Gemma-2-27b-CPO_SimPO-iter1
model_type: AutoModelForCausalLM
tokenizer_type: AutoTokenizer

hub_model_id: Aratako/fft-simpo3-iterative-iter2
hub_strategy: "end"
push_dataset_to_hub:
hf_use_auth_token: true

plugins:
  - axolotl.integrations.liger.LigerPlugin
liger_cross_entropy: false
liger_rope: true
liger_rms_norm: true
liger_swiglu: true
liger_fused_linear_cross_entropy: true

load_in_8bit: false
load_in_4bit: false
strict: false

chat_template: tokenizer_default
rl: simpo
rl_beta: 10.0
cpo_alpha: 0.05
simpo_gamma: 5.0
max_prompt_length: 512
max_length: 2048


datasets:
  - path: Aratako/iterative-dpo-data-for-SimPO-iter2
    type: gemma.custom
    train_on_split: train


shuffle_merged_datasets: true
dataset_prepared_path: /workspace/data/fft-simpo3-iterative-iter2-data
output_dir: /workspace/data/27b-fft-simpo3-iterative-iter2

sequence_len: 2048
sample_packing: false
eval_sample_packing: false
pad_to_sequence_len: true

adapter:
lora_model_dir:
lora_r:
lora_alpha:
lora_dropout:
lora_target_linear:
lora_fan_in_fan_out:

wandb_project: 27b-fft
wandb_entity: aratako-lm
wandb_watch:
wandb_name: simpo3-iter2
wandb_log_model:

gradient_accumulation_steps: 8
micro_batch_size: 2
num_epochs: 1
optimizer: paged_adamw_8bit
lr_scheduler: cosine
cosine_min_lr_ratio: 0.1
learning_rate: 3e-7

train_on_inputs: false
group_by_length: false
bf16: auto
fp16:
tf32: false

gradient_checkpointing: true
early_stopping_patience:
auto_resume_from_checkpoints: true
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true

save_strategy: steps
save_steps: 100
save_total_limit: 1

warmup_steps: 20
eval_steps:
eval_batch_size:
eval_table_size:
eval_max_new_tokens:
debug:
deepspeed: /workspace/axolotl/deepspeed_configs/zero3_bf16.json
weight_decay: 0.01
fsdp:
fsdp_config:
special_tokens:
  pad_token: <pad>

Downloads last month
11
Safetensors
Model size
27B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Aratako/Llama-Gemma-2-27b-CPO_SimPO-iter2

Finetuned
(1)
this model
Finetunes
1 model
Quantizations
2 models