70B seems to have a bit more GPT-ish terminology than 12B, but also less slopping. It is still less than other 70Bs.
Temp 1.25 seems to improve the prose, recommended sampler:
image/png
It seems to be way more coherent and aware of whats going on as well as more intelligent.
The model seems to give out what you give in, sloppy card or first message leads to more of the same. The model is quite good at taking a human written card with stuff like conversational narration, and then continue that style.
It was trained on 4xH100 NVL for 6 hours using Lora+. I still want to train it further because it seems like the more data we put in, the better the model gets at writing and roleplaying.
Test and see I guess.
Me and my teammate are sick rn xD and I am currently working with another teammate on some good stuff, we can finally break away from AI generated datasets, at least for the most part. Once it is done, the 8B, 12B and 70B will be used with that dataset to train with. I hope we succeed at this, it will make me so, so happy.
We are also experimenting with RLHF, KTO and PPO mainly.
When we do a proper release, it will have a lot of writeup.
Datasets used:
Name, sample size, whether to force RP format, whether to apply len limit (for the first message, seq len limit is always applied), unkown_boolean, minimum message count, system message
Reddit WP
["reddit_writing_prompts.jsonl", 0.4, True, True, False, 2, "Write a story based on prompt provided by user below. Mode: SFW"],
Synth story
["writing-struct-deslopped.json", 0.1, False, True, False, 2, ""],
Claude RP 0.8
Thank you Nopm, Gryphe (double thanks), and kalomaze, and any other people involved in making those datasets. r/DirtyWritingPrompts was dropped because it would induce undesirable features. No worries though, NSFW will be stronger than ever lmao.
We used 10,000 rows, so take those ratios, normalise them so they add up to 1 and then that will be the division of the dataset. You can find all datasets by googling them, they are on huggingface, Claude RP is c2 logs but we filtered it ourselves.
Axolotl Config:
yaml
1# Model2base_model: meta-llama/Meta-Llama-3.1-70B-Instruct
3model_type: LlamaForCausalLM
4tokenizer_type: AutoTokenizer
5trust_remote_code:true67# Output and HuggingFace8output_dir: /workspace/data/train-results/trained_model
9hub_model_id:10hf_use_auth_token:true11hub_strategy:"all_checkpoints"1213# WandB14wandb_project: huggingface
15wandb_entity:1617# Data18chat_template: llama3
19train_on_inputs:false20group_by_length:true21datasets:22-path:23type: sharegpt
24roles:25input:26- system
27- user
28output:29- assistant
30## Evaluation31val_set_size:0.0132evals_per_epoch:433eval_table_size:34eval_max_new_tokens:1283536# Technical aspects37sequence_len:819238save_safetensors:true39saves_per_epoch:240logging_steps:141special_tokens:42pad_token: <|end_of_text|>4344# Quantization45bf16: auto
46fp16:47tf32:false48## For LoRA49load_in_8bit:false50load_in_4bit:true5152# LoRA53adapter: qlora # or qlora54lora_model_dir:55lora_r:25656lora_alpha:25657lora_dropout:0.158lora_target_linear:true59lora_fan_in_fan_out:60lora_target_modules:6162loraplus_lr_ratio:863loraplus_lr_embedding:6465# Training hyperparameters66# max_steps:67num_epochs:1# TODO Perhaps reduce this because LORA+ only needs 1 epoch.6869# Anti Overfit and Stability70weight_decay:0.0171max_grad_norm:1.0# Might increase this to 15 or something.7273## Learning Rate74warmup_ratio:0.0575learning_rate:0.00000876lr_scheduler: cosine_with_min_lr
77lr_scheduler_kwargs:78min_lr:0.000002479optimizer: paged_adamw_8bit # usually adamw_torch or paged_adamw_8bit8081## Batch Size82gradient_accumulation_steps:183micro_batch_size:1# Batch size per gpu = micro_batch_size * gradient_accumulation_steps84eval_batch_size:18586# Optimizations87pad_to_sequence_len:true88sample_packing:true89eval_sample_packing:true90flash_attention:true91xformers_attention:92gradient_checkpointing:"unsloth"93gradient_checkpointing_kwargs:94use_reentrant:true95local_rank:96deepspeed: /workspace/axolotl/deepspeed_configs/zero3_bf16.json # Only use with multi gpu # _bf16_cpuoffload_all97# Misc98early_stopping_patience:99debug: