Instructions to use Eric111/vicuna-13b-v1.5-16k-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Eric111/vicuna-13b-v1.5-16k-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Eric111/vicuna-13b-v1.5-16k-gguf # Run inference directly in the terminal: llama cli -hf Eric111/vicuna-13b-v1.5-16k-gguf
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Eric111/vicuna-13b-v1.5-16k-gguf # Run inference directly in the terminal: llama cli -hf Eric111/vicuna-13b-v1.5-16k-gguf
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Eric111/vicuna-13b-v1.5-16k-gguf # Run inference directly in the terminal: ./llama-cli -hf Eric111/vicuna-13b-v1.5-16k-gguf
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Eric111/vicuna-13b-v1.5-16k-gguf # Run inference directly in the terminal: ./build/bin/llama-cli -hf Eric111/vicuna-13b-v1.5-16k-gguf
Use Docker
docker model run hf.co/Eric111/vicuna-13b-v1.5-16k-gguf
- LM Studio
- Jan
- Ollama
How to use Eric111/vicuna-13b-v1.5-16k-gguf with Ollama:
ollama run hf.co/Eric111/vicuna-13b-v1.5-16k-gguf
- Unsloth Desktop
- Docker Model Runner
How to use Eric111/vicuna-13b-v1.5-16k-gguf with Docker Model Runner:
docker model run hf.co/Eric111/vicuna-13b-v1.5-16k-gguf
- Lemonade
How to use Eric111/vicuna-13b-v1.5-16k-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Eric111/vicuna-13b-v1.5-16k-gguf
Run and chat with the model
lemonade run user.vicuna-13b-v1.5-16k-gguf-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: llama2
|
| 3 |
+
base_model:
|
| 4 |
+
- lmsys/vicuna-13b-v1.5-16k
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
This is a half precision (float16) gguf file for vicuna-13b-v1.5-16k.
|
| 8 |
+
|
| 9 |
+
Conversion code:
|
| 10 |
+
|
| 11 |
+
import os import subprocess
|
| 12 |
+
|
| 13 |
+
from huggingface_hub import snapshot_download
|
| 14 |
+
|
| 15 |
+
model_id="lmsys/vicuna-13b-v1.5-16k" snapshot_download(repo_id=model_id, local_dir="vicuna-hf", local_dir_use_symlinks=False, revision="main")
|
| 16 |
+
|
| 17 |
+
subprocess.run(["git", "clone", "https://github.com/ggerganov/llama.cpp.git"])
|
| 18 |
+
|
| 19 |
+
subprocess.run(["pip", "install", "-r", "llama.cpp/requirements.txt"])
|
| 20 |
+
|
| 21 |
+
subprocess.run(["python", "llama.cpp/convert_hf_to_gguf.py", "vicuna-hf",
|
| 22 |
+
"--outfile", "vicuna-13b-v1.5-16k.gguf", "--outtype", "f16"])
|
| 23 |
+
|
| 24 |
+
(modified from https://www.substratus.ai/blog/converting-hf-model-gguf-model)
|