Instructions to use vishnusureshperumbavoor/vsp_alpaca-instruct-300ep-v2-vml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use vishnusureshperumbavoor/vsp_alpaca-instruct-300ep-v2-vml with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-0.5B") model = PeftModel.from_pretrained(base_model, "vishnusureshperumbavoor/vsp_alpaca-instruct-300ep-v2-vml") - Notebooks
- Google Colab
- Kaggle
vsp_alpaca-instruct-300ep-v2-vml
Fine-tuned LoRA domain model trained on vishnusureshperumbavoor/vsp_alpaca for 300 epochs using Vibe ML Studio.
π Model Details
- Architecture: LoRA Adapter for
Qwen/Qwen2-0.5B - Base Model: Qwen/Qwen2-0.5B
- Dataset:
vishnusureshperumbavoor/vsp_alpaca - Training Epochs:
300 - LoRA Rank ($r$):
16 - LoRA Alpha ($lpha$):
32 - Target Modules:
q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj - Inference Engine: VML Arena, PEFT / Transformers, llama.cpp / GGUF
π οΈ Files Included
adapter_model.safetensors: Low-rank weight matrices.adapter_config.json: PEFT configuration for standard Hugging Face loaders.adapter.gguf: Quantized format for 1-click local native execution in VML Studio & llama.cpp.
π» Quickstart Inference (Python / PEFT)
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model_id = "Qwen/Qwen2-0.5B"
peft_model_id = "vishnusureshperumbavoor/vsp_alpaca-instruct-300ep-v2-vml"
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
base_model = AutoModelForCausalLM.from_pretrained(
base_model_id,
torch_dtype=torch.float16,
device_map="auto"
)
model = PeftModel.from_pretrained(base_model, peft_model_id)
prompt = "Hello! Tell me about yourself."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=128)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
β‘ Powered by Vibe ML Studio
Autonomous agentic fine-tuning, quantization, and local deployment workspace.
- Downloads last month
- 116
Hardware compatibility
Log In to add your hardware
4-bit
Model tree for vishnusureshperumbavoor/vsp_alpaca-instruct-300ep-v2-vml
Base model
Qwen/Qwen2-0.5B