Instructions to use fdtn-ai/antares-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fdtn-ai/antares-1b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="fdtn-ai/antares-1b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("fdtn-ai/antares-1b") model = AutoModelForCausalLM.from_pretrained("fdtn-ai/antares-1b", 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 fdtn-ai/antares-1b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "fdtn-ai/antares-1b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fdtn-ai/antares-1b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/fdtn-ai/antares-1b
- SGLang
How to use fdtn-ai/antares-1b 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 "fdtn-ai/antares-1b" \ --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": "fdtn-ai/antares-1b", "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 "fdtn-ai/antares-1b" \ --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": "fdtn-ai/antares-1b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use fdtn-ai/antares-1b with Docker Model Runner:
docker model run hf.co/fdtn-ai/antares-1b
It can't say no?
I ran it though some basic tests and these are the results.
Phase A is genuinely decent β the traces show real CWE-guided exploration (rg for HMAC sinks on a
signature-verification advisory, mutex patterns on a race condition), not flailing. But on every patched repo it still
confidently submitted "vulnerable" files; it never abstained once in 20 runs. Sanity check that validates our rig:
phase A β 0.44 halved by an all-zero phase B lands almost exactly on Cisco's published 0.209 β so our local
Q8/llama-server replication matches their own numbers, and the FP behavior is the model at 1B scale, not our setup.
Practical meaning: it must never gate or verify anything β it answers "where would the vuln be?" even when the answer
is "nowhere." The one defensible niche is ranking candidate files for an advisory already known to apply, fully
offline.
Thanks for running this, and you've got it exactly right: the model has no real abstention behavior yet. It wasn't built for fix-verification, so it answers "where would the vuln be?" even in FP settings, and it shouldn't be used to gate or confirm a fix. Your defensible niche is the one we'd endorse too: ranking candidate files for an advisory already known to apply, offline. Teaching it to say "no" is high on the list for the next iteration, and experiments like yours are what help us get there.
Also good to see the numbers land on our published F1, and that it holds on a Q8/llama-server setup. We actually haven't looked at quantization ourselves, so it's really useful to learn this is how people are deploying the models. We'll be mindful about retaining performance in those settings too, if you're up for sharing more about the quantization setup (llama-server flags, latency you're seeing), we'd love to fold that into how we test for inference speed. Thanks again.
