MultiPL-T
Collection
8 items • Updated • 1
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 "nuprl/MultiPL-T-DeepSeekCoder_33b" \
--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": "nuprl/MultiPL-T-DeepSeekCoder_33b",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'This repository holds a DeepSeekCoder-33b-base fine-tune on MultiPL-T Racket. Examine the commit message to determine the language and checkpoint. We have a checkpoint for each epoch.
For more information the training process, see the MultiPL-T paper:
@misc{cassano:multipl-t,
title={Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMs},
author={Federico Cassano and John Gouwar and Francesca Lucchetti and Claire Schlesinger and Anders Freeman and Carolyn Jane Anderson and Molly Q Feldman and Michael Greenberg and Abhinav Jangda and Arjun Guha},
year={2024},
eprint={2308.09895},
archivePrefix={arXiv},
primaryClass={cs.PL}
}
For usage instructions, see the model card for the original model. Replace the model name with the name of this repository, and set revision=COMMIT_HASH.
Install from pip and serve model
# Install SGLang from pip: pip install sglang# Start the SGLang server: python3 -m sglang.launch_server \ --model-path "nuprl/MultiPL-T-DeepSeekCoder_33b" \ --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": "nuprl/MultiPL-T-DeepSeekCoder_33b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'