Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
specification-generation
code-generation
lean4
autoformalization
formal-verification
reinforcement-learning
conversational
Instructions to use eth-algopt/AuXSpec-9B-RL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eth-algopt/AuXSpec-9B-RL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="eth-algopt/AuXSpec-9B-RL") 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)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("eth-algopt/AuXSpec-9B-RL") model = AutoModelForMultimodalLM.from_pretrained("eth-algopt/AuXSpec-9B-RL", device_map="auto") 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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use eth-algopt/AuXSpec-9B-RL with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "eth-algopt/AuXSpec-9B-RL" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eth-algopt/AuXSpec-9B-RL", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/eth-algopt/AuXSpec-9B-RL
- SGLang
How to use eth-algopt/AuXSpec-9B-RL 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 "eth-algopt/AuXSpec-9B-RL" \ --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": "eth-algopt/AuXSpec-9B-RL", "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 "eth-algopt/AuXSpec-9B-RL" \ --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": "eth-algopt/AuXSpec-9B-RL", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use eth-algopt/AuXSpec-9B-RL with Docker Model Runner:
docker model run hf.co/eth-algopt/AuXSpec-9B-RL
Commit History
2 days ago
-
Add corresponding author email and library name
Verified signatureb97bd98
3 days ago
-
Add the arXiv paper
Verified signature9fcebdc
4 days ago
-
Update model card
Verified signature3f66fe3 -
Update model card
Verified signature53030d2 -
Update model card
Verified signature11ce21b
14 days ago
-
Update model card
Verified signaturef7c9aee
17 days ago
-
Update model card
Verified signature85ee811 -
Update model card
Verified signaturecad6dac -
Update model card
Verified signature928b385 -
Update model card
Verified signature9e831a6 -
Update model card
Verified signature37ca5f2 -
Update model card
Verified signaturefd34c4e -
Update model card
Verified signature08da6df -
Update model card
Verified signature1efb514 -
Update model card
Verified signature9e106fd -
Update model card
Verified signature56aed26 -
Update model card
Verified signature0a817e4 -
Update model card
Verified signatureb956923 -
Update model card
Verified signature60b898e -
Update model card
Verified signaturea7a4d78 -
Update model card
Verified signaturea2a93cc -
Update model card
Verified signature0da01cb -
Update model card
Verified signatureadeb5d1 -
Update model card
Verified signature4beb264 -
Update model card
Verified signature42963f6 -
Update model card
Verified signature5db6377 -
Update model card
Verified signature4f63bb1 -
Upload model
Verified signature1d13a30 -
initial commit
Verified signatured661b87