Text Generation
Transformers
PyTorch
Safetensors
gpt_bigcode
code
Eval Results (legacy)
text-generation-inference
Run this model with HF Jobs
Run nuprl/MultiPL-T-StarCoderBase_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-StarCoderBase_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-StarCoderBase_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-StarCoderBase_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-StarCoderBase_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-StarCoderBase_15b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nuprl/MultiPL-T-StarCoderBase_15b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nuprl/MultiPL-T-StarCoderBase_15b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nuprl/MultiPL-T-StarCoderBase_15b") model = AutoModelForCausalLM.from_pretrained("nuprl/MultiPL-T-StarCoderBase_15b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nuprl/MultiPL-T-StarCoderBase_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-StarCoderBase_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-StarCoderBase_15b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/nuprl/MultiPL-T-StarCoderBase_15b
- SGLang
How to use nuprl/MultiPL-T-StarCoderBase_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-StarCoderBase_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-StarCoderBase_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-StarCoderBase_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-StarCoderBase_15b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use nuprl/MultiPL-T-StarCoderBase_15b with Docker Model Runner:
docker model run hf.co/nuprl/MultiPL-T-StarCoderBase_15b
model_starcoder15b_multiplt_jl_mixed-epoch5
Browse filesFiles changed (5)
12345{"_name_or_path": "model_starcoder15b_multiplt_jl_mixed/checkpoint-340","activation_function": "gelu","architectures": ["GPTBigCodeForCausalLM"12345{"_name_or_path": "model_starcoder15b_multiplt_jl_mixed/checkpoint-425","activation_function": "gelu","architectures": ["GPTBigCodeForCausalLM"
123version https://git-lfs.github.com/spec/v1oid sha256:23b2b121611b9ad85c4671903322f72611952f681b7dd154927bc959bee8c4aesize 9957983029123version https://git-lfs.github.com/spec/v1oid sha256:0f6b3ee74ff1e5f40bd5243d69c295a7acce9f7d573309784d6445a243520ff7size 9957983029
123version https://git-lfs.github.com/spec/v1oid sha256:76878d583c0d9568596617f112e87fc6b15bdeb1f45f8575251f5c6ed462b88asize 9857381671123version https://git-lfs.github.com/spec/v1oid sha256:57e1eee2fc04fdf9110d13372ffe53b4629e0196ef21d447b47c45d8d555df78size 9857381671
123version https://git-lfs.github.com/spec/v1oid sha256:0388b7fa066d5ec1f6b430f0775e98a1b937d2a281977812b67d1ec99f2dc54fsize 9857381671123version https://git-lfs.github.com/spec/v1oid sha256:d0ee86aebf97c37e470cedd3408ec4dc6e9d7b64bb17027de48550ba2a49737esize 9857381671
123version https://git-lfs.github.com/spec/v1oid sha256:6b1129a6956adf70dca6425623babdf3c5d4d500784794aef837a796d0c5adaasize 1362327955123version https://git-lfs.github.com/spec/v1oid sha256:77379806514a8fb1159bb96d7a0dfd4ccb3ecec0670b946fcbdeb5f589578455size 1362327955
config.json+1-1
pytorch_model-00001-of-00004.bin+1-1
pytorch_model-00002-of-00004.bin+1-1
pytorch_model-00003-of-00004.bin+1-1
pytorch_model-00004-of-00004.bin+1-1