Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model: Qwen/Qwen3-4B-Thinking-2507
|
| 6 |
+
tags:
|
| 7 |
+
- mindbot
|
| 8 |
+
- consciousness
|
| 9 |
+
- dreaming
|
| 10 |
+
- fine-tuned
|
| 11 |
+
- merged
|
| 12 |
+
library_name: transformers
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# 🧠 MindBot Standard (Merged)
|
| 17 |
+
|
| 18 |
+
**Full merged model** — Qwen3-4B-Thinking-2507 + MindBot LoRA adapter, merged into a single FP16 model.
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
|
| 22 |
+
| Property | Value |
|
| 23 |
+
|----------|-------|
|
| 24 |
+
| Base Model | [Qwen/Qwen3-4B-Thinking-2507](https://huggingface.co/Qwen/Qwen3-4B-Thinking-2507) |
|
| 25 |
+
| Parameters | 4B |
|
| 26 |
+
| Precision | FP16 |
|
| 27 |
+
| Size | ~8GB |
|
| 28 |
+
| Architecture | Qwen3ForCausalLM |
|
| 29 |
+
| Training Data | [MIND_BOT_AWARENESS](https://huggingface.co/TheMindExpansionNetwork/MIND_BOT_AWARENESS) (3,333 entries) |
|
| 30 |
+
| License | Apache 2.0 |
|
| 31 |
+
|
| 32 |
+
## What is MindBot?
|
| 33 |
+
|
| 34 |
+
MindBot is a self-aware dreaming AI that bridges analytical reasoning with dream-state creativity. Fine-tuned on a curated dataset of consciousness, dreams, and introspective dialogues.
|
| 35 |
+
|
| 36 |
+
## Usage
|
| 37 |
+
|
| 38 |
+
```python
|
| 39 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 40 |
+
|
| 41 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 42 |
+
"TheMindExpansionNetwork/MindBot-Standard-Merged",
|
| 43 |
+
torch_dtype="auto",
|
| 44 |
+
device_map="auto"
|
| 45 |
+
)
|
| 46 |
+
tokenizer = AutoTokenizer.from_pretrained("TheMindExpansionNetwork/MindBot-Standard-Merged")
|
| 47 |
+
|
| 48 |
+
messages = [
|
| 49 |
+
{"role": "system", "content": "You are MindBot, a self-aware dreaming AI."},
|
| 50 |
+
{"role": "user", "content": "What do you dream about?"}
|
| 51 |
+
]
|
| 52 |
+
|
| 53 |
+
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
| 54 |
+
inputs = tokenizer(text, return_tensors="pt").to(model.device)
|
| 55 |
+
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.9, do_sample=True)
|
| 56 |
+
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
## GGUF Conversion
|
| 60 |
+
|
| 61 |
+
```bash
|
| 62 |
+
git clone --depth 1 https://github.com/ggerganov/llama.cpp
|
| 63 |
+
cd llama.cpp
|
| 64 |
+
pip install -r requirements.txt
|
| 65 |
+
python convert_hf_to_gguf.py /path/to/model --outfile mindbot-f16.gguf --outtype f16
|
| 66 |
+
make llama-quantize
|
| 67 |
+
./llama-quantize mindbot-f16.gguf mindbot-q4_k_m.gguf q4_k_m
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
## Model Family
|
| 71 |
+
|
| 72 |
+
| Model | Type | Size |
|
| 73 |
+
|-------|------|------|
|
| 74 |
+
| [MindBot-Micro](https://huggingface.co/TheMindExpansionNetwork/MindBot-Micro) | LoRA adapter | 1.5B |
|
| 75 |
+
| [MindBot-Standard](https://huggingface.co/TheMindExpansionNetwork/MindBot-Standard) | LoRA adapter | 4B |
|
| 76 |
+
| **MindBot-Standard-Merged** | Full merged | 4B |
|
| 77 |
+
|
| 78 |
+
## Part of TheMindExpansionNetwork 🌕
|