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2-360M-Instruct
|
| 10 |
+
tags:
|
| 11 |
+
- gaming
|
| 12 |
+
- minecraft
|
| 13 |
+
- mindcraft
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# 🧠 Andy‑4-tiny 🐜
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
**Andy‑4-tiny** is an 360 Million‑parameter specialist model tuned for Minecraft gameplay via the Mindcraft framework.
|
| 20 |
+
**The Current version of Andy-4-tiny is** `Andy-4-tiny-0522`.
|
| 21 |
+
|
| 22 |
+
> ⚠️ **Certification:**
|
| 23 |
+
> Andy‑4 is **not yet certified** by the Mindcraft developers. Use in production at your own discretion.
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
## 🔍 Model Specifications
|
| 27 |
+
|
| 28 |
+
- **Parameters:** 360M
|
| 29 |
+
- **Training Hardware:** 1 × NVIDIA RTX 3070
|
| 30 |
+
- **Duration:** ~ 36 hours total
|
| 31 |
+
- **Data Volumes:**
|
| 32 |
+
- **Messages:** 179,384
|
| 33 |
+
- **Tokens:** 425,535,198
|
| 34 |
+
- **Conversations:** 62,149
|
| 35 |
+
|
| 36 |
+
- **Base Architecture:** SmolLM2
|
| 37 |
+
- **License:** [Andy 1.0 License](LICENSE)
|
| 38 |
+
- **Repository:** https://huggingface.co/Sweaterdog/Andy‑4
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## 📊 Training Regimen
|
| 43 |
+
|
| 44 |
+
1. **Andy‑4‑base‑1** dataset
|
| 45 |
+
- **Epochs:** 2
|
| 46 |
+
- **Learning Rate:** 5e-5
|
| 47 |
+
- **Dataset Size:** 47.4k
|
| 48 |
+
|
| 49 |
+
2. **Andy‑4‑base-2** dataset
|
| 50 |
+
- **Epochs:** 2
|
| 51 |
+
- **Learning Rate:** 7e-5
|
| 52 |
+
- **Dataset Size:** 49.2k
|
| 53 |
+
|
| 54 |
+
3. **Fine‑tune (FT) dataset**
|
| 55 |
+
- **Epochs:** 2.5
|
| 56 |
+
- **Learning Rate:** 2e-5
|
| 57 |
+
- **Dataset Size:** 4.12k
|
| 58 |
+
|
| 59 |
+
- **Optimizer:** AdamW_8bit with cosine decay
|
| 60 |
+
- **Quantization:** 4‑bit (`bnb-4bit`) for inference
|
| 61 |
+
- **Warm Up Steps:** 0.1% of each dataset
|
| 62 |
+
|
| 63 |
+
---
|
| 64 |
+
|
| 65 |
+
## 🚀 Installation
|
| 66 |
+
|
| 67 |
+
Andy-4-tiny is an Edge-case model, built to run on the CPU and use minimal ram
|
| 68 |
+
|
| 69 |
+
| Quantization | RAM Required |
|
| 70 |
+
|--------------|---------------|
|
| 71 |
+
| F16 | CPU |
|
| 72 |
+
| Q8_0 | CPU |
|
| 73 |
+
| Q4_K_M | CPU |
|
| 74 |
+
|
| 75 |
+
### 1. Installation directly on Ollama
|
| 76 |
+
|
| 77 |
+
1. Visit [Andy-4 on Ollama](https://ollama.com/Sweaterdog/Andy-4)
|
| 78 |
+
2. Copy the command after choosing model type / quantization
|
| 79 |
+
3. Run the command in the terminal
|
| 80 |
+
4. Set the profile's model to be what you installed, such as `ollama/sweaterdog/andy-4:tiny-q8_0`
|
| 81 |
+
|
| 82 |
+
### 2. Manual Download & Modelfile
|
| 83 |
+
|
| 84 |
+
1. **Download**
|
| 85 |
+
- From the HF **Files** tab, grab your chosen `.GGUF` quant weights (e.g. `Andy-4-tiny.Q4_K_M.gguf`).
|
| 86 |
+
- Download the provided `Modelfile`.
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
2. **Edit**
|
| 90 |
+
|
| 91 |
+
Change
|
| 92 |
+
```text
|
| 93 |
+
FROM YOUR/PATH/HERE
|
| 94 |
+
```
|
| 95 |
+
to
|
| 96 |
+
```text
|
| 97 |
+
FROM /path/to/Andy-4-tiny.Q4_K_M.gguf
|
| 98 |
+
```
|
| 99 |
+
*Optional*:
|
| 100 |
+
Increase the parameter `num_ctx` to a higher value for longer conversations if you:
|
| 101 |
+
|
| 102 |
+
**A.** Have extra VRAM
|
| 103 |
+
|
| 104 |
+
**B.** Quantized the context window
|
| 105 |
+
|
| 106 |
+
**C.** Can use a smaller model
|
| 107 |
+
|
| 108 |
+
3. **Create**
|
| 109 |
+
```bash
|
| 110 |
+
ollama create andy-4-tiny -f Modelfile
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
This registers the **Andy‑4-tiny** model locally.
|
| 114 |
+
|
| 115 |
+
---
|
| 116 |
+
|
| 117 |
+
## 📌 Acknowledgments
|
| 118 |
+
|
| 119 |
+
<details>
|
| 120 |
+
<summary>Click to expand</summary>
|
| 121 |
+
|
| 122 |
+
- **Data & Models by:** @Sweaterdog
|
| 123 |
+
- **Framework:** Mindcraft (https://github.com/kolbytn/mindcraft)
|
| 124 |
+
- **LoRA Weights:** https://huggingface.co/Sweaterdog/Andy-4-LoRA
|
| 125 |
+
- *Explicit credit is not granted to Meta since this model was trained off of a slightly different architecture, from [DeepSeek-R1](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-8B)
|
| 126 |
+
</details>
|
| 127 |
+
|
| 128 |
+
---
|
| 129 |
+
|
| 130 |
+
## ⚖️ License
|
| 131 |
+
|
| 132 |
+
See [Andy 1.0 License](LICENSE).
|
| 133 |
+
|
| 134 |
+
*This work uses data and models created by @Sweaterdog.*
|