Open-Orca/OpenOrca
Viewer • Updated • 2.94M • 17.3k • 1.55k
How to use totally-not-an-llm/PuddleJumper-13b-V2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="totally-not-an-llm/PuddleJumper-13b-V2") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("totally-not-an-llm/PuddleJumper-13b-V2")
model = AutoModelForCausalLM.from_pretrained("totally-not-an-llm/PuddleJumper-13b-V2")How to use totally-not-an-llm/PuddleJumper-13b-V2 with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "totally-not-an-llm/PuddleJumper-13b-V2"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "totally-not-an-llm/PuddleJumper-13b-V2",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/totally-not-an-llm/PuddleJumper-13b-V2
How to use totally-not-an-llm/PuddleJumper-13b-V2 with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "totally-not-an-llm/PuddleJumper-13b-V2" \
--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": "totally-not-an-llm/PuddleJumper-13b-V2",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "totally-not-an-llm/PuddleJumper-13b-V2" \
--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": "totally-not-an-llm/PuddleJumper-13b-V2",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use totally-not-an-llm/PuddleJumper-13b-V2 with Docker Model Runner:
docker model run hf.co/totally-not-an-llm/PuddleJumper-13b-V2
Merge of EverythingLM-V3-13b QLoRa and OpenOrca-Platypus2-13B.
USER: <prompt>
ASSISTANT:
https://huggingface.co/TheBloke/PuddleJumper-13B-V2-GGUF
https://huggingface.co/TheBloke/PuddleJumper-13B-V2-AWQ
https://huggingface.co/TheBloke/PuddleJumper-13B-V2-GPTQ
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 49.69 |
| ARC (25-shot) | 57.0 |
| HellaSwag (10-shot) | 81.06 |
| MMLU (5-shot) | 58.3 |
| TruthfulQA (0-shot) | 52.66 |
| Winogrande (5-shot) | 72.45 |
| GSM8K (5-shot) | 3.64 |
| DROP (3-shot) | 22.74 |