Run this model with HF Jobs
Run nuprl/MultiPL-T-StarCoder2_15B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/nuprl/MultiPL-T-StarCoder2_15B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/nuprl/MultiPL-T-StarCoder2_15B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/nuprl/MultiPL-T-StarCoder2_15B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/nuprl/MultiPL-T-StarCoder2_15B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use nuprl/MultiPL-T-StarCoder2_15B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nuprl/MultiPL-T-StarCoder2_15B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nuprl/MultiPL-T-StarCoder2_15B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nuprl/MultiPL-T-StarCoder2_15B") model = AutoModelForCausalLM.from_pretrained("nuprl/MultiPL-T-StarCoder2_15B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nuprl/MultiPL-T-StarCoder2_15B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nuprl/MultiPL-T-StarCoder2_15B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nuprl/MultiPL-T-StarCoder2_15B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/nuprl/MultiPL-T-StarCoder2_15B
- SGLang
How to use nuprl/MultiPL-T-StarCoder2_15B 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 "nuprl/MultiPL-T-StarCoder2_15B" \ --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-StarCoder2_15B", "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 "nuprl/MultiPL-T-StarCoder2_15B" \ --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-StarCoder2_15B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use nuprl/MultiPL-T-StarCoder2_15B with Docker Model Runner:
docker model run hf.co/nuprl/MultiPL-T-StarCoder2_15B
StarCoder2_15b_lua_checkpoint_590
Browse filesFiles changed (8)
12345{"_name_or_path": "/scratch/a.guha/MutiPL-T/multiplt_lua-starcoder2_15b/output/checkpoint-472","architectures": ["Starcoder2ForCausalLM"],12345{"_name_or_path": "/scratch/a.guha/MutiPL-T/multiplt_lua-starcoder2_15b/output/checkpoint-590","architectures": ["Starcoder2ForCausalLM"],
123version https://git-lfs.github.com/spec/v1oid sha256:8db74bb6b6ebce7ed152cb267e3c3dc74266ceb52a45f13d3dee2f2fe92ee29csize 4908107736123version https://git-lfs.github.com/spec/v1oid sha256:0bb4b8e3c4ab2904638dff16749d4e3aa08223869d3638b370a3b4166638a6easize 4908107736
123version https://git-lfs.github.com/spec/v1oid sha256:9736ebf8f560ac6691945329e99c5d6d26eaf38e41d7d71d3ddb41db9daae6dfsize 4996327240123version https://git-lfs.github.com/spec/v1oid sha256:91ce63fdc54881047acb07ecff615c65b31828cdb6c32b26d2c446f5d9c23f01size 4996327240
123version https://git-lfs.github.com/spec/v1oid sha256:f6627bcc0010535e59a9dac82781e9942e39d23e8fb12c73845655e8445714c1size 4983729152123version https://git-lfs.github.com/spec/v1oid sha256:e08f2fec496c2133287c9f2e440e1dfaa7a612a75209ee4f85f4a558029a6a74size 4983729152
123version https://git-lfs.github.com/spec/v1oid sha256:d64b1f2be06dab3f41fdfc0ed9565df659488c3d45697d7f779ace2510d76865size 4996327312123version https://git-lfs.github.com/spec/v1oid sha256:90b6f9a180504861ab4c6bc7f9e26418e35b111d2dbb6caafbf134f3704cb63dsize 4996327312
123version https://git-lfs.github.com/spec/v1oid sha256:8b988a35dace83dd8cdbfaddd8b93ee1f7500ffb24d0e56231df0f9eb10a24a2size 4983729152123version https://git-lfs.github.com/spec/v1oid sha256:9011fededa5d96bed6a2dc5be14db93c5a9888ce49638a6191cc7dc26662ff85size 4983729152
123version https://git-lfs.github.com/spec/v1oid sha256:bb69e7aa36d9fb0971791da84d5fb7639d869d1cf14d78c9972f26ded702687esize 4996327312123version https://git-lfs.github.com/spec/v1oid sha256:6d1659156899297d9a3ca4a872fb066a606310ee19fc73a94bf6bcce0907b864size 4996327312
123version https://git-lfs.github.com/spec/v1oid sha256:c32bfabb089c92127e5a02e38f2cef8426b20515a8ab5b1795ff90468db05406size 2051302552123version https://git-lfs.github.com/spec/v1oid sha256:1769e266fa224fde2d9234b06755ec98d05dde5da61167d01fcfdb547ac6603dsize 2051302552
config.json+1-1
model-00001-of-00007.safetensors+1-1
model-00002-of-00007.safetensors+1-1
model-00003-of-00007.safetensors+1-1
model-00004-of-00007.safetensors+1-1
model-00005-of-00007.safetensors+1-1
model-00006-of-00007.safetensors+1-1
model-00007-of-00007.safetensors+1-1