kareem2808/ADHD-Synthetic-Dataset
Viewer β’ Updated β’ 4.9k β’ 26
How to use kareem2808/Qwen2.5-3B-ADHD-Cosine with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("kareem2808/Qwen2.5-3B-ADHD-Cosine", device_map="auto")This model is a LoRA adapter finetuned from unsloth/Qwen2.5-3B-Instruct-bnb-4bit using Unsloth and TRL. It is optimized to act as a companion assistant for neurodivergent individuals, specifically tailored to handle ADHD-related challenges.
This specific adapter was trained using a Cosine Learning Rate Scheduler[cite: 1].
max_seq_length capped at 1024 tokens (Actual peak distribution was 719 tokens)[cite: 1].| Evaluation Metric | Value | Status |
|---|---|---|
| Final Training Loss | 1.203900[cite: 1] | Superior Training Loss[cite: 1] |
| Final Validation Loss | 1.388691[cite: 1] | Stable Curve |
| Generalization Gap | 0.184791[cite: 1] | Optimal Health (< 0.20)[cite: 1] |
per_device_train_batch_size: 2[cite: 1]gradient_accumulation_steps: 4 (Effective Batch Size = 8)[cite: 1]learning_rate: 2e-4[cite: 1]weight_decay: 0.01[cite: 1]optim: adamw_8bit[cite: 1]seed: 3407[cite: 1]from unsloth import FastLanguageModel
import torch
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "kareem2808/Qwen2.5-3B-ADHD-Cosine",
max_seq_length = 1024,
load_in_4bit = True,
)
FastLanguageModel.for_inference(model)
Base model
Qwen/Qwen2.5-3B