Downloads · 30 days
7
7% of all-time downloads
LainBear/dolphin-qwen2-72b-lainbear
dolphin-qwen2-72b-lainbear is a text generation model from LainBear. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as other.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
7
7% of all-time downloads
All-time downloads
100
Public
Repo size
27 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1.7 GB · 99%
From the Hugging Face model README
axolotl version: 0.13.0.dev0
# Axolotl config for finetuning Dolphin 2.9.2 Qwen2-72B
# Optimized for QLoRA on single H100 SXM 80GB on Vast.ai
base_model: cognitivecomputations/dolphin-2.9.2-qwen2-72b
# Or use local path if you have it downloaded:
# base_model: ./dolphin-2.9.2-qwen2-72b
# Model loading configuration
trust_remote_code: true
load_in_8bit: false
load_in_4bit: true # QLoRA requires 4-bit quantization
# Dataset configuration - Discord DMs in chat format
chat_template: chatml # Dolphin uses ChatML format
datasets:
- path: discord_training_data.jsonl # Your Discord DM training data
type: chat_template
field_messages: conversations # Field containing the conversation list
message_property_mappings:
role: from
content: value
dataset_prepared_path:
val_set_size: 0.05
output_dir: ./outputs/dolphin-qwen2-72b-finetune
# Sequence and packing configuration
sequence_len: 2048 # Adjust based on your data (max 32768 for Qwen2)
sample_packing: true # Efficient training by packing multiple samples
eval_sample_packing: true
# LoRA configuration
adapter: qlora
lora_model_dir:
lora_r: 32 # Rank - higher = more parameters (8, 16, 32, 64)
lora_alpha: 64 # Typically 2x lora_r
lora_dropout: 0.05
lora_target_linear: true # Target all linear layers
# Weights & Biases logging (optional)
wandb_project: # Set to your W&B project name
wandb_entity:
wandb_watch:
wandb_name:
wandb_log_model:
# Training hyperparameters
gradient_accumulation_steps: 4 # H100 SXM can handle more, reduced from 8
micro_batch_size: 2 # H100 80GB has enough VRAM for batch size 2
num_epochs: 6 # Total 6 epochs (already did 2)
optimizer: adamw_torch_fused # Fast optimizer
lr_scheduler: cosine
learning_rate: 0.0002 # Conservative for large models
# Precision settings
bf16: auto # Use bfloat16 if available
tf32: true # Enable TF32 for faster training on Ampere+ GPUs
# Memory optimization
gradient_checkpointing: true
gradient_checkpointing_kwargs:
use_reentrant: false
flash_attention: true # Faster and more memory efficient attention
# Training schedule
warmup_ratio: 0.1
evals_per_epoch: 4
saves_per_epoch: 2 # Increased for Vast.ai - save more frequently in case of interruption
logging_steps: 1
weight_decay: 0.0
# Checkpointing
resume_from_checkpoint: # Can't resume from LoRA, will train from scratch
# save_first_step: true # Uncomment to validate checkpoint saving
# IMPORTANT FOR VAST.AI: Upload to HuggingFace Hub for persistence
# Vast.ai storage is not persistent after instance stops!
# REPLACE "your-username" with your actual HuggingFace username:
hub_model_id: LainBear/dolphin-qwen2-72b-lainbear
hub_strategy: every_save # Auto-upload after each checkpoint
hub_private_repo: false # Public repo
# Special tokens (uncomment if needed)
# special_tokens:
# bos_token: "<|im_start|>"
# eos_token: "<|im_end|>"
# pad_token: "<|im_end|>"
</details><br>
This model is a fine-tuned version of cognitivecomputations/dolphin-2.9.2-qwen2-72b on the discord_training_data.jsonl dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Active (gib) | Allocated (gib) | Reserved (gib) |
|---|---|---|---|---|---|---|
| No log | 0 | 0 | 4.9408 | 46.67 | 46.67 | 67.84 |
| 3.3802 | 0.2533 | 24 | 3.4934 | 49.84 | 49.84 | 70.01 |
| 3.4756 | 0.5066 | 48 | 3.3338 | 49.84 | 49.84 | 70.01 |
| 3.4145 | 0.7599 | 72 | 3.2766 | 49.84 | 49.84 | 70.01 |
| 3.1067 | 1.0106 | 96 | 3.2462 | 49.84 | 49.84 | 70.01 |
| 3.1283 | 1.2639 | 120 | 3.2735 | 49.84 | 49.84 | 70.01 |
| 3.1105 | 1.5172 | 144 | 3.2446 | 49.84 | 49.84 | 70.01 |
| 3.0873 | 1.7704 | 168 | 3.2421 | 49.84 | 49.84 | 70.01 |
| 2.5379 | 2.0211 | 192 | 3.2566 | 49.84 | 49.84 | 70.01 |
| 2.3197 | 2.2744 | 216 | 3.4524 | 49.84 | 49.84 | 70.01 |
| 2.4355 | 2.5277 | 240 | 3.4352 | 49.84 | 49.84 | 70.01 |
| 2.5272 | 2.7810 | 264 | 3.4262 | 49.84 | 49.84 | 70.01 |
| 1.7796 | 3.0317 | 288 | 3.8161 | 49.84 | 49.84 | 70.01 |
| 1.2616 | 3.2850 | 312 | 3.9851 | 49.84 | 49.84 | 70.01 |
| 1.5736 | 3.5383 | 336 | 4.0202 | 49.84 | 49.84 | 70.01 |
| 1.5432 | 3.7916 | 360 | 4.0386 | 49.84 | 49.84 | 70.01 |
| 0.6981 | 4.0422 | 384 | 4.5580 | 49.84 | 49.84 | 70.01 |
| 0.7842 | 4.2955 | 408 | 4.8202 | 49.84 | 49.84 | 70.01 |
| 0.6652 | 4.5488 | 432 | 4.9037 | 49.84 | 49.84 | 70.01 |
| 0.727 | 4.8021 | 456 | 4.8868 | 49.84 | 49.84 | 70.01 |
| 0.4006 | 5.0528 | 480 | 5.0783 | 49.84 | 49.84 | 70.01 |
| 0.3858 | 5.3061 | 504 | 5.4683 | 49.84 | 49.84 | 70.01 |
| 0.4903 | 5.5594 | 528 | 5.5089 | 49.84 | 49.84 | 70.01 |
| 0.3464 | 5.8127 | 552 | 5.5116 | 49.84 | 49.84 | 70.01 |