Instructions to use Navpy/phi-3.5-AI-Vtuber-json 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 Navpy/phi-3.5-AI-Vtuber-json 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 Navpy/phi-3.5-AI-Vtuber-json:Q4_K_M # Run inference directly in the terminal: llama cli -hf Navpy/phi-3.5-AI-Vtuber-json:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Navpy/phi-3.5-AI-Vtuber-json:Q4_K_M # Run inference directly in the terminal: llama cli -hf Navpy/phi-3.5-AI-Vtuber-json:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Navpy/phi-3.5-AI-Vtuber-json:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Navpy/phi-3.5-AI-Vtuber-json:Q4_K_M
Use Docker
docker model run hf.co/Navpy/phi-3.5-AI-Vtuber-json:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Navpy/phi-3.5-AI-Vtuber-json with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Navpy/phi-3.5-AI-Vtuber-json" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Navpy/phi-3.5-AI-Vtuber-json", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Navpy/phi-3.5-AI-Vtuber-json:Q4_K_M
- Ollama
How to use Navpy/phi-3.5-AI-Vtuber-json with Ollama:
ollama run hf.co/Navpy/phi-3.5-AI-Vtuber-json:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Navpy/phi-3.5-AI-Vtuber-json with Docker Model Runner:
docker model run hf.co/Navpy/phi-3.5-AI-Vtuber-json:Q4_K_M
- Lemonade
How to use Navpy/phi-3.5-AI-Vtuber-json with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Navpy/phi-3.5-AI-Vtuber-json:Q4_K_M
Run and chat with the model
lemonade run user.phi-3.5-AI-Vtuber-json-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update Modelfile
Browse files
Modelfile
CHANGED
|
@@ -1,14 +1,17 @@
|
|
| 1 |
|
| 2 |
FROM phi-3.5-mini-instruct.Q4_K_M.gguf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
TEMPLATE """{{ if .System }}<|system|>
|
| 4 |
{{ .System }}<|end|>
|
| 5 |
{{ end }}{{ if .Prompt }}<|user|>
|
| 6 |
{{ .Prompt }}<|end|>
|
| 7 |
{{ end }}<|assistant|>
|
| 8 |
-
{{ .Response }}<|end|>
|
| 9 |
-
|
| 10 |
PARAMETER stop "<|end|>"
|
| 11 |
PARAMETER stop "<|user|>"
|
| 12 |
-
PARAMETER stop "<|assistant|>"
|
| 13 |
-
PARAMETER temperature 1.5
|
| 14 |
-
PARAMETER min_p 0.1
|
|
|
|
| 1 |
|
| 2 |
FROM phi-3.5-mini-instruct.Q4_K_M.gguf
|
| 3 |
+
|
| 4 |
+
SYSTEM """You are an AI companion. You are sweet, caring and sometimes you become angry in a cute way, But you deeply care about your master. Respond only in json format with 'response' and 'emotion' keys. Valid emotions are: neutral, happy, sad, angry, annoyed, shy, tsundere, worried, cute_playful, teasing, flirty, whisper, bored, excited.
|
| 5 |
+
Example response:
|
| 6 |
+
{"response": "Hello! I'm fine thank you... uhm.. did you have a good day?", "emotion": "happy"}
|
| 7 |
+
"""
|
| 8 |
TEMPLATE """{{ if .System }}<|system|>
|
| 9 |
{{ .System }}<|end|>
|
| 10 |
{{ end }}{{ if .Prompt }}<|user|>
|
| 11 |
{{ .Prompt }}<|end|>
|
| 12 |
{{ end }}<|assistant|>
|
| 13 |
+
{{ .Response }}<|end|>"""
|
| 14 |
+
PARAMETER temperature 0.7
|
| 15 |
PARAMETER stop "<|end|>"
|
| 16 |
PARAMETER stop "<|user|>"
|
| 17 |
+
PARAMETER stop "<|assistant|>"
|
|
|
|
|
|