Question Answering
Transformers
GGUF
English
gemma
text-generation-inference
unsloth
static-analysis
code-review
conversational
Instructions to use doss1232/CodeGemma-Offensive-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use doss1232/CodeGemma-Offensive-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="doss1232/CodeGemma-Offensive-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("doss1232/CodeGemma-Offensive-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use doss1232/CodeGemma-Offensive-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 doss1232/CodeGemma-Offensive-GGUF:F16 # Run inference directly in the terminal: llama cli -hf doss1232/CodeGemma-Offensive-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf doss1232/CodeGemma-Offensive-GGUF:F16 # Run inference directly in the terminal: llama cli -hf doss1232/CodeGemma-Offensive-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 doss1232/CodeGemma-Offensive-GGUF:F16 # Run inference directly in the terminal: ./llama-cli -hf doss1232/CodeGemma-Offensive-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 doss1232/CodeGemma-Offensive-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf doss1232/CodeGemma-Offensive-GGUF:F16
Use Docker
docker model run hf.co/doss1232/CodeGemma-Offensive-GGUF:F16
- LM Studio
- Jan
- Ollama
How to use doss1232/CodeGemma-Offensive-GGUF with Ollama:
ollama run hf.co/doss1232/CodeGemma-Offensive-GGUF:F16
- Unsloth Desktop
- Docker Model Runner
How to use doss1232/CodeGemma-Offensive-GGUF with Docker Model Runner:
docker model run hf.co/doss1232/CodeGemma-Offensive-GGUF:F16
- Lemonade
How to use doss1232/CodeGemma-Offensive-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull doss1232/CodeGemma-Offensive-GGUF:F16
Run and chat with the model
lemonade run user.CodeGemma-Offensive-GGUF-F16
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,10 +5,12 @@ tags:
|
|
| 5 |
- transformers
|
| 6 |
- unsloth
|
| 7 |
- gemma
|
| 8 |
-
-
|
|
|
|
| 9 |
license: apache-2.0
|
| 10 |
language:
|
| 11 |
- en
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Uploaded model
|
|
@@ -34,4 +36,4 @@ It takes about 20GB to download and used 20GB RAM also.
|
|
| 34 |
|
| 35 |
# Usage
|
| 36 |
|
| 37 |
-

|
|
|
|
| 5 |
- transformers
|
| 6 |
- unsloth
|
| 7 |
- gemma
|
| 8 |
+
- static-analysis
|
| 9 |
+
- code-review
|
| 10 |
license: apache-2.0
|
| 11 |
language:
|
| 12 |
- en
|
| 13 |
+
pipeline_tag: question-answering
|
| 14 |
---
|
| 15 |
|
| 16 |
# Uploaded model
|
|
|
|
| 36 |
|
| 37 |
# Usage
|
| 38 |
|
| 39 |
+

|