Instructions to use matchaaaaa/Honey-Yuzu-13B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use matchaaaaa/Honey-Yuzu-13B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="matchaaaaa/Honey-Yuzu-13B")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("matchaaaaa/Honey-Yuzu-13B") model = AutoModelForMultimodalLM.from_pretrained("matchaaaaa/Honey-Yuzu-13B") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use matchaaaaa/Honey-Yuzu-13B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "matchaaaaa/Honey-Yuzu-13B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "matchaaaaa/Honey-Yuzu-13B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/matchaaaaa/Honey-Yuzu-13B
- SGLang
How to use matchaaaaa/Honey-Yuzu-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 "matchaaaaa/Honey-Yuzu-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": "matchaaaaa/Honey-Yuzu-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 "matchaaaaa/Honey-Yuzu-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": "matchaaaaa/Honey-Yuzu-13B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use matchaaaaa/Honey-Yuzu-13B with Docker Model Runner:
docker model run hf.co/matchaaaaa/Honey-Yuzu-13B
Update README.md
Browse files
README.md
CHANGED
|
@@ -35,7 +35,7 @@ Below is an instruction that describes a task. Write a response that appropriate
|
|
| 35 |
|
| 36 |
Here are some settings ranges that tend to work for me. They aren't strict values, and there's a bit of leeway in them. Feel free to experiment a bit!
|
| 37 |
|
| 38 |
-
* Temperature: **1.
|
| 39 |
* Min-P: **0.05** to **0.1**
|
| 40 |
* Repetition Penalty: **1.05** *to* **1.1** (high values aren't needed and usually degrade output)
|
| 41 |
* Rep. Penalty Range: **256** *or* **512**
|
|
|
|
| 35 |
|
| 36 |
Here are some settings ranges that tend to work for me. They aren't strict values, and there's a bit of leeway in them. Feel free to experiment a bit!
|
| 37 |
|
| 38 |
+
* Temperature: **1.0** to **1.25**
|
| 39 |
* Min-P: **0.05** to **0.1**
|
| 40 |
* Repetition Penalty: **1.05** *to* **1.1** (high values aren't needed and usually degrade output)
|
| 41 |
* Rep. Penalty Range: **256** *or* **512**
|