Run this model with HF Jobs
Run MagmaStudios/VERO-Spark-Instruct on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/MagmaStudios/VERO-Spark-Instruct. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/MagmaStudios/VERO-Spark-Instruct on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/MagmaStudios/VERO-Spark-Instruct. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/MagmaStudios/VERO-Spark-Instruct. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use MagmaStudios/VERO-Spark-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MagmaStudios/VERO-Spark-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MagmaStudios/VERO-Spark-Instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MagmaStudios/VERO-Spark-Instruct", device_map="auto") - PEFT
How to use MagmaStudios/VERO-Spark-Instruct with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MagmaStudios/VERO-Spark-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MagmaStudios/VERO-Spark-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MagmaStudios/VERO-Spark-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MagmaStudios/VERO-Spark-Instruct
- SGLang
How to use MagmaStudios/VERO-Spark-Instruct with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "MagmaStudios/VERO-Spark-Instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MagmaStudios/VERO-Spark-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "MagmaStudios/VERO-Spark-Instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MagmaStudios/VERO-Spark-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use MagmaStudios/VERO-Spark-Instruct with Docker Model Runner:
docker model run hf.co/MagmaStudios/VERO-Spark-Instruct
VERO Spark Instruct
VERO Spark Instruct is a fast, text-only experimental instruction model from Magma Studios, created by Angelo Fontela. It is designed for everyday questions, basic mathematics, Python code, structured answers, and concise task-oriented conversations.
This repository contains the consolidated LoRA adapter, not a fully merged checkpoint. The base model is required at runtime.
Model details
- Base model:
MagmaStudios/VERO-Lkonshu-V2 - Effective base size: approximately 1.12B parameters
- Trainable adapter parameters: 2,973,696
- Adapter method: LoRA / PEFT
- LoRA rank: 8
- LoRA alpha: 16
- LoRA dropout: 0.05
- Target modules:
q_proj,k_proj,v_proj,o_proj - Training objective: loss applied to assistant responses
- Language focus: Spanish and English text
Intended use
Use Spark for lightweight text generation, task assistance, simple calculations, short explanations, basic Python code, and structured text. It can be integrated into a local application, a server, a Gradio Space, or a larger model pipeline.
Limitations
- Spark is text-only in this version and cannot interpret images.
- It does not have live web access by itself. Web search must be implemented by the application around the model.
- It is an experimental adapter and may make mistakes. Validate generated code, JSON, calculations, and factual claims.
- The adapter must be used with its compatible base model.
Quick start
pip install torch transformers peft accelerate safetensors
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_id = "MagmaStudios/VERO-Lkonshu-V2"
adapter_id = "MagmaStudios/VERO-Spark-Instruct"
tokenizer = AutoTokenizer.from_pretrained(adapter_id)
base = AutoModelForCausalLM.from_pretrained(
base_id,
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
device_map="auto",
)
model = PeftModel.from_pretrained(base, adapter_id)
model.eval()
prompt = "Explica brevemente cómo funciona una lista en Python."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
output = model.generate(
**inputs,
max_new_tokens=160,
do_sample=True,
temperature=0.7,
top_p=0.9,
)
print(tokenizer.decode(output[0], skip_special_tokens=True))
Training and adaptation
You can continue training the adapter with PEFT/LoRA using the published training dataset MagmaStudios/VERO-Spark-Instruct-Plus-Training. Keep the base model and adapter licenses compatible before redistributing a derivative model.
For production applications, load the adapter once when the service starts and reuse the model between requests. Do not load the model for every message.
Demo and project
- Interactive demo:
MagmaStudios/VERO-2.0-Models - Organization:
MagmaStudios
Citation
@misc{fontela2026verospark,
title = {VERO Spark Instruct},
author = {Fontela, Angelo and Magma Studios},
year = {2026},
url = {https://huggingface.co/MagmaStudios/VERO-Spark-Instruct}
}
Status
Experimental consolidated LoRA adapter. A fully merged checkpoint may be published later when sufficient storage and compute are available.