Files
Quantum-X/README.md

110 lines
4.0 KiB
Markdown
Raw Permalink Normal View History

---
library_name: transformers
license: apache-2.0
language:
- en
tags:
- qwen2.5
- 0.5B
- conversational
- fast
- lightweight
- quantsaparklabs
pipeline_tag: text-generation
base_model: Qwen/Qwen2.5-0.5B-Instruct
---
<p align="center">
<img src="https://huggingface.co/QuantaSparkLabs/NYXIS-Pro/resolve/main/preview imgagee.png"
alt="NYXIS Logo"
width="160"
height="160"
style="border-radius: 50%; object-fit: cover;">
</p>
<p align="center">
<img src="https://huggingface.co/QuantaSparkLabs/NYXIS-Pro/resolve/main/logoname.png"
alt="NYXIS Name"
width="700"
style="border-radius: 18px;">
</p>
<p align="center">
<a href="https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct"><img src="https://img.shields.io/badge/Base-Qwen%202.5%200.5B-blueviolet" alt="Base Model"></a>
<a href="https://huggingface.co/datasets/teknium/OpenHermes-2.5"><img src="https://img.shields.io/badge/Data-OpenHermes%202.5-00BFFF" alt="Training Data"></a>
<a href="#"><img src="https://img.shields.io/badge/Fine--Tune-QLoRA%20%2B%20Unsloth-FF6F00" alt="Fine-Tune Method"></a>
<a href="#"><img src="https://img.shields.io/badge/Size-0.5B%20Params-lightgrey" alt="Model Size"></a>
<a href="#"><img src="https://img.shields.io/badge/Speed-Blazing%20Fast-brightgreen" alt="Speed"></a>
<a href="https://www.apache.org/licenses/LICENSE-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-yellow" alt="License"></a>
</p>
# Quantum-X
A compact, highspeed conversational AI built on **Qwen2.50.5B** — small enough for edge devices, smart enough for real conversation.
## 📋 Overview
QuantumX is a **0.5 billion parameter** language model developed by QuantaSparkLabs. It's finetuned from Qwen2.50.5B on a mix of OpenHermes2.5 conversations and custom identity data, giving it warm, direct conversational abilities while keeping inference blazingly fast.
| Feature | Detail |
|---------|--------|
| **Base Model** | Qwen2.50.5BInstruct |
| **Parameters** | ~0.5B |
| **Finetuning** | QLoRA (Unsloth), 2 epochs |
| **Training Data** | OpenHermes2.5 + identity examples |
| **Tensor Precision** | FP16 |
| **Chat Template** | ✅ Native Qwen2 chat template |
## ✨ What It Does Well
- **Conversational AI**: Natural, warm dialogue with identity baked in.
- **Factual Q&A**: Answers general knowledge questions correctly.
- **Fast Inference**: 0.5B parameters = nearinstant responses on CPU or GPU.
- **Edge Friendly**: Runs comfortably on 2GB RAM, even on a phone.
## 💻 Quick Start
```python
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "QuantaSparkLabs/Quantum-X"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto",
trust_remote_code=True
)
messages = [
{"role": "system", "content": "You are Quantum-X, created by QuantaSparkLabs."},
{"role": "user", "content": "What is the capital of France?"}
]
inputs = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
input_ids = tokenizer(inputs, return_tensors="pt").to(model.device)
outputs = model.generate(**input_ids, max_new_tokens=100, temperature=0.7, do_sample=True)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
```
## 🚀 Hardware Requirements
| Environment | RAM | Storage | Ideal For |
| :--- | :--- | :--- | :--- |
| **CPU** | 2GB | ~500MB | Testing, embedded apps |
| **GPU** | 12GB VRAM | ~500MB | Development, serving |
| **Edge / Mobile** | >1GB | ~500MB | Ondevice inference |
## ⚠️ Limitations
- **Complex reasoning**: Multistep logic or advanced math may be inconsistent.
- **Factual precision**: Can occasionally produce outdated or incorrect information.
- **Not for highstakes use**: Don't use for medical, legal, or safetycritical decisions.
## 📄 License
Apache 2.0
---
<center>Built with ❤️ by QuantaSparkLabs<br>Model ID: QuantumX • Rebuilt 2026</center>