Text Generation
Transformers
PyTorch
gpt_bigcode
code
Eval Results (legacy)
text-generation-inference
Instructions to use WizardLMTeam/WizardCoder-15B-V1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WizardLMTeam/WizardCoder-15B-V1.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="WizardLMTeam/WizardCoder-15B-V1.0")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("WizardLMTeam/WizardCoder-15B-V1.0") model = AutoModelForCausalLM.from_pretrained("WizardLMTeam/WizardCoder-15B-V1.0") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use WizardLMTeam/WizardCoder-15B-V1.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WizardLMTeam/WizardCoder-15B-V1.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WizardLMTeam/WizardCoder-15B-V1.0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/WizardLMTeam/WizardCoder-15B-V1.0
- SGLang
How to use WizardLMTeam/WizardCoder-15B-V1.0 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 "WizardLMTeam/WizardCoder-15B-V1.0" \ --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": "WizardLMTeam/WizardCoder-15B-V1.0", "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 "WizardLMTeam/WizardCoder-15B-V1.0" \ --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": "WizardLMTeam/WizardCoder-15B-V1.0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use WizardLMTeam/WizardCoder-15B-V1.0 with Docker Model Runner:
docker model run hf.co/WizardLMTeam/WizardCoder-15B-V1.0
Adding `safetensors` variant of this model
#43 opened about 2 years ago
by
SFconvertbot
Adding Evaluation Results
#41 opened over 2 years ago
by
leaderboard-pr-bot
github page is 404
1
#39 opened over 2 years ago
by
Joyed
Parallel Inferences using GPU?
#38 opened over 2 years ago
by
vermanic
tokenizer.model file missing?
3
#37 opened over 2 years ago
by
RustyRobot
Update README.md
#28 opened over 2 years ago
by
haipeng1
So, Do we have to register a Sagemaker account before we can fine-tune the model?
2
#27 opened over 2 years ago
by
yueyueyushi
RuntimeError: expected scalar type Half but found Char
#26 opened over 2 years ago
by
RubixCole
dataset opensource?
#21 opened almost 3 years ago
by
cdj0311
export WizardCoder to ONNX
#20 opened almost 3 years ago
by
Ryan30
Inference's speed
#19 opened almost 3 years ago
by
VlaTal
Runtime error while deploying on Sagemaker
1
#18 opened almost 3 years ago
by
kshitijyad
Version 2???
2
#17 opened almost 3 years ago
by
rombodawg
To Bloke: Thank you ( in general )
#16 opened almost 3 years ago
by deleted
How much RAM and VRAM do I need at least to run this model?
1
#15 opened almost 3 years ago
by
zhwongbo
WizardCoder is the best open source model for reasoning I have seen so far
👍 4
#14 opened almost 3 years ago
by
shoibl
no tokenizer.model found in this repo
#11 opened almost 3 years ago
by
oliver0102
question about text-generation
#10 opened almost 3 years ago
by
sunzx0810
Chat using WizardCoder
1
#8 opened almost 3 years ago
by
vitvit
InstructHumanEval - test
#7 opened almost 3 years ago
by
davide221
turn on use_cache for fast inference
1
#5 opened almost 3 years ago
by
loubnabnl
Much slower than StarCoder?
3
#4 opened almost 3 years ago
by
jiang719
commercial usage?
👍 10
1
#2 opened almost 3 years ago
by
vasilee
Dataset?
8
#1 opened almost 3 years ago
by
TessaCoil