Dedicated Endpoints
Run this model inference on single tenant GPU with unmatched speed and reliability at scale.
Container
Run this model inference with full control and performance in your environment.
Get help setting up a custom Dedicated Endpoints.
Talk with our engineer to get a quote for reserved GPU instances with discounts.
README
License: apache-2.0Usage
python
import torchfrom peft import PeftModelfrom transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfigbase = "Qwen/Qwen2.5-7B-Instruct"adapter = "kabesaml/robe-iniesta-lora"bnb = BitsAndBytesConfig(load_in_4bit=True,bnb_4bit_compute_dtype=torch.bfloat16,bnb_4bit_quant_type="nf4",bnb_4bit_use_double_quant=True,)tokenizer = AutoTokenizer.from_pretrained(base)model = AutoModelForCausalLM.from_pretrained(base,quantization_config=bnb,torch_dtype=torch.bfloat16,device_map="auto",attn_implementation="sdpa",)model = PeftModel.from_pretrained(model, adapter)model.eval()
Training details
| SFT | DPO | |
|---|---|---|
| Base | Qwen2.5-7B-Instruct | SFT adapter |
| Method | LoRA (r=32, α=64) | DPO (β=0.1) |
| Data | ~550 ChatML examples | Preference pairs |
| Hardware | Modal A100-40GB | Modal A100-40GB |
Demo
Try it at: kabesaml/robe-chat
Limitations
- Simulates speaking style, not factual knowledge about Robe Iniesta
- May invent dates, album names, collaborators, or anecdotes
- Not affiliated with or endorsed by the artist
Model provider
kabesaml
Model tree
Base
Qwen/Qwen2.5-7B-Instruct
Adapter
this model
Modalities
Input
Text
Output
Text
Pricing
Dedicated Endpoints
View detailsSupported Functionality
Model APIs
Dedicated Endpoints
Container
More information