Text Generation
Transformers
TensorBoard
Safetensors
English
t5
text2text-generation
code
text-generation-inference
Instructions to use Rakhman16/program-synthesis-java-codet5-xlcost with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rakhman16/program-synthesis-java-codet5-xlcost with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Rakhman16/program-synthesis-java-codet5-xlcost")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Rakhman16/program-synthesis-java-codet5-xlcost") model = AutoModelForSeq2SeqLM.from_pretrained("Rakhman16/program-synthesis-java-codet5-xlcost", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Rakhman16/program-synthesis-java-codet5-xlcost with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Rakhman16/program-synthesis-java-codet5-xlcost" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Rakhman16/program-synthesis-java-codet5-xlcost", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Rakhman16/program-synthesis-java-codet5-xlcost
- SGLang
How to use Rakhman16/program-synthesis-java-codet5-xlcost 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 "Rakhman16/program-synthesis-java-codet5-xlcost" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Rakhman16/program-synthesis-java-codet5-xlcost", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "Rakhman16/program-synthesis-java-codet5-xlcost" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Rakhman16/program-synthesis-java-codet5-xlcost", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Rakhman16/program-synthesis-java-codet5-xlcost with Docker Model Runner:
docker model run hf.co/Rakhman16/program-synthesis-java-codet5-xlcost
Commit History
-
Training in progress, step 11500
Verified signature7d2ae2e -
Training in progress, step 11000, checkpoint
Verified signature0547431 -
Training in progress, step 11000
Verified signature29317d4 -
Training in progress, step 10500, checkpoint
Verified signaturee9b1604 -
Training in progress, step 10500
Verified signature8c6253c -
Training in progress, step 10000, checkpoint
Verified signature7d63dd4 -
Training in progress, step 10000
Verified signatureba27f10 -
Training in progress, step 9500, checkpoint
Verified signature996cc6b -
Training in progress, step 9500
Verified signature1f853cc -
Training in progress, step 9000, checkpoint
Verified signature810027e -
Training in progress, step 9000
Verified signature3c331df -
Training in progress, step 8500, checkpoint
Verified signaturef19eb5a -
Training in progress, step 8500
Verified signature11f1675 -
Training in progress, step 8000, checkpoint
Verified signature09c7cb8 -
Training in progress, step 8000
Verified signature3be10f4 -
Training in progress, step 7500, checkpoint
Verified signature3440cfd -
Training in progress, step 7500
Verified signaturecdf8fe4 -
Training in progress, step 7000, checkpoint
Verified signature8445695 -
Training in progress, step 7000
Verified signature38a9995 -
Training in progress, step 6500, checkpoint
Verified signature8203b67 -
Training in progress, step 6500
Verified signaturece23c79 -
Training in progress, step 6000, checkpoint
Verified signatureb59c5a3 -
Training in progress, step 6000
Verified signature4b4cb3e -
Training in progress, step 5500, checkpoint
Verified signature8a6f55c -
Training in progress, step 5500
Verified signaturefb999c5 -
Training in progress, step 5000, checkpoint
Verified signaturec299718 -
Training in progress, step 5000
Verified signature6c042e9 -
Training in progress, step 4500, checkpoint
Verified signature17cd956 -
Training in progress, step 4500
Verified signature4e7d75e -
Training in progress, step 4000, checkpoint
Verified signature1dba68d -
Training in progress, step 4000
Verified signaturee164b04 -
Training in progress, step 3500, checkpoint
Verified signature913fd2a -
Training in progress, step 3500
Verified signature2fb0ff6 -
Training in progress, step 3000, checkpoint
Verified signature39f55a5 -
Training in progress, step 3000
Verified signature47ddc7f -
Training in progress, step 2500, checkpoint
Verified signaturea61a76e -
Training in progress, step 2500
Verified signature31c5328 -
Training in progress, step 2000, checkpoint
Verified signature6030f73 -
Training in progress, step 2000
Verified signature2f6177f -
Training in progress, step 1500, checkpoint
Verified signaturec989f5d -
Training in progress, step 1500
Verified signaturecc24ca7 -
Training in progress, step 1000, checkpoint
Verified signaturef83c9fb -
Training in progress, step 1000
Verified signaturea1f0c91 -
Training in progress, step 500, checkpoint
Verified signaturee4fe6f7 -
Training in progress, step 500
Verified signaturec9e07a0 -
initial commit
Verified signature0656eab