Instructions to use kenpath/bharat-pii-gemma-3-270m-it-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use kenpath/bharat-pii-gemma-3-270m-it-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="kenpath/bharat-pii-gemma-3-270m-it-gguf", filename="bharat-pii-gemma-3-270m-it-v0.7-f16.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use kenpath/bharat-pii-gemma-3-270m-it-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf kenpath/bharat-pii-gemma-3-270m-it-gguf:F16 # Run inference directly in the terminal: llama-cli -hf kenpath/bharat-pii-gemma-3-270m-it-gguf:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf kenpath/bharat-pii-gemma-3-270m-it-gguf:F16 # Run inference directly in the terminal: llama-cli -hf kenpath/bharat-pii-gemma-3-270m-it-gguf:F16
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 kenpath/bharat-pii-gemma-3-270m-it-gguf:F16 # Run inference directly in the terminal: ./llama-cli -hf kenpath/bharat-pii-gemma-3-270m-it-gguf:F16
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 kenpath/bharat-pii-gemma-3-270m-it-gguf:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf kenpath/bharat-pii-gemma-3-270m-it-gguf:F16
Use Docker
docker model run hf.co/kenpath/bharat-pii-gemma-3-270m-it-gguf:F16
- LM Studio
- Jan
- Ollama
How to use kenpath/bharat-pii-gemma-3-270m-it-gguf with Ollama:
ollama run hf.co/kenpath/bharat-pii-gemma-3-270m-it-gguf:F16
- Unsloth Studio
How to use kenpath/bharat-pii-gemma-3-270m-it-gguf 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 kenpath/bharat-pii-gemma-3-270m-it-gguf 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 kenpath/bharat-pii-gemma-3-270m-it-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kenpath/bharat-pii-gemma-3-270m-it-gguf to start chatting
- Atomic Chat new
- Docker Model Runner
How to use kenpath/bharat-pii-gemma-3-270m-it-gguf with Docker Model Runner:
docker model run hf.co/kenpath/bharat-pii-gemma-3-270m-it-gguf:F16
- Lemonade
How to use kenpath/bharat-pii-gemma-3-270m-it-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kenpath/bharat-pii-gemma-3-270m-it-gguf:F16
Run and chat with the model
lemonade run user.bharat-pii-gemma-3-270m-it-gguf-F16
List all available models
lemonade list
adityachhabra commited on
Commit ·
d6e103f
1
Parent(s): 998ed2d
Add 270M v0.7 GGUF: f16 and q8_0; update checksums and README
Browse files- README.md +4 -4
- SHA256SUMS.txt +2 -2
- bharat-pii-gemma-3-270m-it-v0.7-f16.gguf +3 -0
- bharat-pii-gemma-3-270m-it-v0.7_q8_0.gguf +3 -0
README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
## Bharat PII Gemma 3
|
| 2 |
|
| 3 |
Files
|
| 4 |
-
- bharat-pii-gemma-3-
|
| 5 |
-
- bharat-pii-gemma-3-
|
| 6 |
|
| 7 |
Notes
|
| 8 |
- GGUF is self-contained (includes tokenizer/config metadata).
|
|
@@ -10,4 +10,4 @@ Notes
|
|
| 10 |
- Suggested: q8_0 for general use, f16 for reference/evaluation.
|
| 11 |
|
| 12 |
Example (llama.cpp)
|
| 13 |
-
- ./main -m ./bharat-pii-gemma-3-
|
|
|
|
| 1 |
+
## Bharat PII Gemma 3 1B (GGUF)
|
| 2 |
|
| 3 |
Files
|
| 4 |
+
- bharat-pii-gemma-3-1b-it-v0.3-f16.gguf
|
| 5 |
+
- bharat-pii-gemma-3-1b-it-v0.3_q8_0.gguf
|
| 6 |
|
| 7 |
Notes
|
| 8 |
- GGUF is self-contained (includes tokenizer/config metadata).
|
|
|
|
| 10 |
- Suggested: q8_0 for general use, f16 for reference/evaluation.
|
| 11 |
|
| 12 |
Example (llama.cpp)
|
| 13 |
+
- ./main -m ./bharat-pii-gemma-3-1b-it-v0.3-q8_0.gguf -p "Hello"
|
SHA256SUMS.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
|
| 2 |
-
|
|
|
|
| 1 |
+
dc7666d6a75f0aca0d543c214448f41ff59d50f7ebb0aee8f7f4326af8b839d5 bharat-pii-gemma-3-270m-it-v0.7-f16.gguf
|
| 2 |
+
c59e5995f9d4ab955151a3411cdf055bbcd3fa74104cfec70e46a9a9012edf31 bharat-pii-gemma-3-270m-it-v0.7_q8_0.gguf
|
bharat-pii-gemma-3-270m-it-v0.7-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc7666d6a75f0aca0d543c214448f41ff59d50f7ebb0aee8f7f4326af8b839d5
|
| 3 |
+
size 542835520
|
bharat-pii-gemma-3-270m-it-v0.7_q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c59e5995f9d4ab955151a3411cdf055bbcd3fa74104cfec70e46a9a9012edf31
|
| 3 |
+
size 291545920
|