Instructions to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF", device_map="auto") - llama-cpp-python
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF", filename="atomight-2-1.5b-thinking-q4_k_m.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-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 NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
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 NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
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 NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
Use Docker
docker model run hf.co/NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
- SGLang
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with Ollama:
ollama run hf.co/NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
- Unsloth Studio
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF to start chatting
- Pi
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with Docker Model Runner:
docker model run hf.co/NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
- Lemonade
How to use NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NovatasticRoScript/Atomight-2-1.5B-Thinking-Q4_K_M-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Atomight-2-1.5B-Thinking-Q4_K_M-GGUF-Q4_K_M
List all available models
lemonade list
Update README.md
Browse files|
@@ -1,59 +1,95 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
base_model: NovatasticRoScript/Atomight-2-1.5B-Thinking
|
| 3 |
tags:
|
| 4 |
- text-generation-inference
|
| 5 |
- transformers
|
| 6 |
- unsloth
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
-
|
|
|
|
|
|
|
| 11 |
language:
|
| 12 |
- en
|
|
|
|
| 13 |
datasets:
|
| 14 |
- open-thoughts/OpenThoughts-114k
|
| 15 |
---
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
##
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
base_model: NovatasticRoScript/Atomight-2-1.5B-Thinking
|
| 4 |
tags:
|
| 5 |
- text-generation-inference
|
| 6 |
- transformers
|
| 7 |
- unsloth
|
| 8 |
+
- reasoning
|
| 9 |
+
- thought
|
| 10 |
+
- core-math
|
| 11 |
+
- instruction-tuning
|
| 12 |
+
model_creator: NovatasticRoScript
|
| 13 |
+
model_type: causal-lm
|
| 14 |
language:
|
| 15 |
- en
|
| 16 |
+
pipeline_tag: text-generation
|
| 17 |
datasets:
|
| 18 |
- open-thoughts/OpenThoughts-114k
|
| 19 |
---
|
| 20 |
|
| 21 |
+
<div align="center">
|
| 22 |
+
|
| 23 |
+
# ⚛️ Atomight-2-1.5B-Thinking
|
| 24 |
+
|
| 25 |
+
**A Deep-Reasoning Small Language Model Optimized for Sequential Logic Chains**
|
| 26 |
+
|
| 27 |
+
</div>
|
| 28 |
+
|
| 29 |
+
## 📌 Model Overview
|
| 30 |
+
**Atomight-2-1.5B-Thinking** is a specialized, compact reasoning model built on top of a 1.5B parameter core architecture. Engineered explicitly for users operating on constrained hardware environments (such as a free Google Colab T4 instance), Atomight-2 utilizes an explicit internal `<think>...</think>` scratchpad layout. It dynamically breaks down complex mathematical, logical, and structural prompts before committing to a final conclusion.
|
| 31 |
+
|
| 32 |
+
### 🚀 Key Highlights
|
| 33 |
+
* **Hardware Democratic:** High-tier deep reasoning accessible on consumer-grade hardware and free cloud compute tiers.
|
| 34 |
+
* **Structured Scratchpad:** Generates native, visible reasoning pathways natively formatted for transparent auditing.
|
| 35 |
+
* **Chat-Template Native:** Tailored directly for ChatML system configurations.
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## 📊 Evaluation & Benchmark Results
|
| 40 |
+
|
| 41 |
+
Atomight-2 was subjected to a high-volume statistical evaluation matrix across core logic paradigms, matching up against premier industry baselines in the 1B–4B small language model class.
|
| 42 |
+
|
| 43 |
+
### Official Performance Breakdown
|
| 44 |
+
The model displays exceptional specialization spikes in structured mathematical deduction, rivaling or outperforming significantly larger parameters classes on core numerical strings.
|
| 45 |
+
|
| 46 |
+
<div align="center">
|
| 47 |
+
<img src="https://huggingface.co/NovatasticRoScript/Atomight-2-1.5B-Thinking/resolve/main/Note%20Original%20benchmarking%20of%20Atomight-2-1.5B-Thinking%20consists%20of.png" alt="Atomight-2 Official Benchmark Result" width="85%">
|
| 48 |
+
</div>
|
| 49 |
+
|
| 50 |
+
| Benchmark | Paradigm | Atomight-2-1.5B-Thinking | Qwen-2-1.5B-Instruct | Phi-3-mini (3.8B) | Llama-3.2-3B-Instruct |
|
| 51 |
+
| :--- | :--- | :---: | :---: | :---: | :---: |
|
| 52 |
+
| **GSM8k** | Math Logical Chains | **80.1%** | 71.0% | 82.5% | 73.1% |
|
| 53 |
+
| **ARC-C** | Core Reasoning | **88.5%** | 82.3% | 84.9% | 83.3% |
|
| 54 |
+
| **MMLU** | General Knowledge | **63.2%** | 56.7% | 68.8% | 61.1% |
|
| 55 |
+
|
| 56 |
+
> ⚠️ **Evaluation Insight:** While Atomight-2 exhibits class-leading spikes on core textual logic and mathematical proofs, it experiences a classic reasoning tradeoff. On abstract matrix-grid visual transformation evaluations (like ARC-AGI 2), it drops to a baseline floor of **0.00%**. This cognitive bottleneck highlights an instruction deficit in translating spatial imagery into basic structural text tokens—a major priority slated for the next architecture generation.
|
| 57 |
+
|
| 58 |
+
---
|
| 59 |
+
|
| 60 |
+
## 💻 Quickstart & Inference Code
|
| 61 |
+
|
| 62 |
+
To deploy Atomight-2 cleanly without encountering text-truncation errors inside the internal reasoning blocks, execute the generation using the official structured chat template format.
|
| 63 |
+
|
| 64 |
+
```python
|
| 65 |
+
import torch
|
| 66 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 67 |
+
|
| 68 |
+
MODEL_ID = "NovatasticRoScript/Atomight-2-1.5B-Thinking"
|
| 69 |
+
|
| 70 |
+
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True)
|
| 71 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 72 |
+
MODEL_ID,
|
| 73 |
+
torch_dtype=torch.float16,
|
| 74 |
+
device_map="auto",
|
| 75 |
+
trust_remote_code=True
|
| 76 |
+
)
|
| 77 |
+
|
| 78 |
+
# Structure conversational dialog into ChatML framework
|
| 79 |
+
messages = [
|
| 80 |
+
{"role": "user", "content": "A retailer buys shirts for $15 and sells them for $25. What is the total profit on 12 shirts?"}
|
| 81 |
+
]
|
| 82 |
+
|
| 83 |
+
templated_input = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
| 84 |
+
inputs = tokenizer(templated_input, return_tensors="pt").to("cuda")
|
| 85 |
+
|
| 86 |
+
print("🧠 Generating Reasoning Sequence:")
|
| 87 |
+
outputs = model.generate(
|
| 88 |
+
**inputs,
|
| 89 |
+
max_new_tokens=768, # Plentiful headroom required for deep-thinking scratchpads
|
| 90 |
+
temperature=0.1,
|
| 91 |
+
do_sample=False,
|
| 92 |
+
pad_token_id=tokenizer.eos_token_id
|
| 93 |
+
)
|
| 94 |
+
|
| 95 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=False))
|