Text Generation
Transformers
Safetensors
PEFT
English
Chinese
qwen3_5
image-text-to-text
veriloop
veriloop-coder
code
coding-agent
software-engineering
repository-understanding
tool-use
lora
harness-engineering
evidence-binding
rollback
uncertainty-calibration
long-context
open-weights
conversational
Instructions to use veriloop-lab/veriloop-coder-e1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use veriloop-lab/veriloop-coder-e1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="veriloop-lab/veriloop-coder-e1") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("veriloop-lab/veriloop-coder-e1") model = AutoModelForImageTextToText.from_pretrained("veriloop-lab/veriloop-coder-e1") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - PEFT
How to use veriloop-lab/veriloop-coder-e1 with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use veriloop-lab/veriloop-coder-e1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "veriloop-lab/veriloop-coder-e1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "veriloop-lab/veriloop-coder-e1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/veriloop-lab/veriloop-coder-e1
- SGLang
How to use veriloop-lab/veriloop-coder-e1 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 "veriloop-lab/veriloop-coder-e1" \ --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": "veriloop-lab/veriloop-coder-e1", "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 "veriloop-lab/veriloop-coder-e1" \ --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": "veriloop-lab/veriloop-coder-e1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use veriloop-lab/veriloop-coder-e1 with Docker Model Runner:
docker model run hf.co/veriloop-lab/veriloop-coder-e1
| { | |
| "epochs": [ | |
| { | |
| "epoch": 1, | |
| "eval_metrics": { | |
| "avg_binary_accuracy": 0.795, | |
| "confirmation_required_accuracy": 0.8, | |
| "count": 25, | |
| "eval_batches": 25, | |
| "eval_loss": 7.704372234344483, | |
| "mode_accuracy": 0.44, | |
| "permission_bit_accuracy": 0.850909090909091, | |
| "precondition_ok_accuracy": 0.76, | |
| "quality_score": 0.21877532557574186, | |
| "rollback_supported_accuracy": 0.72, | |
| "schema_ok_accuracy": 0.76, | |
| "session_required_accuracy": 1.0, | |
| "tool_accuracy": 0.24, | |
| "trigger_accuracy": 0.76, | |
| "validator_required_accuracy": 0.8, | |
| "worktree_required_accuracy": 0.76 | |
| }, | |
| "improved": true, | |
| "quality_score": 0.21877532557574186, | |
| "train_metrics": { | |
| "loss": 0.5388983534915107, | |
| "micro_batches": 70, | |
| "optimizer_steps": 5 | |
| } | |
| }, | |
| { | |
| "epoch": 2, | |
| "eval_metrics": { | |
| "avg_binary_accuracy": 0.81, | |
| "confirmation_required_accuracy": 0.8, | |
| "count": 25, | |
| "eval_batches": 25, | |
| "eval_loss": 7.129253711700439, | |
| "mode_accuracy": 0.48, | |
| "permission_bit_accuracy": 0.8545454545454545, | |
| "precondition_ok_accuracy": 0.76, | |
| "quality_score": 0.4400157397790389, | |
| "rollback_supported_accuracy": 0.8, | |
| "schema_ok_accuracy": 0.76, | |
| "session_required_accuracy": 1.0, | |
| "tool_accuracy": 0.44, | |
| "trigger_accuracy": 0.76, | |
| "validator_required_accuracy": 0.8, | |
| "worktree_required_accuracy": 0.8 | |
| }, | |
| "improved": true, | |
| "quality_score": 0.4400157397790389, | |
| "train_metrics": { | |
| "loss": 0.4655745736190251, | |
| "micro_batches": 70, | |
| "optimizer_steps": 5 | |
| } | |
| }, | |
| { | |
| "epoch": 3, | |
| "eval_metrics": { | |
| "avg_binary_accuracy": 0.81, | |
| "confirmation_required_accuracy": 0.8, | |
| "count": 25, | |
| "eval_batches": 25, | |
| "eval_loss": 6.935494079589843, | |
| "mode_accuracy": 0.48, | |
| "permission_bit_accuracy": 0.8545454545454545, | |
| "precondition_ok_accuracy": 0.76, | |
| "quality_score": 0.4229221342606978, | |
| "rollback_supported_accuracy": 0.8, | |
| "schema_ok_accuracy": 0.76, | |
| "session_required_accuracy": 1.0, | |
| "tool_accuracy": 0.4, | |
| "trigger_accuracy": 0.76, | |
| "validator_required_accuracy": 0.8, | |
| "worktree_required_accuracy": 0.8 | |
| }, | |
| "improved": false, | |
| "quality_score": 0.4229221342606978, | |
| "train_metrics": { | |
| "loss": 0.43205853487764084, | |
| "micro_batches": 70, | |
| "optimizer_steps": 5 | |
| } | |
| }, | |
| { | |
| "epoch": 4, | |
| "eval_metrics": { | |
| "avg_binary_accuracy": 0.81, | |
| "confirmation_required_accuracy": 0.8, | |
| "count": 25, | |
| "eval_batches": 25, | |
| "eval_loss": 6.897225952148437, | |
| "mode_accuracy": 0.56, | |
| "permission_bit_accuracy": 0.8545454545454545, | |
| "precondition_ok_accuracy": 0.76, | |
| "quality_score": 0.46349615617231893, | |
| "rollback_supported_accuracy": 0.8, | |
| "schema_ok_accuracy": 0.76, | |
| "session_required_accuracy": 1.0, | |
| "tool_accuracy": 0.44, | |
| "trigger_accuracy": 0.76, | |
| "validator_required_accuracy": 0.8, | |
| "worktree_required_accuracy": 0.8 | |
| }, | |
| "improved": true, | |
| "quality_score": 0.46349615617231893, | |
| "train_metrics": { | |
| "loss": 0.42175399448190415, | |
| "micro_batches": 70, | |
| "optimizer_steps": 5 | |
| } | |
| }, | |
| { | |
| "epoch": 5, | |
| "eval_metrics": { | |
| "avg_binary_accuracy": 0.81, | |
| "confirmation_required_accuracy": 0.8, | |
| "count": 25, | |
| "eval_batches": 25, | |
| "eval_loss": 6.89590030670166, | |
| "mode_accuracy": 0.56, | |
| "permission_bit_accuracy": 0.8545454545454545, | |
| "precondition_ok_accuracy": 0.76, | |
| "quality_score": 0.4635160408540206, | |
| "rollback_supported_accuracy": 0.8, | |
| "schema_ok_accuracy": 0.76, | |
| "session_required_accuracy": 1.0, | |
| "tool_accuracy": 0.44, | |
| "trigger_accuracy": 0.76, | |
| "validator_required_accuracy": 0.8, | |
| "worktree_required_accuracy": 0.8 | |
| }, | |
| "improved": false, | |
| "quality_score": 0.4635160408540206, | |
| "train_metrics": { | |
| "loss": 0.4198248211826597, | |
| "micro_batches": 70, | |
| "optimizer_steps": 5 | |
| } | |
| } | |
| ] | |
| } |