Text Generation
PEFT
Safetensors
Transformers
English
carl
coherence-aware-rl
grpo
vlm
vision-grpo
gui-grounding
lora
trl
conversational
Instructions to use wheattoast11/OmniCoder-9B-Zero-Phase2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use wheattoast11/OmniCoder-9B-Zero-Phase2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Tesslate/OmniCoder-9B") model = PeftModel.from_pretrained(base_model, "wheattoast11/OmniCoder-9B-Zero-Phase2") - Transformers
How to use wheattoast11/OmniCoder-9B-Zero-Phase2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="wheattoast11/OmniCoder-9B-Zero-Phase2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("wheattoast11/OmniCoder-9B-Zero-Phase2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use wheattoast11/OmniCoder-9B-Zero-Phase2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "wheattoast11/OmniCoder-9B-Zero-Phase2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "wheattoast11/OmniCoder-9B-Zero-Phase2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/wheattoast11/OmniCoder-9B-Zero-Phase2
- SGLang
How to use wheattoast11/OmniCoder-9B-Zero-Phase2 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 "wheattoast11/OmniCoder-9B-Zero-Phase2" \ --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": "wheattoast11/OmniCoder-9B-Zero-Phase2", "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 "wheattoast11/OmniCoder-9B-Zero-Phase2" \ --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": "wheattoast11/OmniCoder-9B-Zero-Phase2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use wheattoast11/OmniCoder-9B-Zero-Phase2 with Docker Model Runner:
docker model run hf.co/wheattoast11/OmniCoder-9B-Zero-Phase2
Commit History
-
Model card: CARL Phase 1' VLM with eval results, phase transition data, Zenodo DOIs
Verified signature2fbc076
-
End of training
Verified signature7a8e6b8 -
Training in progress, step 500
Verified signature9dc7d73 -
Training in progress, step 450
Verified signatureb039d3d -
Training in progress, step 400
Verified signaturea1eec8e -
Training in progress, step 350
Verified signature7281ac9 -
Training in progress, step 300
Verified signature80ca9b6 -
Training in progress, step 250
Verified signature678755a -
Training in progress, step 200
Verified signature360864a -
Training in progress, step 150
Verified signature1bb4a11 -
Training in progress, step 100
Verified signature13be401 -
Training in progress, step 50
Verified signatureb89bfe0
-
End of training
Verified signaturee1769fb -
Training in progress, step 500
Verified signature2a2a48b -
Training in progress, step 450
Verified signaturec13696c -
Training in progress, step 400
Verified signaturebe7de61 -
Training in progress, step 350
Verified signaturefab5838 -
Training in progress, step 300
Verified signaturebb0e949 -
Training in progress, step 250
Verified signaturef74c456 -
Training in progress, step 200
Verified signaturec02cac0 -
Training in progress, step 150
Verified signature0c22df1 -
Training in progress, step 100
Verified signature2345e18 -
Training in progress, step 50
Verified signaturea3ec1d7 -
End of training
Verified signature25e303f -
Training in progress, step 500
Verified signature583ab29 -
Training in progress, step 450
Verified signature68fe221 -
Training in progress, step 400
Verified signature3aa14c0 -
Training in progress, step 350
Verified signature715f9aa -
Training in progress, step 300
Verified signaturea44c909 -
Training in progress, step 250
Verified signaturedb90043 -
Training in progress, step 200
Verified signature0e14bb9 -
Training in progress, step 150
Verified signature657fda9
-
Training in progress, step 100
Verified signature334387b -
Training in progress, step 50
Verified signatured76b6d1 -
End of training
Verified signature59f1fc4 -
Training in progress, step 1000
Verified signature47b5fee -
Training in progress, step 950
Verified signaturef0f4393 -
Training in progress, step 900
Verified signaturee8d8e37 -
Training in progress, step 850
Verified signature78a1e91 -
Training in progress, step 800
Verified signature31540b1 -
Training in progress, step 750
Verified signatured8e5554 -
Training in progress, step 700
Verified signature7184590 -
Training in progress, step 650
Verified signature9ad0b59 -
Training in progress, step 600
Verified signature25fc2a1 -
Training in progress, step 550
Verified signatureaa24305 -
Training in progress, step 500
Verified signature08ef73a -
Training in progress, step 450
Verified signaturee77bd8d -
Training in progress, step 400
Verified signaturedc8d352 -
Training in progress, step 350
Verified signaturef305502 -
Training in progress, step 300
Verified signature50ef198