Downloads · 30 days
8
11% of all-time downloads
nishit1945/VSM-LLM-3B-Fast
VSM-LLM-3B-Fast is a machine learning model from nishit1945. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
LoRA adapter for Qwen2.5-3B-Instruct, fine-tuned for Value Stream Mapping (VSM) generation.
Downloads · 30 days
8
11% of all-time downloads
All-time downloads
73
Public
Repo size
71.4 MB
Likes
0
Public
Click a slice to open those files.
.safetensors59.9 MB · 79%
From the Hugging Face model README
LoRA adapter for Qwen2.5-3B-Instruct, fine-tuned for Value Stream Mapping (VSM) generation.
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
# Load base model
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-3B-Instruct")
# Load LoRA adapter
model = PeftModel.from_pretrained(base_model, "nishit1945/VSM-LLM-3B-Fast")
# Generate
messages = [
{"role": "system", "content": "You are a VSM expert."},
{"role": "user", "content": "Generate VSM JSON..."}
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt")
outputs = model.generate(inputs, max_new_tokens=400, temperature=0.1)
curl https://router.huggingface.co/hf-inference/models/nishit1945/VSM-LLM-3B-Fast \
-H "Authorization: Bearer YOUR_HF_TOKEN" \
-H "Content-Type: application/json" \
-d '{"inputs": "VSM prompt...", "parameters": {"max_new_tokens": 400, "temperature": 0.1}}'
Apache 2.0