Instructions to use SRafi007/qwen3.5-0.8b-lora-lead-qualifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SRafi007/qwen3.5-0.8b-lora-lead-qualifier with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen3.5-0.8B") model = PeftModel.from_pretrained(base_model, "SRafi007/qwen3.5-0.8b-lora-lead-qualifier") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use SRafi007/qwen3.5-0.8b-lora-lead-qualifier with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SRafi007/qwen3.5-0.8b-lora-lead-qualifier to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SRafi007/qwen3.5-0.8b-lora-lead-qualifier to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for SRafi007/qwen3.5-0.8b-lora-lead-qualifier to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="SRafi007/qwen3.5-0.8b-lora-lead-qualifier", max_seq_length=2048, )
Qwen3.5-0.8B Finetuned for B2B Sales Lead Extraction
This model is a fine-tuned version of unsloth/Qwen3.5-0.8B optimized for extracting structured information from B2B sales messages. It identifies lead types, authority levels, intent, and recommended actions.
Model Details
- Developed by: SRafi007
- Model type: Causal Language Model (LoRA Adapters)
- Language(s): English
- Base Model: Qwen/Qwen3.5-0.8B
- Finetuning Tool: Unsloth
Training Configuration
- Method: LoRA (Low-Rank Adaptation)
- Rank (r): 16
- Alpha: 32
- Target Modules: q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
- Batch Size: 4
- Gradient Accumulation: 4
- Learning Rate: 2e-4
- Epochs: 3.0
- Precision: Float32 (Unsloth auto-fallback)
- Optimizer: AdamW 8-bit
Training Results
- Final Loss: 0.6111
- Global Steps: 213
- Training Runtime: ~14.8 minutes (on Tesla T4)
How to Use
from unsloth import FastLanguageModel
import torch
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "SRafi007/qwen3.5-0.8b-lora",
max_seq_length = 512,
load_in_4bit = True,
)
FastLanguageModel.for_inference(model)
messages = [
{"role": "system", "content": "You are a B2B sales assistant. Analyze the user message and extract structured lead information."},
{"role": "user", "content": "We are a startup exploring pricing and integration with Slack."},
]
inputs = tokenizer.apply_chat_template(messages, tokenize = True, add_generation_prompt = True, return_tensors = "pt").to("cuda")
outputs = model.generate(input_ids = inputs, max_new_tokens = 150)
print(tokenizer.decode(outputs[0], skip_special_tokens = True))
- Downloads last month
- 4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support