Text Generation
Transformers
Safetensors
English
qwen3
security
cve
vulnerability
code
agent
conversational
text-generation-inference
Instructions to use Luoberta/Abacus-cve with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Luoberta/Abacus-cve with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Luoberta/Abacus-cve") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Luoberta/Abacus-cve") model = AutoModelForCausalLM.from_pretrained("Luoberta/Abacus-cve", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Luoberta/Abacus-cve with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Luoberta/Abacus-cve" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Luoberta/Abacus-cve", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Luoberta/Abacus-cve
- SGLang
How to use Luoberta/Abacus-cve 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 "Luoberta/Abacus-cve" \ --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": "Luoberta/Abacus-cve", "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 "Luoberta/Abacus-cve" \ --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": "Luoberta/Abacus-cve", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Luoberta/Abacus-cve with Docker Model Runner:
docker model run hf.co/Luoberta/Abacus-cve
Rename model to Abacus-cve
Browse files
README.md
CHANGED
|
@@ -13,13 +13,13 @@ tags:
|
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
---
|
| 15 |
|
| 16 |
-
#
|
| 17 |
|
| 18 |
-
**
|
| 19 |
|
| 20 |
## Model Description
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
## Training Results
|
| 25 |
|
|
@@ -28,7 +28,7 @@ Fine-tuning yields dramatic improvements across security benchmarks:
|
|
| 28 |
| Model | LiveCVEBench | PatchEval | Terminal-Bench | Avg |
|
| 29 |
|-------|:------------:|:---------:|:--------------:|:---:|
|
| 30 |
| Qwen3-32B (base) | 5.29 | 5.66 | 12.50 | 7.82 |
|
| 31 |
-
| **
|
| 32 |
| | | | | |
|
| 33 |
| Qwen3-Coder-30B | 10.58 | 9.91 | 13.75 | 11.41 |
|
| 34 |
| Qwen3-Coder-480B | 19.58 | 19.34 | 36.25 | 25.06 |
|
|
@@ -49,8 +49,8 @@ Fine-tuning yields dramatic improvements across security benchmarks:
|
|
| 49 |
```python
|
| 50 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 51 |
|
| 52 |
-
model = AutoModelForCausalLM.from_pretrained("Luoberta/
|
| 53 |
-
tokenizer = AutoTokenizer.from_pretrained("Luoberta/
|
| 54 |
```
|
| 55 |
|
| 56 |
## Related Resources
|
|
|
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
---
|
| 15 |
|
| 16 |
+
# Abacus-cve
|
| 17 |
|
| 18 |
+
**Abacus-cve** (Live Agent Coder) is a 32B code model fine-tuned on [CVE-Factory agent traces](https://huggingface.co/datasets/Luoberta/cve_train) for security vulnerability fixing tasks.
|
| 19 |
|
| 20 |
## Model Description
|
| 21 |
|
| 22 |
+
Abacus-cve is based on **Qwen3-32B** and fine-tuned using **4,078 distilled agent traces** from ~900 CVE reproduction tasks. The traces were generated using **Claude Opus 4.5** with a **Mini SWE-Agent** harness through the [CVE-Factory](https://github.com/livecvebench/CVE-Factory) pipeline.
|
| 23 |
|
| 24 |
## Training Results
|
| 25 |
|
|
|
|
| 28 |
| Model | LiveCVEBench | PatchEval | Terminal-Bench | Avg |
|
| 29 |
|-------|:------------:|:---------:|:--------------:|:---:|
|
| 30 |
| Qwen3-32B (base) | 5.29 | 5.66 | 12.50 | 7.82 |
|
| 31 |
+
| **Abacus-cve (Ours)** | **35.79** | **23.58** | **28.75** | **29.37** |
|
| 32 |
| | | | | |
|
| 33 |
| Qwen3-Coder-30B | 10.58 | 9.91 | 13.75 | 11.41 |
|
| 34 |
| Qwen3-Coder-480B | 19.58 | 19.34 | 36.25 | 25.06 |
|
|
|
|
| 49 |
```python
|
| 50 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 51 |
|
| 52 |
+
model = AutoModelForCausalLM.from_pretrained("Luoberta/Abacus-cve")
|
| 53 |
+
tokenizer = AutoTokenizer.from_pretrained("Luoberta/Abacus-cve")
|
| 54 |
```
|
| 55 |
|
| 56 |
## Related Resources
|