Views
No views yet
| Feature | Persadian-Nano-V4 |
|---|---|
| Hyper-Connections | ✅Adaptive input-dependent routing |
| Expert Activation | ✅Progressive expert scaling during inference |
| KV Cache | ✅Online adaptive KV compression |
| Attention Design | ✅Compressed Sparse Hybrid Attention |
| MoE Routing | ✅Dynamic progressive routing |
| Context Optimization | ✅Colab-optimized memory efficiency |
| Hardware Requirement | ✅Optimized for single-GPU research environments |
| Parameter Count | ✅~160M parameters |
| Active Compute | ✅Lightweight active-path compute |
| Deployment Target | ✅Prosumer laptops + edge GPUs |
| Training Accessibility | ✅Independent researchers & startups |
| Training Cost | ✅Near-zero using T4 GPU |
| Research Direction | ✅Experimental open nano-architecture |
| Inference Efficiency | ✅Optimized for constrained hardware |
| Innovation Focus | ✅Efficiency-first with adaptive systems |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3# Load the model and tokenizer
4# The 'trust_remote_code=True' flag is essential for custom models
5model = AutoModelForCausalLM.from_pretrained(
6 "persadian/persadian-nano-v4",
7 trust_remote_code=True
8)
9tokenizer = AutoTokenizer.from_pretrained("persadian/persadian-nano-v4")
10
11# Move model to GPU if available
12import torch
13device = "cuda" if torch.cuda.is_available() else "cpu"
14model = model.to(device)
15
16# Generate text
17prompt = "Once upon a time"
18inputs = tokenizer(prompt, return_tensors="pt").to(device)
19outputs = model.generate(**inputs, max_new_tokens=50, temperature=0.7)
20print(tokenizer.decode(outputs[0], skip_special_tokens=True))1@misc{persadian2026nano,
2 author = {Persadh, Darshani},
3 title = {persadian-Nano-V4},
4 year = {2026},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/persadian/persadian-Nano-V4}
7}