Instructions to use FPHam/Sydney_Overthinker_13b_HF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FPHam/Sydney_Overthinker_13b_HF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FPHam/Sydney_Overthinker_13b_HF")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("FPHam/Sydney_Overthinker_13b_HF") model = AutoModelForCausalLM.from_pretrained("FPHam/Sydney_Overthinker_13b_HF") - Inference
- Local Apps Settings
- vLLM
How to use FPHam/Sydney_Overthinker_13b_HF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FPHam/Sydney_Overthinker_13b_HF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FPHam/Sydney_Overthinker_13b_HF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/FPHam/Sydney_Overthinker_13b_HF
- SGLang
How to use FPHam/Sydney_Overthinker_13b_HF 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 "FPHam/Sydney_Overthinker_13b_HF" \ --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": "FPHam/Sydney_Overthinker_13b_HF", "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 "FPHam/Sydney_Overthinker_13b_HF" \ --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": "FPHam/Sydney_Overthinker_13b_HF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use FPHam/Sydney_Overthinker_13b_HF with Docker Model Runner:
docker model run hf.co/FPHam/Sydney_Overthinker_13b_HF
Update README.md
#2
by ReactionControl - opened
README.md
CHANGED
|
@@ -5,6 +5,8 @@ tags:
|
|
| 5 |
- spellcheck
|
| 6 |
- grammar
|
| 7 |
license: llama2
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
<!-- header start -->
|
|
@@ -109,6 +111,4 @@ Detailed results can be found [here](https://huggingface.co/datasets/open-llm-le
|
|
| 109 |
|MMLU (5-Shot) |51.28|
|
| 110 |
|TruthfulQA (0-shot) |45.70|
|
| 111 |
|Winogrande (5-shot) |73.95|
|
| 112 |
-
|GSM8k (5-shot) |18.88|
|
| 113 |
-
|
| 114 |
-
|
|
|
|
| 5 |
- spellcheck
|
| 6 |
- grammar
|
| 7 |
license: llama2
|
| 8 |
+
base_model:
|
| 9 |
+
- FPHam/Free_Sydney_13b_HF
|
| 10 |
---
|
| 11 |
|
| 12 |
<!-- header start -->
|
|
|
|
| 111 |
|MMLU (5-Shot) |51.28|
|
| 112 |
|TruthfulQA (0-shot) |45.70|
|
| 113 |
|Winogrande (5-shot) |73.95|
|
| 114 |
+
|GSM8k (5-shot) |18.88|
|
|
|
|
|
|