Instructions to use FPHam/Pure_Sydney_13b_GPTQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FPHam/Pure_Sydney_13b_GPTQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FPHam/Pure_Sydney_13b_GPTQ")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("FPHam/Pure_Sydney_13b_GPTQ") model = AutoModelForCausalLM.from_pretrained("FPHam/Pure_Sydney_13b_GPTQ", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FPHam/Pure_Sydney_13b_GPTQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FPHam/Pure_Sydney_13b_GPTQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FPHam/Pure_Sydney_13b_GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/FPHam/Pure_Sydney_13b_GPTQ
- SGLang
How to use FPHam/Pure_Sydney_13b_GPTQ 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/Pure_Sydney_13b_GPTQ" \ --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/Pure_Sydney_13b_GPTQ", "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/Pure_Sydney_13b_GPTQ" \ --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/Pure_Sydney_13b_GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use FPHam/Pure_Sydney_13b_GPTQ with Docker Model Runner:
docker model run hf.co/FPHam/Pure_Sydney_13b_GPTQ
Commit History
-
Update README.md
Verified signaturedf493d3 -
Update README.md
Verified signature4eab50d
-
Update README.md
Verified signature373adb1
-
Upload training_prompt.json
417ea1b
-
Update README.md
f647a6c -
Update README.md
b5199c7 -
Update README.md
d46511c -
Upload 8 files
1a73d13 -
Update README.md
532ef4b -
Upload sydney10.png
791868a -
Update README.md
6e1512e -
Update README.md
ddda7f1 -
Update README.md
ea2c59d -
Update README.md
279405d -
Update README.md
5ac02db -
Update README.md
f1341b0 -
Update README.md
99b1b02 -
Update README.md
845e587 -
Update README.md
2152c64 -
Update README.md
7458edd -
Update README.md
b1907f3 -
Update README.md
a3b9b38 -
Update README.md
60bd66b -
Update README.md
a8a6340 -
Update README.md
0e66151 -
Update README.md
9399f25 -
Upload PureSydney.jpg
e820e5c -
Create README.md
d09e174 -
initial commit
6b9329c