Instructions to use Navpy/phi-3.5-AI-Vtuber-json with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Navpy/phi-3.5-AI-Vtuber-json with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Navpy/phi-3.5-AI-Vtuber-json", filename="v1-phi-3.5-mini-instruct.Q4_K_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Navpy/phi-3.5-AI-Vtuber-json with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -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-server -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
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 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/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 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
- 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 Studio new
How to use Navpy/phi-3.5-AI-Vtuber-json with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Navpy/phi-3.5-AI-Vtuber-json to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Navpy/phi-3.5-AI-Vtuber-json to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Navpy/phi-3.5-AI-Vtuber-json to start chatting
- 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
update readme.md
Browse files
README.md
CHANGED
|
@@ -3,16 +3,89 @@ tags:
|
|
| 3 |
- gguf
|
| 4 |
- llama.cpp
|
| 5 |
- unsloth
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
-
|
| 9 |
# phi-3.5-AI-Vtuber-json : GGUF
|
| 10 |
|
| 11 |
-
This model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
- For multimodal models: `./llama.cpp/llama-mtmd-cli -hf Navpy/phi-3.5-AI-Vtuber-json --jinja`
|
| 16 |
|
| 17 |
## Available Model files:
|
| 18 |
- `phi-3.5-mini-instruct.Q4_K_M.gguf`
|
|
@@ -20,4 +93,4 @@ This model was finetuned and converted to GGUF format using [Unsloth](https://gi
|
|
| 20 |
## Ollama
|
| 21 |
An Ollama Modelfile is included for easy deployment.
|
| 22 |
This was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth)
|
| 23 |
-
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
|
|
|
| 3 |
- gguf
|
| 4 |
- llama.cpp
|
| 5 |
- unsloth
|
| 6 |
+
license: mit
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
base_model:
|
| 10 |
+
- microsoft/Phi-3.5-mini-instruct
|
| 11 |
---
|
|
|
|
| 12 |
# phi-3.5-AI-Vtuber-json : GGUF
|
| 13 |
|
| 14 |
+
This is a fine-tuned large language model based on Phi-3.5 Mini-Instruct, optimized for AI companion applications that require strict, machine-readable JSON output.
|
| 15 |
+
|
| 16 |
+
This was trained to always return responses in a consistent JSON format with response and emotion fields. This makes it easy to integrate with software that parses and uses AI outputs programmatically.
|
| 17 |
+
|
| 18 |
+
🔗 Project Nova, where i have used this model: https://github.com/Navjot-Singh7/Project-Nova
|
| 19 |
+
___
|
| 20 |
+
## Model Overview
|
| 21 |
+
|
| 22 |
+
* **Base Model: Phi-3.5 Mini-Instruct**
|
| 23 |
+
|
| 24 |
+
* **Fine-Tuned For: AI companion behavior with structured JSON output**
|
| 25 |
+
|
| 26 |
+
Output Format:
|
| 27 |
+
```bash
|
| 28 |
+
{
|
| 29 |
+
"response": "...",
|
| 30 |
+
"emotion": "..."
|
| 31 |
+
}
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
Primary Use Case: AI companion systems and applications where responses must be machine-readable.
|
| 35 |
+
___
|
| 36 |
+
## Capabilities
|
| 37 |
+
|
| 38 |
+
- This model has been fine-tuned to:
|
| 39 |
+
|
| 40 |
+
- Generate companion-style text that is appropriate, engaging, and in JSON format.
|
| 41 |
+
|
| 42 |
+
- Always include both:
|
| 43 |
+
|
| 44 |
+
- response: the AI’s text output
|
| 45 |
+
|
| 46 |
+
- emotion: a tag describing the emotional tone of the response
|
| 47 |
+
|
| 48 |
+
Produce outputs that are consistent and reliable for code integration.
|
| 49 |
+
___
|
| 50 |
+
## Intended Use
|
| 51 |
+
#### Primary Use Cases
|
| 52 |
+
|
| 53 |
+
- AI companion applications
|
| 54 |
+
- Virtual characters or avatars
|
| 55 |
+
- VTuber or assistant personalities
|
| 56 |
+
-Applications that require structured LLM output
|
| 57 |
+
- Emotion-aware conversational systems
|
| 58 |
+
|
| 59 |
+
___
|
| 60 |
+
|
| 61 |
+
## Training Details
|
| 62 |
+
|
| 63 |
+
**Custom Dataset -**
|
| 64 |
+
I created your own labeled dataset with 10–20 original samples with JSON-style examples.
|
| 65 |
+
|
| 66 |
+
**Synthetic Data Generation -**
|
| 67 |
+
Then I expanded this initial dataset using another language model to create a synthetic training corpus of ~1,800 samples.
|
| 68 |
+
|
| 69 |
+
**Fine-Tuning Environment -**
|
| 70 |
+
Training was performed using Google Colab.
|
| 71 |
+
|
| 72 |
+
**Dataset Composition -**
|
| 73 |
+
The dataset contains structured examples that guide the model to generate JSON output with response and emotion.
|
| 74 |
+
___
|
| 75 |
+
## Usage Example
|
| 76 |
+
Below is an example of how the model might respond in your application:
|
| 77 |
+
```bash
|
| 78 |
+
{
|
| 79 |
+
"response": "Hello! I'm fine thank you... uhm.. did you have a good day?",
|
| 80 |
+
"emotion": "happy"
|
| 81 |
+
}
|
| 82 |
+
```
|
| 83 |
+
This makes it easy to parse and handle both the semantic content (response) and the emotional context (emotion) in code.
|
| 84 |
+
___
|
| 85 |
+
## License
|
| 86 |
|
| 87 |
+
This project is licensed under the MIT License.
|
| 88 |
+
You are free to use, modify, and distribute this project for personal or educational purposes.
|
|
|
|
| 89 |
|
| 90 |
## Available Model files:
|
| 91 |
- `phi-3.5-mini-instruct.Q4_K_M.gguf`
|
|
|
|
| 93 |
## Ollama
|
| 94 |
An Ollama Modelfile is included for easy deployment.
|
| 95 |
This was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth)
|
| 96 |
+
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|