Instructions to use Subject-Emu-5259/NeuralAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Subject-Emu-5259/NeuralAI with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- README.md +48 -242
- adapter_config.json +4 -10
- adapter_model.safetensors +1 -1
- chat_template.jinja +6 -1
- merges.txt +0 -0
- special_tokens_map.json +34 -0
- tokenizer.json +13 -34
- tokenizer_config.json +143 -7
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
CHANGED
|
@@ -1,263 +1,69 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
tags:
|
| 4 |
-
- smolllm
|
| 5 |
-
- lora
|
| 6 |
-
- dpo
|
| 7 |
-
- neuralai
|
| 8 |
-
- peft
|
| 9 |
-
- alignment
|
| 10 |
-
- 360m
|
| 11 |
-
library_name: peft
|
| 12 |
-
base_model: HuggingFaceTB/SmolLM2-360M-Instruct
|
| 13 |
-
pipeline_tag: text-generation
|
| 14 |
-
---
|
| 15 |
-
---
|
| 16 |
-
license: apache-2.0
|
| 17 |
-
tags:
|
| 18 |
-
- smolllm
|
| 19 |
-
- lora
|
| 20 |
-
- dpo
|
| 21 |
-
- neuralai
|
| 22 |
-
- peft
|
| 23 |
-
- alignment
|
| 24 |
-
- 360m
|
| 25 |
-
library_name: peft
|
| 26 |
base_model: HuggingFaceTB/SmolLM2-360M-Instruct
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
---
|
| 31 |
-
license: apache-2.0
|
| 32 |
tags:
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
- peft
|
| 38 |
-
- alignment
|
| 39 |
-
- 360m
|
| 40 |
-
library_name: peft
|
| 41 |
-
base_model: HuggingFaceTB/SmolLM2-360M-Instruct
|
| 42 |
-
pipeline_tag: text-generation
|
| 43 |
-
---
|
| 44 |
-
---
|
| 45 |
-
license: apache-2.0
|
| 46 |
-
tags:
|
| 47 |
-
- smolllm
|
| 48 |
-
- lora
|
| 49 |
-
- dpo
|
| 50 |
-
- neuralai
|
| 51 |
-
- peft
|
| 52 |
-
- alignment
|
| 53 |
-
- 360m
|
| 54 |
-
library_name: peft
|
| 55 |
-
base_model: HuggingFaceTB/SmolLM2-360M-Instruct
|
| 56 |
-
pipeline_tag: text-generation
|
| 57 |
-
---
|
| 58 |
-
|
| 59 |
-
---
|
| 60 |
-
license: apache-2.0
|
| 61 |
-
tags:
|
| 62 |
-
- smolllm
|
| 63 |
-
- lora
|
| 64 |
-
- dpo
|
| 65 |
-
- neuralai
|
| 66 |
-
- peft
|
| 67 |
-
- alignment
|
| 68 |
-
- 360m
|
| 69 |
-
library_name: peft
|
| 70 |
-
base_model: HuggingFaceTB/SmolLM2-360M-Instruct
|
| 71 |
-
pipeline_tag: text-generation
|
| 72 |
-
---
|
| 73 |
-
|
| 74 |
-
# 🧠 NeuralAI: The Generative AI Engine
|
| 75 |
-
|
| 76 |
-
<img src="neuralai_banner.svg" alt="NeuralAI - Your AI. On your hardware. In your browser." />
|
| 77 |
-
|
| 78 |
-
## 📊 Repository Composition
|
| 79 |
-
|
| 80 |
-
| Language | Percentage |
|
| 81 |
-
| --- | --- |
|
| 82 |
-
| Python | 71.1% |
|
| 83 |
-
| HTML | 13.0% |
|
| 84 |
-
| JavaScript | 12.4% |
|
| 85 |
-
| CSS | 2.6% |
|
| 86 |
-
| Shell | 0.4% |
|
| 87 |
-
| Jupyter Notebook | 0.3% |
|
| 88 |
-
| Jinja | 0.2% |
|
| 89 |
-
|
| 90 |
-
**The High-Velocity Model for Your Entire Vibe Stack**
|
| 91 |
-
|
| 92 |
-
NeuralAI is the central intelligence engine developed for **Harris Holdings**. Conceived and engineered by **De'Andrew Preston Harris** (Founder), it is a highly tuned, DPO-aligned multimodal AI ec\[...\]
|
| 93 |
-
|
| 94 |
-
---
|
| 95 |
-
|
| 96 |
-
## 🌟 Vision & Manifesto
|
| 97 |
-
|
| 98 |
-
NeuralAI doesn't just predict text; it *operates the work*. The core mission is to create a multimodal generative system that bridges the gap between raw idea and execution. By fusing autoregressi\[...\]
|
| 99 |
-
|
| 100 |
-
Born from resilience and ambition in Memphis, Tennessee and West Memphis, Arkansas, NeuralAI represents a forward-thinking approach to personal, private AI computing.
|
| 101 |
-
|
| 102 |
-
---
|
| 103 |
-
|
| 104 |
-
## 🛠️ Tech Stack & Architecture (v7.1-alpha)
|
| 105 |
-
|
| 106 |
-
NeuralAI is built on a high-performance, containerized architecture that marries local inference with cloud-grade storage.
|
| 107 |
-
|
| 108 |
-
### Core Stack
|
| 109 |
-
|
| 110 |
-
- **Core Model**: `SmolLM2-360M-Instruct` (DPO v13.0 Aligned for logic, math, multi-step reasoning, and debugging)
|
| 111 |
-
- **Vocal Identity**: Andrew (Warm/Multilingual) - Optimized for Live Speech-to-Speech (S2S)
|
| 112 |
-
- **Backend Framework**: Python / Flask (Core Service)
|
| 113 |
-
- **Storage & Database**: SQLite3 (Metadata) + Nextcloud Hub via NeuralCloud WebDAV Client (NeuralDrive)
|
| 114 |
-
- **Inference Engine**: PyTorch (CPU/Edge Optimized)
|
| 115 |
-
- **Frontend UI**: Vanilla JS, HTML5, CSS3 with an advanced Dark Mode layout
|
| 116 |
-
|
| 117 |
-
### Core Architectural Pillars
|
| 118 |
-
|
| 119 |
-
1. **NeuralAI Core**: Handles chat state, direct model inference, terminal session proxying, and tool orchestration.
|
| 120 |
-
2. **NeuralDrive (Cloud Storage)**: The intelligent data layer for all projects, featuring isolated user storage, automatic versioning, and semantic mapping.
|
| 121 |
-
3. **Diffusion Engine**: An integrated generative diffusion layer for producing visual branding assets, UI mockups, and visual logic maps.
|
| 122 |
-
4. **Agentic Orchestrator**: A high-autonomy layer enabling NeuralAI to plan, reason, and execute multi-step workflows across the OS and web, moving beyond simple chat to active goal achievement.
|
| 123 |
-
|
| 124 |
-
---
|
| 125 |
-
|
| 126 |
-
## ✨ Key Features & Capabilities
|
| 127 |
-
|
| 128 |
-
### 💬 Multimodal Chat & Agentic Intelligence
|
| 129 |
-
|
| 130 |
-
- **High-Velocity Text Inference**: Fast, local inference with deep context awareness.
|
| 131 |
-
- **Deep Reasoning Mode**: Integration of test-time compute and chain-of-thought reasoning for complex problem decomposition and error-free logic.
|
| 132 |
-
- **Autonomous Agentic Workflows**: Ability to operate as an agent—interacting with the browser, terminal, and third-party apps to complete end-to-end tasks with minimal supervision.
|
| 133 |
-
- **Live S2S (Speech-to-Speech)**: Real-time voice interaction with an integrated microphone interface and fluid vocal responses.
|
| 134 |
-
- **Identity Vault & Memory**: Persistent user memory and rule constraints, ensuring NeuralAI remembers preferences, behavioral rules, and historical context.
|
| 135 |
-
|
| 136 |
-
### 💻 Developer & Engineering Tools
|
| 137 |
-
|
| 138 |
-
- **Integrated Web Terminal**: A fully functional, WebSocket-driven terminal embedded directly in the web UI for immediate environment control.
|
| 139 |
-
- **File Workspace**: An in-browser IDE experience allowing users to browse directories, read, and write code seamlessly.
|
| 140 |
-
- **Code Execution & Sandbox**: Secure environment for the model to execute and test code on the fly.
|
| 141 |
-
|
| 142 |
-
### 🔐 Authentication & Access Tiers
|
| 143 |
-
|
| 144 |
-
- **Founder Mode**: Ultimate root-level access and system control.
|
| 145 |
-
- **Maestro Student Portal**: Tiered access for educational and collaborative development.
|
| 146 |
-
- **Guest Preview**: Frictionless instant access for testing the system without an account.
|
| 147 |
-
|
| 148 |
---
|
| 149 |
|
| 150 |
-
#
|
| 151 |
|
| 152 |
-
|
|
|
|
| 153 |
|
| 154 |
-
##
|
| 155 |
|
| 156 |
```python
|
| 157 |
-
|
| 158 |
-
dpo_config = DPOConfig(
|
| 159 |
-
beta=0.1,
|
| 160 |
-
learning_rate=5e-5,
|
| 161 |
-
per_device_train_batch_size=4,
|
| 162 |
-
gradient_accumulation_steps=4,
|
| 163 |
-
max_length=1024,
|
| 164 |
-
max_prompt_length=512,
|
| 165 |
-
)
|
| 166 |
-
```
|
| 167 |
-
|
| 168 |
-
- **Dataset Expansions**: The dataset is aggressively expanded to include advanced reasoning, complex mathematics, logical deduction, creative writing, and system debugging.
|
| 169 |
-
- **Behavioral Alignment**: NeuralAI is specifically tuned to adhere strictly to the "Harris Holdings" vibe—maintaining a professional, technical, and highly disciplined engineering tone.
|
| 170 |
-
- **Model Drift Monitoring**: Continuous evaluation against previous checkpoints to ensure response quality and consistency never regress.
|
| 171 |
-
|
| 172 |
-
### Latest Alignment Run: v13.0
|
| 173 |
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
- **Best validation loss**: `0.7232` at step `69`
|
| 179 |
-
- **Earlier eval losses**: `1.6713` at step `23`, `0.8969` at step `46`
|
| 180 |
-
- **Relative improvement**: `56.73%` reduction from the first eval checkpoint to the best checkpoint
|
| 181 |
-
- **Run duration**: `1571.4s` (~26m 11s)
|
| 182 |
-
- **Completed**: `2026-05-17 08:41 UTC`
|
| 183 |
-
|
| 184 |
-
---
|
| 185 |
-
|
| 186 |
-
## 📸 Brand & UI Gallery
|
| 187 |
-
|
| 188 |
-
*(UI screenshots showcase the beautiful dark mode interface, the terminal integration, and the NeuralDrive file explorer.)*
|
| 189 |
-
|
| 190 |
-
```html
|
| 191 |
-
<!-- Example Frontend UI Component Structure -->
|
| 192 |
-
<div class="neural-chat-container">
|
| 193 |
-
<div class="message-bubble ai-response">
|
| 194 |
-
NeuralAI: System optimal. Ready for execution.
|
| 195 |
-
</div>
|
| 196 |
-
</div>
|
| 197 |
```
|
| 198 |
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
## 🗺️ Implementation Roadmap
|
| 202 |
-
|
| 203 |
-
- ✅ **Phase 1: Alignment** - DPO training for Founder context and optimal engineering tone.
|
| 204 |
-
- ✅ **Phase 2: NeuralDrive** - Deployment of the Cloud Storage File Server.
|
| 205 |
-
- ✅ **Phase 3: Terminal UI** - Integrated command-line access within the browser.
|
| 206 |
-
- ✅ **Phase 4: Live S2S** - High-velocity Live Speech-to-Speech conversations.
|
| 207 |
-
- ✅ **Phase 5: "Founder Mode"** - Enhancements to vocal profile and streamlined UI.
|
| 208 |
-
- ✅ **Phase 6: Frontend Polish** - Dark themes, real-time code execution display, UI stability.
|
| 209 |
-
- ✅ **Phase 7: Diffusion Integration** - Implementation of Text2Img & Img2Img capabilities.
|
| 210 |
-
- 🚀 **Phase 8: Knowledge Graph & Agentic Autonomy** - Advanced long-term memory for cross-project context, "Supermemory" features, and fully autonomous task execution.
|
| 211 |
-
|
| 212 |
-
---
|
| 213 |
-
|
| 214 |
-
## 🎯 Future Vision: The Software Transition
|
| 215 |
|
| 216 |
-
|
| 217 |
|
| 218 |
-
**Project Code Name**: `NeuralLabs` (Working Title)
|
| 219 |
-
**Vision**: A local-first, AI-native operating environment that integrates the Agentic Orchestrator, World-Brain, and NeuralDrive into a seamless desktop experience—similar to the "Codex" model but expanded into a full cognitive workspace.
|
| 220 |
|
| 221 |
-
|
| 222 |
|
| 223 |
-
|
| 224 |
-
- **NeuralLabs v2 (Edge)**: Local model execution (Llama/Mistral) as a fallback for the cloud-based NeuralAI core.
|
| 225 |
-
- **NeuralLabs v3 (Eco)**: Plugin architecture allowing third-party "Neural-Skills" to be installed as standalone apps.
|
| 226 |
|
| 227 |
-
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
*Founder, Harris Holdings & Architect of NeuralAI*
|
| 233 |
|
| 234 |
-
|
| 235 |
|
| 236 |
-
|
| 237 |
-
- **Vision:** Building the future of private, high-performance generative AI.
|
| 238 |
-
- [LinkedIn](https://www.linkedin.com/in/deandrewharris94/) | [GitHub](https://github.com/Subject-Emu-5259)
|
| 239 |
-
|
| 240 |
-
---
|
| 241 |
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
# 🌌 NeuralAI Project Manifest
|
| 254 |
-
|
| 255 |
-
NeuralAI is the intelligence core that powers the ecosystem.
|
| 256 |
-
|
| 257 |
-
## 🔗 Ecosystem Integration
|
| 258 |
-
The standalone software implementation of this core is **NeuralLabs**:
|
| 259 |
-
👉 [https://github.com/Subject-Emu-5259/NeuralLabs](https://github.com/Subject-Emu-5259/NeuralLabs)
|
| 260 |
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
base_model: HuggingFaceTB/SmolLM2-360M-Instruct
|
| 3 |
+
library_name: transformers
|
| 4 |
+
model_name: NeuralAI
|
|
|
|
|
|
|
|
|
|
| 5 |
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
- trl
|
| 8 |
+
- dpo
|
| 9 |
+
licence: license
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Model Card for NeuralAI
|
| 13 |
|
| 14 |
+
This model is a fine-tuned version of [HuggingFaceTB/SmolLM2-360M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-360M-Instruct).
|
| 15 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 16 |
|
| 17 |
+
## Quick start
|
| 18 |
|
| 19 |
```python
|
| 20 |
+
from transformers import pipeline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 23 |
+
generator = pipeline("text-generation", model="Subject-Emu-5259/NeuralAI", device="cuda")
|
| 24 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 25 |
+
print(output["generated_text"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
```
|
| 27 |
|
| 28 |
+
## Training procedure
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
+
|
| 31 |
|
|
|
|
|
|
|
| 32 |
|
| 33 |
+
This model was trained with DPO, a method introduced in [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://huggingface.co/papers/2305.18290).
|
| 34 |
|
| 35 |
+
### Framework versions
|
|
|
|
|
|
|
| 36 |
|
| 37 |
+
- TRL: 0.24.0
|
| 38 |
+
- Transformers: 4.57.6
|
| 39 |
+
- Pytorch: 2.8.0
|
| 40 |
+
- Datasets: 4.5.0
|
| 41 |
+
- Tokenizers: 0.22.2
|
|
|
|
| 42 |
|
| 43 |
+
## Citations
|
| 44 |
|
| 45 |
+
Cite DPO as:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
+
```bibtex
|
| 48 |
+
@inproceedings{rafailov2023direct,
|
| 49 |
+
title = {{Direct Preference Optimization: Your Language Model is Secretly a Reward Model}},
|
| 50 |
+
author = {Rafael Rafailov and Archit Sharma and Eric Mitchell and Christopher D. Manning and Stefano Ermon and Chelsea Finn},
|
| 51 |
+
year = 2023,
|
| 52 |
+
booktitle = {Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023},
|
| 53 |
+
url = {http://papers.nips.cc/paper_files/paper/2023/hash/a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html},
|
| 54 |
+
editor = {Alice Oh and Tristan Naumann and Amir Globerson and Kate Saenko and Moritz Hardt and Sergey Levine},
|
| 55 |
+
}
|
| 56 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
+
Cite TRL as:
|
| 59 |
+
|
| 60 |
+
```bibtex
|
| 61 |
+
@misc{vonwerra2022trl,
|
| 62 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
| 63 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
|
| 64 |
+
year = 2020,
|
| 65 |
+
journal = {GitHub repository},
|
| 66 |
+
publisher = {GitHub},
|
| 67 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
| 68 |
+
}
|
| 69 |
+
```
|
adapter_config.json
CHANGED
|
@@ -1,12 +1,9 @@
|
|
| 1 |
{
|
| 2 |
-
"alora_invocation_tokens": null,
|
| 3 |
"alpha_pattern": {},
|
| 4 |
-
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
"base_model_name_or_path": "HuggingFaceTB/SmolLM2-360M-Instruct",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
-
"ensure_weight_tying": false,
|
| 10 |
"eva_config": null,
|
| 11 |
"exclude_modules": null,
|
| 12 |
"fan_in_fan_out": false,
|
|
@@ -19,29 +16,26 @@
|
|
| 19 |
"lora_alpha": 32,
|
| 20 |
"lora_bias": false,
|
| 21 |
"lora_dropout": 0.05,
|
| 22 |
-
"lora_ga_config": null,
|
| 23 |
"megatron_config": null,
|
| 24 |
"megatron_core": "megatron.core",
|
| 25 |
"modules_to_save": null,
|
| 26 |
"peft_type": "LORA",
|
| 27 |
-
"peft_version": "0.19.0",
|
| 28 |
"qalora_group_size": 16,
|
| 29 |
"r": 16,
|
| 30 |
"rank_pattern": {},
|
| 31 |
"revision": null,
|
| 32 |
"target_modules": [
|
| 33 |
-
"down_proj",
|
| 34 |
"o_proj",
|
|
|
|
|
|
|
|
|
|
| 35 |
"q_proj",
|
| 36 |
-
"v_proj",
|
| 37 |
"gate_proj",
|
| 38 |
-
"
|
| 39 |
-
"up_proj"
|
| 40 |
],
|
| 41 |
"target_parameters": null,
|
| 42 |
"task_type": "CAUSAL_LM",
|
| 43 |
"trainable_token_indices": null,
|
| 44 |
-
"use_bdlora": null,
|
| 45 |
"use_dora": false,
|
| 46 |
"use_qalora": false,
|
| 47 |
"use_rslora": false
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"alpha_pattern": {},
|
|
|
|
| 3 |
"auto_mapping": null,
|
| 4 |
"base_model_name_or_path": "HuggingFaceTB/SmolLM2-360M-Instruct",
|
| 5 |
"bias": "none",
|
| 6 |
"corda_config": null,
|
|
|
|
| 7 |
"eva_config": null,
|
| 8 |
"exclude_modules": null,
|
| 9 |
"fan_in_fan_out": false,
|
|
|
|
| 16 |
"lora_alpha": 32,
|
| 17 |
"lora_bias": false,
|
| 18 |
"lora_dropout": 0.05,
|
|
|
|
| 19 |
"megatron_config": null,
|
| 20 |
"megatron_core": "megatron.core",
|
| 21 |
"modules_to_save": null,
|
| 22 |
"peft_type": "LORA",
|
|
|
|
| 23 |
"qalora_group_size": 16,
|
| 24 |
"r": 16,
|
| 25 |
"rank_pattern": {},
|
| 26 |
"revision": null,
|
| 27 |
"target_modules": [
|
|
|
|
| 28 |
"o_proj",
|
| 29 |
+
"k_proj",
|
| 30 |
+
"down_proj",
|
| 31 |
+
"up_proj",
|
| 32 |
"q_proj",
|
|
|
|
| 33 |
"gate_proj",
|
| 34 |
+
"v_proj"
|
|
|
|
| 35 |
],
|
| 36 |
"target_parameters": null,
|
| 37 |
"task_type": "CAUSAL_LM",
|
| 38 |
"trainable_token_indices": null,
|
|
|
|
| 39 |
"use_dora": false,
|
| 40 |
"use_qalora": false,
|
| 41 |
"use_rslora": false
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 34793120
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9042c7d4e8ab3cae66e2c649c689987bab43acc7e70753f07ce9652a0b6402b9
|
| 3 |
size 34793120
|
chat_template.jinja
CHANGED
|
@@ -1 +1,6 @@
|
|
| 1 |
-
{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
|
| 2 |
+
You are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>
|
| 3 |
+
' }}{% endif %}{{'<|im_start|>' + message['role'] + '
|
| 4 |
+
' + message['content'] + '<|im_end|>' + '
|
| 5 |
+
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 6 |
+
' }}{% endif %}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>"
|
| 5 |
+
],
|
| 6 |
+
"bos_token": {
|
| 7 |
+
"content": "<|im_start|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false
|
| 12 |
+
},
|
| 13 |
+
"eos_token": {
|
| 14 |
+
"content": "<|im_end|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false
|
| 19 |
+
},
|
| 20 |
+
"pad_token": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false
|
| 26 |
+
},
|
| 27 |
+
"unk_token": {
|
| 28 |
+
"content": "<|endoftext|>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false
|
| 33 |
+
}
|
| 34 |
+
}
|
tokenizer.json
CHANGED
|
@@ -1,11 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
"direction": "Right",
|
| 5 |
-
"max_length": 512,
|
| 6 |
-
"strategy": "LongestFirst",
|
| 7 |
-
"stride": 0
|
| 8 |
-
},
|
| 9 |
"padding": null,
|
| 10 |
"added_tokens": [
|
| 11 |
{
|
|
@@ -164,37 +159,21 @@
|
|
| 164 |
],
|
| 165 |
"normalizer": null,
|
| 166 |
"pre_tokenizer": {
|
| 167 |
-
"type": "
|
| 168 |
-
"
|
| 169 |
-
"trim_offsets": true,
|
| 170 |
-
"use_regex": true
|
| 171 |
-
},
|
| 172 |
-
"post_processor": {
|
| 173 |
-
"type": "TemplateProcessing",
|
| 174 |
-
"single": [
|
| 175 |
-
{
|
| 176 |
-
"Sequence": {
|
| 177 |
-
"id": "A",
|
| 178 |
-
"type_id": 0
|
| 179 |
-
}
|
| 180 |
-
}
|
| 181 |
-
],
|
| 182 |
-
"pair": [
|
| 183 |
{
|
| 184 |
-
"
|
| 185 |
-
|
| 186 |
-
"type_id": 0
|
| 187 |
-
}
|
| 188 |
},
|
| 189 |
{
|
| 190 |
-
"
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
}
|
| 195 |
-
]
|
| 196 |
-
"special_tokens": {}
|
| 197 |
},
|
|
|
|
| 198 |
"decoder": {
|
| 199 |
"type": "ByteLevel",
|
| 200 |
"add_prefix_space": true,
|
|
@@ -205,8 +184,8 @@
|
|
| 205 |
"type": "BPE",
|
| 206 |
"dropout": null,
|
| 207 |
"unk_token": null,
|
| 208 |
-
"continuing_subword_prefix":
|
| 209 |
-
"end_of_word_suffix":
|
| 210 |
"fuse_unk": false,
|
| 211 |
"byte_fallback": false,
|
| 212 |
"ignore_merges": false,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"padding": null,
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
|
|
|
| 159 |
],
|
| 160 |
"normalizer": null,
|
| 161 |
"pre_tokenizer": {
|
| 162 |
+
"type": "Sequence",
|
| 163 |
+
"pretokenizers": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
{
|
| 165 |
+
"type": "Digits",
|
| 166 |
+
"individual_digits": true
|
|
|
|
|
|
|
| 167 |
},
|
| 168 |
{
|
| 169 |
+
"type": "ByteLevel",
|
| 170 |
+
"add_prefix_space": false,
|
| 171 |
+
"trim_offsets": true,
|
| 172 |
+
"use_regex": true
|
| 173 |
}
|
| 174 |
+
]
|
|
|
|
| 175 |
},
|
| 176 |
+
"post_processor": null,
|
| 177 |
"decoder": {
|
| 178 |
"type": "ByteLevel",
|
| 179 |
"add_prefix_space": true,
|
|
|
|
| 184 |
"type": "BPE",
|
| 185 |
"dropout": null,
|
| 186 |
"unk_token": null,
|
| 187 |
+
"continuing_subword_prefix": null,
|
| 188 |
+
"end_of_word_suffix": null,
|
| 189 |
"fuse_unk": false,
|
| 190 |
"byte_fallback": false,
|
| 191 |
"ignore_merges": false,
|
tokenizer_config.json
CHANGED
|
@@ -1,15 +1,151 @@
|
|
| 1 |
{
|
| 2 |
"add_prefix_space": false,
|
| 3 |
-
"
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"<|im_start|>",
|
| 10 |
"<|im_end|>"
|
| 11 |
],
|
| 12 |
-
"
|
|
|
|
|
|
|
|
|
|
| 13 |
"model_max_length": 8192,
|
| 14 |
"pad_token": "<|im_end|>",
|
| 15 |
"tokenizer_class": "GPT2Tokenizer",
|
|
|
|
| 1 |
{
|
| 2 |
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<repo_name>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"4": {
|
| 37 |
+
"content": "<reponame>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"5": {
|
| 45 |
+
"content": "<file_sep>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"6": {
|
| 53 |
+
"content": "<filename>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"7": {
|
| 61 |
+
"content": "<gh_stars>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"8": {
|
| 69 |
+
"content": "<issue_start>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"9": {
|
| 77 |
+
"content": "<issue_comment>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"10": {
|
| 85 |
+
"content": "<issue_closed>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"11": {
|
| 93 |
+
"content": "<jupyter_start>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"12": {
|
| 101 |
+
"content": "<jupyter_text>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"13": {
|
| 109 |
+
"content": "<jupyter_code>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"14": {
|
| 117 |
+
"content": "<jupyter_output>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": true
|
| 123 |
+
},
|
| 124 |
+
"15": {
|
| 125 |
+
"content": "<jupyter_script>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": true
|
| 131 |
+
},
|
| 132 |
+
"16": {
|
| 133 |
+
"content": "<empty_output>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": true
|
| 139 |
+
}
|
| 140 |
+
},
|
| 141 |
+
"additional_special_tokens": [
|
| 142 |
"<|im_start|>",
|
| 143 |
"<|im_end|>"
|
| 144 |
],
|
| 145 |
+
"bos_token": "<|im_start|>",
|
| 146 |
+
"clean_up_tokenization_spaces": false,
|
| 147 |
+
"eos_token": "<|im_end|>",
|
| 148 |
+
"extra_special_tokens": {},
|
| 149 |
"model_max_length": 8192,
|
| 150 |
"pad_token": "<|im_end|>",
|
| 151 |
"tokenizer_class": "GPT2Tokenizer",
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a5ce88d28f36dba4dad23ab5b6feb82bc93047ddeb4008c868623f7d6091080
|
| 3 |
+
size 6929
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|