Instructions to use Codingstark/gemma3-270m-leetcode-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Codingstark/gemma3-270m-leetcode-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Codingstark/gemma3-270m-leetcode-gguf", filename="Gemma-3-leetcode.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Codingstark/gemma3-270m-leetcode-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Codingstark/gemma3-270m-leetcode-gguf # Run inference directly in the terminal: llama-cli -hf Codingstark/gemma3-270m-leetcode-gguf
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Codingstark/gemma3-270m-leetcode-gguf # Run inference directly in the terminal: llama-cli -hf Codingstark/gemma3-270m-leetcode-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 Codingstark/gemma3-270m-leetcode-gguf # Run inference directly in the terminal: ./llama-cli -hf Codingstark/gemma3-270m-leetcode-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 Codingstark/gemma3-270m-leetcode-gguf # Run inference directly in the terminal: ./build/bin/llama-cli -hf Codingstark/gemma3-270m-leetcode-gguf
Use Docker
docker model run hf.co/Codingstark/gemma3-270m-leetcode-gguf
- LM Studio
- Jan
- Ollama
How to use Codingstark/gemma3-270m-leetcode-gguf with Ollama:
ollama run hf.co/Codingstark/gemma3-270m-leetcode-gguf
- Unsloth Studio new
How to use Codingstark/gemma3-270m-leetcode-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 Codingstark/gemma3-270m-leetcode-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 Codingstark/gemma3-270m-leetcode-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Codingstark/gemma3-270m-leetcode-gguf to start chatting
- Docker Model Runner
How to use Codingstark/gemma3-270m-leetcode-gguf with Docker Model Runner:
docker model run hf.co/Codingstark/gemma3-270m-leetcode-gguf
- Lemonade
How to use Codingstark/gemma3-270m-leetcode-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Codingstark/gemma3-270m-leetcode-gguf
Run and chat with the model
lemonade run user.gemma3-270m-leetcode-gguf-{{QUANT_TAG}}List all available models
lemonade list
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# gemma3-270m-leetcode-gguf
|
| 2 |
+
|
| 3 |
+
**Original model**: [Codingstark/gemma3-270m-leetcode](https://huggingface.co/Codingstark/gemma3-270m-leetcode)
|
| 4 |
+
**Format**: GGUF
|
| 5 |
+
**Quantization**: bf16
|
| 6 |
+
|
| 7 |
+
This is a GGUF conversion of the Codingstark/gemma3-270m-leetcode model, optimized for use with applications like LM Studio, Ollama, and other GGUF-compatible inference engines.
|
| 8 |
+
|
| 9 |
+
## Usage
|
| 10 |
+
|
| 11 |
+
Load this model in any GGUF-compatible application by referencing the `.gguf` file.
|
| 12 |
+
|
| 13 |
+
## Model Details
|
| 14 |
+
|
| 15 |
+
- **Original Repository**: Codingstark/gemma3-270m-leetcode
|
| 16 |
+
- **Converted Format**: GGUF
|
| 17 |
+
- **Quantization Level**: bf16
|
| 18 |
+
- **Compatible With**: LM Studio, Ollama, llama.cpp, and other GGUF inference engines
|
| 19 |
+
|
| 20 |
+
## Conversion Process
|
| 21 |
+
|
| 22 |
+
This model was converted using the llama.cpp conversion scripts with the following settings:
|
| 23 |
+
- Input format: Hugging Face Transformers
|
| 24 |
+
- Output format: GGUF
|
| 25 |
+
- Quantization: bf16
|
| 26 |
+
|
| 27 |
+
## License
|
| 28 |
+
|
| 29 |
+
Please refer to the original model's license terms.
|