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 8500
Verified signature30fa165 -
Training in progress, step 8000
Verified signatureee0bec5 -
Training in progress, step 7500
Verified signaturea28f35d -
Training in progress, step 7000
Verified signature0916aa1 -
Training in progress, step 6500
Verified signaturef86c188 -
Training in progress, step 6000
Verified signaturedd4c0df -
Training in progress, step 5500
Verified signature106908f -
Training in progress, step 5000
Verified signaturec1be940 -
Training in progress, step 4500
Verified signature4b25f9c -
Training in progress, step 4000
Verified signature5ff97d6 -
Training in progress, step 3500
Verified signaturec86f11c -
Training in progress, step 3000
Verified signatureaaf97c0 -
Training in progress, step 2500
Verified signatured35cb66 -
Training in progress, step 2000
Verified signature0671952 -
Training in progress, step 1500
Verified signature85d717d -
Training in progress, step 1000
Verified signaturecf1ae19 -
Training in progress, step 500
Verified signaturea1914c7 -
Training in progress, step 12000
Verified signature1c42d8a -
Training in progress, step 11500
Verified signature7d2ae2e -
Training in progress, step 11000
Verified signature29317d4 -
Training in progress, step 10500
Verified signature8c6253c -
Training in progress, step 10000
Verified signatureba27f10 -
Training in progress, step 9500
Verified signature1f853cc -
Training in progress, step 9000
Verified signature3c331df -
Training in progress, step 8500
Verified signature11f1675 -
Training in progress, step 8000
Verified signature3be10f4 -
Training in progress, step 7500
Verified signaturecdf8fe4 -
Training in progress, step 7000
Verified signature38a9995 -
Training in progress, step 6500
Verified signaturece23c79 -
Training in progress, step 6000
Verified signature4b4cb3e -
Training in progress, step 5500
Verified signaturefb999c5 -
Training in progress, step 5000
Verified signature6c042e9 -
Training in progress, step 4500
Verified signature4e7d75e -
Training in progress, step 4000
Verified signaturee164b04 -
Training in progress, step 3500
Verified signature2fb0ff6 -
Training in progress, step 3000
Verified signature47ddc7f -
Training in progress, step 2500
Verified signature31c5328 -
Training in progress, step 2000
Verified signature2f6177f -
Training in progress, step 1500
Verified signaturecc24ca7 -
Training in progress, step 1000
Verified signaturea1f0c91 -
Training in progress, step 500
Verified signaturec9e07a0