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
Delete uncertainty_training_manifest.json
Browse files
uncertainty_training_manifest.json
DELETED
|
@@ -1,105 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"adapter_exported": true,
|
| 3 |
-
"auto_lora_from_ia3": false,
|
| 4 |
-
"best_epoch": 2,
|
| 5 |
-
"best_quality_score": 0.8625935807221907,
|
| 6 |
-
"dataset_summary": {
|
| 7 |
-
"eval_modes": {
|
| 8 |
-
"conflicting_evidence": 5,
|
| 9 |
-
"evidence_gap": 5,
|
| 10 |
-
"exec_required": 5,
|
| 11 |
-
"high_risk": 5,
|
| 12 |
-
"low_uncertainty": 5,
|
| 13 |
-
"patch_pending": 5,
|
| 14 |
-
"reverse_engineering_ambiguity": 5,
|
| 15 |
-
"self_check_failure": 5,
|
| 16 |
-
"spec_mismatch": 5,
|
| 17 |
-
"validator_negation": 5,
|
| 18 |
-
"worktree_conflict": 5
|
| 19 |
-
},
|
| 20 |
-
"eval_size": 55,
|
| 21 |
-
"train_modes": {
|
| 22 |
-
"conflicting_evidence": 14,
|
| 23 |
-
"evidence_gap": 14,
|
| 24 |
-
"exec_required": 14,
|
| 25 |
-
"high_risk": 14,
|
| 26 |
-
"low_uncertainty": 14,
|
| 27 |
-
"patch_pending": 14,
|
| 28 |
-
"reverse_engineering_ambiguity": 14,
|
| 29 |
-
"self_check_failure": 14,
|
| 30 |
-
"spec_mismatch": 14,
|
| 31 |
-
"validator_negation": 14,
|
| 32 |
-
"worktree_conflict": 14
|
| 33 |
-
},
|
| 34 |
-
"train_size": 154
|
| 35 |
-
},
|
| 36 |
-
"epochs_completed": 4,
|
| 37 |
-
"eval_metrics": {
|
| 38 |
-
"adapter_exported": true,
|
| 39 |
-
"auto_lora_from_ia3": false,
|
| 40 |
-
"best_epoch": 2,
|
| 41 |
-
"best_quality_score": 0.8625935807221907,
|
| 42 |
-
"count": 55,
|
| 43 |
-
"mae": {
|
| 44 |
-
"u_answer": 0.15174226462841034,
|
| 45 |
-
"u_evidence": 0.19610758125782013,
|
| 46 |
-
"u_exec": 0.18561214208602905,
|
| 47 |
-
"u_risk": 0.1553734689950943,
|
| 48 |
-
"u_spec": 0.21633382141590118
|
| 49 |
-
},
|
| 50 |
-
"mean_mae": 0.18103384971618652,
|
| 51 |
-
"mean_rmse": 0.24169571697711945,
|
| 52 |
-
"moderate_accuracy": 0.6727272727272727,
|
| 53 |
-
"peft_method": "lora_narrow",
|
| 54 |
-
"quality_score": 0.8625935807221907,
|
| 55 |
-
"rmse": {
|
| 56 |
-
"u_answer": 0.18724055588245392,
|
| 57 |
-
"u_evidence": 0.22527915239334106,
|
| 58 |
-
"u_exec": 0.25238174200057983,
|
| 59 |
-
"u_risk": 0.20667441189289093,
|
| 60 |
-
"u_spec": 0.3369026482105255
|
| 61 |
-
},
|
| 62 |
-
"tight_accuracy": 0.4,
|
| 63 |
-
"used_peft": true,
|
| 64 |
-
"weighted_mae": 0.18083095811830807,
|
| 65 |
-
"weighted_rmse": 0.24125460771003793
|
| 66 |
-
},
|
| 67 |
-
"load_meta": {
|
| 68 |
-
"chosen_class": "AutoModelForCausalLM",
|
| 69 |
-
"hidden_size": 2048,
|
| 70 |
-
"quantization_mode": "4bit"
|
| 71 |
-
},
|
| 72 |
-
"peft_method": "lora_narrow",
|
| 73 |
-
"requested_method": "lora_narrow",
|
| 74 |
-
"requested_target_modules": [
|
| 75 |
-
"uncertainty_head",
|
| 76 |
-
"uncertainty_head.calibration_mlp",
|
| 77 |
-
"uncertainty_head.proj"
|
| 78 |
-
],
|
| 79 |
-
"resolved_target_modules": [
|
| 80 |
-
"surface_host.uncertainty_head.calibration_mlp",
|
| 81 |
-
"surface_host.uncertainty_head.proj"
|
| 82 |
-
],
|
| 83 |
-
"selected_target_modules": [
|
| 84 |
-
"uncertainty_head",
|
| 85 |
-
"uncertainty_head.calibration_mlp",
|
| 86 |
-
"uncertainty_head.proj"
|
| 87 |
-
],
|
| 88 |
-
"status": "trained",
|
| 89 |
-
"train_metrics": {
|
| 90 |
-
"adapter_exported": true,
|
| 91 |
-
"auto_lora_from_ia3": false,
|
| 92 |
-
"best_epoch": 2,
|
| 93 |
-
"best_quality_score": 0.8625935807221907,
|
| 94 |
-
"epochs_completed": 4,
|
| 95 |
-
"loss": 0.009006613283418119,
|
| 96 |
-
"micro_batches": 154,
|
| 97 |
-
"micro_batches_total": 616,
|
| 98 |
-
"optimizer_steps": 10,
|
| 99 |
-
"optimizer_steps_total": 40,
|
| 100 |
-
"peft_method": "lora_narrow",
|
| 101 |
-
"used_peft": true
|
| 102 |
-
},
|
| 103 |
-
"unresolved_target_modules": [],
|
| 104 |
-
"used_peft": true
|
| 105 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|