GGUF
English
mistral
llama.cpp
ollama
unsloth
indian-law
legal-ai
phi-3
qlora
kanoonu-ai
conversational
Instructions to use tejasgowda05/Kanoonu-AI-Phi3-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 tejasgowda05/Kanoonu-AI-Phi3-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 tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf tejasgowda05/Kanoonu-AI-Phi3-GGUF: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 tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf tejasgowda05/Kanoonu-AI-Phi3-GGUF: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 tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M
Use Docker
docker model run hf.co/tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use tejasgowda05/Kanoonu-AI-Phi3-GGUF with Ollama:
ollama run hf.co/tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use tejasgowda05/Kanoonu-AI-Phi3-GGUF with Docker Model Runner:
docker model run hf.co/tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M
- Lemonade
How to use tejasgowda05/Kanoonu-AI-Phi3-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Kanoonu-AI-Phi3-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Updated Readme.md
Browse files
README.md
CHANGED
|
@@ -62,31 +62,7 @@ Q4_K_M is a 4-bit quantization method that compresses the model to ~2.2GB with n
|
|
| 62 |
ollama run hf.co/tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M
|
| 63 |
```
|
| 64 |
|
| 65 |
-
**OR run with custom Kanoonu AI identity:**
|
| 66 |
|
| 67 |
-
Create a file called `Modelfile` with this content:
|
| 68 |
-
```
|
| 69 |
-
FROM hf.co/tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M
|
| 70 |
-
|
| 71 |
-
TEMPLATE """{{ if .System }}<|system|>
|
| 72 |
-
{{ .System }}<|end|>
|
| 73 |
-
{{ end }}{{ if .Prompt }}<|user|>
|
| 74 |
-
{{ .Prompt }}<|end|>
|
| 75 |
-
{{ end }}<|assistant|>
|
| 76 |
-
{{ .Response }}<|end|>"""
|
| 77 |
-
|
| 78 |
-
SYSTEM """You are Kanoonu AI, an expert Indian legal assistant created by Tejas Gowda."""
|
| 79 |
-
|
| 80 |
-
PARAMETER temperature 0.3
|
| 81 |
-
PARAMETER num_predict 300
|
| 82 |
-
PARAMETER num_ctx 2048
|
| 83 |
-
```
|
| 84 |
-
|
| 85 |
-
Then run:
|
| 86 |
-
```bash
|
| 87 |
-
ollama create kanoonu-ai -f Modelfile
|
| 88 |
-
ollama run kanoonu-ai
|
| 89 |
-
```
|
| 90 |
|
| 91 |
### Option 2 — llama.cpp CLI
|
| 92 |
|
|
@@ -164,7 +140,7 @@ tejasgowda05/Kanoonu-AI-Phi3-GGUF ← you are here
|
|
| 164 |
| Final Train Loss | 0.3478 |
|
| 165 |
| Best Eval Loss | 0.6568 |
|
| 166 |
| Training Examples | 23,370 |
|
| 167 |
-
| Training Time | ~
|
| 168 |
|
| 169 |
---
|
| 170 |
|
|
|
|
| 62 |
ollama run hf.co/tejasgowda05/Kanoonu-AI-Phi3-GGUF:Q4_K_M
|
| 63 |
```
|
| 64 |
|
|
|
|
| 65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
### Option 2 — llama.cpp CLI
|
| 68 |
|
|
|
|
| 140 |
| Final Train Loss | 0.3478 |
|
| 141 |
| Best Eval Loss | 0.6568 |
|
| 142 |
| Training Examples | 23,370 |
|
| 143 |
+
| Training Time | ~270 minutes |
|
| 144 |
|
| 145 |
---
|
| 146 |
|