Instructions to use speechlessai/speechless-codellama-airoboros-orca-platypus-13b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use speechlessai/speechless-codellama-airoboros-orca-platypus-13b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="speechlessai/speechless-codellama-airoboros-orca-platypus-13b")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("speechlessai/speechless-codellama-airoboros-orca-platypus-13b") model = AutoModelForCausalLM.from_pretrained("speechlessai/speechless-codellama-airoboros-orca-platypus-13b") - Inference
- Local Apps Settings
- vLLM
How to use speechlessai/speechless-codellama-airoboros-orca-platypus-13b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "speechlessai/speechless-codellama-airoboros-orca-platypus-13b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "speechlessai/speechless-codellama-airoboros-orca-platypus-13b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/speechlessai/speechless-codellama-airoboros-orca-platypus-13b
- SGLang
How to use speechlessai/speechless-codellama-airoboros-orca-platypus-13b 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 "speechlessai/speechless-codellama-airoboros-orca-platypus-13b" \ --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": "speechlessai/speechless-codellama-airoboros-orca-platypus-13b", "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 "speechlessai/speechless-codellama-airoboros-orca-platypus-13b" \ --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": "speechlessai/speechless-codellama-airoboros-orca-platypus-13b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use speechlessai/speechless-codellama-airoboros-orca-platypus-13b with Docker Model Runner:
docker model run hf.co/speechlessai/speechless-codellama-airoboros-orca-platypus-13b
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,15 +18,35 @@ Use the following dataset to fine-tune codellama/CodeLlama-13B in order to impro
|
|
| 18 |
|
| 19 |
- jondurbin/airoboros-2.2: Filter categories related to coding, reasoning and planning.
|
| 20 |
- Open-Orca/OpenOrca: Filter the 'cot' category in 1M GPT4 dataset.
|
| 21 |
-
- garage-bAInd/Open-Platypus: 100%
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
| Metric | Value |
|
| 24 |
| --- | --- |
|
| 25 |
-
| ARC | |
|
| 26 |
-
| HellaSwag | |
|
| 27 |
-
| MMLU | |
|
| 28 |
-
| TruthfulQA | |
|
| 29 |
-
| Average | |
|
| 30 |
|
| 31 |
|
| 32 |
# **Code Llama**
|
|
|
|
| 18 |
|
| 19 |
- jondurbin/airoboros-2.2: Filter categories related to coding, reasoning and planning.
|
| 20 |
- Open-Orca/OpenOrca: Filter the 'cot' category in 1M GPT4 dataset.
|
| 21 |
+
- garage-bAInd/Open-Platypus: 100%
|
| 22 |
|
| 23 |
+
|
| 24 |
+
| Metric | Value |
|
| 25 |
+
| --- | --- |
|
| 26 |
+
| humaneval-python | 49.39 |
|
| 27 |
+
|
| 28 |
+
[Big Code Models Leaderboard](https://huggingface.co/spaces/bigcode/bigcode-models-leaderboard)
|
| 29 |
+
|
| 30 |
+
CodeLlama-34B-Python: 53.29
|
| 31 |
+
|
| 32 |
+
CodeLlama-34B-Instruct: 50.79
|
| 33 |
+
|
| 34 |
+
CodeLlama-13B-Instruct: 50.6
|
| 35 |
+
|
| 36 |
+
CodeLlama-34B: 45.11
|
| 37 |
+
|
| 38 |
+
CodeLlama-13B-Python: 42.89
|
| 39 |
+
|
| 40 |
+
CodeLlama-13B: 35.07
|
| 41 |
+
|
| 42 |
+
[Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
| 43 |
| Metric | Value |
|
| 44 |
| --- | --- |
|
| 45 |
+
| ARC | 44.88 |
|
| 46 |
+
| HellaSwag | 67.7 |
|
| 47 |
+
| MMLU | 43.16 |
|
| 48 |
+
| TruthfulQA | 40.88 |
|
| 49 |
+
| Average | 49.15 |
|
| 50 |
|
| 51 |
|
| 52 |
# **Code Llama**
|