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-27B-RL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eth-algopt/AuXSpec-27B-RL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="eth-algopt/AuXSpec-27B-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-27B-RL") model = AutoModelForMultimodalLM.from_pretrained("eth-algopt/AuXSpec-27B-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-27B-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-27B-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-27B-RL", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/eth-algopt/AuXSpec-27B-RL
- SGLang
How to use eth-algopt/AuXSpec-27B-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-27B-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-27B-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-27B-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-27B-RL", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use eth-algopt/AuXSpec-27B-RL with Docker Model Runner:
docker model run hf.co/eth-algopt/AuXSpec-27B-RL
Commit History
7 days ago
-
Add corresponding author email and library name
Verified signaturebbc2743
8 days ago
-
Add the arXiv paper
Verified signature23e09df
9 days ago
-
Update model card
Verified signature0aa1ef2 -
Update model card
Verified signaturea6e60e1 -
Update model card
Verified signatureaf0de84
19 days ago
-
Update model card
Verified signature1b647e9
22 days ago
-
Update model card
Verified signaturecfd35ac -
Update model card
Verified signature45c63a0 -
Update model card
Verified signature49dffaf -
Update model card
Verified signatured28139e -
Update model card
Verified signature287f120 -
Update model card
Verified signature428aebf -
Update model card
Verified signaturebb096f3 -
Update model card
Verified signature5a3a9aa -
Update model card
Verified signature77efcc8 -
Update model card
Verified signature7519669 -
Update model card
Verified signature98837af -
Update model card
Verified signatureb97363a -
Update model card
Verified signatureac7757a -
Update model card
Verified signature03d444a -
Update model card
Verified signature8e581f7 -
Update model card
Verified signature739c78e -
Update model card
Verified signature07bd37c -
Update model card
Verified signaturec890a91 -
Update model card
Verified signature8f62c53 -
Update model card
Verified signaturef7453e1 -
Update model card
Verified signature63768b9 -
Upload model
Verified signature31521ac -
initial commit
Verified signaturecb5c12d