Add model card with metadata
Browse files
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- text-generation
|
| 7 |
+
- gguf
|
| 8 |
+
- gemma
|
| 9 |
+
- summarization
|
| 10 |
+
base_model: google/gemma-3-270m-it
|
| 11 |
+
model_type: gemma
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# catnip-summarizer
|
| 15 |
+
|
| 16 |
+
Fine-tuned Gemma-3-270M for task summarization and branch naming
|
| 17 |
+
|
| 18 |
+
## Model Details
|
| 19 |
+
|
| 20 |
+
- **Base Model**: google/gemma-3-270m-it
|
| 21 |
+
- **Format**: GGUF (quantized for efficient inference)
|
| 22 |
+
- **Quantization**: Q4_K_M
|
| 23 |
+
- **Use Case**: Generating concise task titles and git branch names
|
| 24 |
+
|
| 25 |
+
## Training
|
| 26 |
+
|
| 27 |
+
- **Training Run**: [https://wandb.ai/vanpelt/summarizer/runs/jh27ahps](https://wandb.ai/vanpelt/summarizer/runs/jh27ahps)
|
| 28 |
+
|
| 29 |
+
## Usage
|
| 30 |
+
|
| 31 |
+
### With Ollama
|
| 32 |
+
|
| 33 |
+
```bash
|
| 34 |
+
ollama pull hf.co/vanpelt/catnip-summarizer
|
| 35 |
+
ollama run hf.co/vanpelt/catnip-summarizer
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
### With llama.cpp
|
| 39 |
+
|
| 40 |
+
```bash
|
| 41 |
+
# Download the GGUF file
|
| 42 |
+
huggingface-cli download vanpelt/catnip-summarizer gemma3-270m-summarizer-Q4_K_M.gguf
|
| 43 |
+
|
| 44 |
+
# Run with llama.cpp
|
| 45 |
+
./main -m gemma3-270m-summarizer-Q4_K_M.gguf -p 'Your prompt here'
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
## Files
|
| 49 |
+
|
| 50 |
+
- `tokenizer.json` (31.8 MB)
|
| 51 |
+
- `tokenizer_config.json` (1.1 MB)
|
| 52 |
+
- `added_tokens.json` (0.0 MB)
|
| 53 |
+
- `chat_template.jinja` (0.0 MB)
|
| 54 |
+
- `Modelfile` (0.0 MB)
|
| 55 |
+
- `template` (0.0 MB)
|
| 56 |
+
- `system` (0.0 MB)
|
| 57 |
+
- `model.safetensors` (511.4 MB)
|
| 58 |
+
- `gemma3-270m-summarizer-Q4_K_M.gguf` (241.4 MB)
|
| 59 |
+
- `special_tokens_map.json` (0.0 MB)
|
| 60 |
+
- `config.json` (0.0 MB)
|
| 61 |
+
- `params` (0.0 MB)
|
| 62 |
+
- `tokenizer.model` (4.5 MB)
|