AtomixLabs / Photon-1.0-1M

huggingface.co
Total runs: 136
24-hour runs: -10
7-day runs: -57
30-day runs: -362
Model's Last Updated: August 28 2026
text-generation

Introduction of Photon-1.0-1M

Model Details of Photon-1.0-1M

⚛️ Photon-1.0-1M

photon1.0

Welcome to Photon-1.0-1M , an ultra-compact, hyper-dense Small Language Model (SLM) developed by AtomixLabs . Built to explore performance efficiency under tight resource constraints, Photon-1.0-1M packs just 1 million parameters and is designed to deliver steady reasoning and retrieval capabilities within a highly compact footprint.

Instead of relying on sprawling parameter counts to capture general knowledge, AtomixLabs designed Photon to be streamlined. By allocating its parameter budget directly into dense, high-utility transformer layers rather than larger vocabulary tables, this model functions as a sharp, fast, and capable logic engine for its size.


🛠️ Architectural Configuration

While many micro-models in this parameter range rely on highly customized, non-standard scripts that layer on experimental attention mechanisms, exotic gating structures, or non-native dependencies, AtomixLabs opted to stick to a clean, standard LLaMA architecture. The team believes that if a core architecture requires heavy modifications to function effectively, the challenge often lies in the training and optimization process rather than the standard transformer block itself.

By utilizing native, standard LLaMA layers, Photon remains compatible, stable, and highly dense:

# Photon-1.0-1M Structural Specification
vocab_size: int = 1536              # Optimized vocabulary allocation
hidden_size: int = 128              # High-density representations
intermediate_size: int = 384        # Symmetric 3.0x SwiGLU ratio
num_hidden_layers: int = 4          # The standard "Markov Floor" limit
num_attention_heads: int = 4        # Head dimension = 32
num_key_value_heads: int = 4        # 4:4 Multi-Head Attention (MHA)
max_position_embeddings: int = 512  # Native context length
rope_theta: float = 1110.0          # Tuned angular frequency for context scaling

By keeping the vocabulary tightly constrained and utilizing a full 4:4 Multi-Head Attention (MHA) scheme, the model retains reliable contextual memory and precise information-retrieval characteristics without needing external, non-native code dependencies.


📚 Dataset & Training Mix

To encourage collaboration, open science, and reproducibility in the micro-SLM space, AtomixLabs is sharing the training recipe.

Photon-1.0-1M was trained on approximately 2.56 billion tokens in total. To ensure licensing compliance and proper attribution, the training datasets listed below are custom, curated subsets extracted directly from the main openbmb/UltraX-Preview dataset. While the overarching UltraX repository is distributed under an Apache-2.0 license, users must abide by the specific underlying licenses of the original source datasets:

Dataset Component (Subsets of openbmb/UltraX-Preview ) Original Source & License Target Tokens
UltraX-Ultra-FineWeb openbmb/Ultra-FineWeb ( Apache-2.0 ) 1,080,000,000
UltraX-FineWeb-ProX-Doc gair-prox/FineWeb-ProX-Doc ( ODC-BY ) 600,000,000
UltraX-AICC opendatalab/AICC ( CC-BY-4.0 ) 360,000,000
UltraX-FineWeb HuggingFaceFW/fineweb ( ODC-BY ) 240,000,000
UltraX-RedPajama-V2 togethercomputer/RedPajama-Data-V2 ( Apache-2.0 ) 120,000,000
The Math Boost

To round out the 2.56-billion-token run, AtomixLabs augmented the subsets above with approximately 160,000,000 tokens of highly curated, synthetically generated arithmetic .

While the team is keeping the exact generation recipe and structural constraints of this synthetic data proprietary, this targeted math scaffolding was helpful in teaching the 1M-parameter model how to process logical relationships and numerical consistency.


📊 Benchmark Evaluation Results

All evaluations were executed in a strict zero-shot ( num_fewshot=0 ) environment to ensure genuine model capability and prevent few-shot prompt bias.

We evaluate the overall score using a standard 4-way average formula that aggregates the two ARC benchmarks first: ARC Combined = ARC-Easy + ARC-Challenge 2 \text{ARC Combined} = \frac{\text{ARC-Easy} + \text{ARC-Challenge}}{2} Overall Average = Hellaswag + ARC Combined + PIQA + ArithMark 2.0 4 \text{Overall Average} = \frac{\text{Hellaswag} + \text{ARC Combined} + \text{PIQA} + \text{ArithMark 2.0}}{4}

Zero-Shot Results
Benchmark Metric Type Score
ArithMark 2.0 Overall Accuracy 26.60%
Hellaswag acc_norm 27.77%
ARC-Easy acc_norm 29.80%
ARC-Challenge acc_norm 22.18%
PIQA acc_norm 53.97%
Unified Score Leaderboard Average 33.58%

🖥️ Reproducibility & Environment Context

To ensure you can replicate these exact scores in your own environment, we have extracted a snippet of our hardware and library diagnostic report.

OS Platform              : Windows (11)
CPU Architecture         : AMD64
Target GPU Name          : NVIDIA GeForce RTX 5070 (11.94 GB VRAM)
PyTorch Version          : 2.13.0+cu132
transformers Library     : 5.12.1
lm-eval-harness Library  : 0.4.13.dev0

⚠️ Comprehensive Safety & Usage Disclaimer (Click to expand)
1. General Safety Warnings

Photon-1.0-1M is a highly compact, experimental model trained primarily on filtered English datasets. Because of its extremely small size (1M parameters), the model has a limited internal memory capacity and does not possess robust guardrails or safety-alignment layers. Users should expect that the model may generate hallucinated facts, produce biased outputs, or exhibit unpredictable behaviors if prompted with complex, sensitive, or adversarial queries.

2. Risk Mitigation & Deployment
  • Do Not Use in Production Without Guardrails: This model is not intended for consumer-facing production systems, automated medical advice, legal reasoning, financial planning, or any scenario where inaccurate information could cause real-world harm.
  • Adversarial Vulnerability: The model has not been subjected to safety alignment or RLHF (Reinforcement Learning from Human Feedback). It is vulnerable to jailbreaking and prompt injection.
  • Output Validation: Any output generated by Photon-1.0-1M must be programmatically or manually validated before use.
3. Limitation of Liability

AtomixLabs and its contributors provide this model "as-is" without any warranties of any kind, express or implied. Under no circumstances shall the developers or AtomixLabs be held liable for any damages, losses, or negative outcomes resulting directly or indirectly from the use, modification, or deployment of this model or its derivatives.

Runs of AtomixLabs Photon-1.0-1M on huggingface.co

136
Total runs
-10
24-hour runs
-13
3-day runs
-57
7-day runs
-362
30-day runs

More Information About Photon-1.0-1M huggingface.co Model

More Photon-1.0-1M license Visit here:

https://choosealicense.com/licenses/apache-2.0

Photon-1.0-1M huggingface.co

Photon-1.0-1M huggingface.co is an AI model on huggingface.co that provides Photon-1.0-1M's model effect (), which can be used instantly with this AtomixLabs Photon-1.0-1M model. huggingface.co supports a free trial of the Photon-1.0-1M model, and also provides paid use of the Photon-1.0-1M. Support call Photon-1.0-1M model through api, including Node.js, Python, http.

AtomixLabs Photon-1.0-1M online free

Photon-1.0-1M huggingface.co is an online trial and call api platform, which integrates Photon-1.0-1M's modeling effects, including api services, and provides a free online trial of Photon-1.0-1M, you can try Photon-1.0-1M online for free by clicking the link below.

AtomixLabs Photon-1.0-1M online free url in huggingface.co:

https://huggingface.co/AtomixLabs/Photon-1.0-1M

Photon-1.0-1M install

Photon-1.0-1M is an open source model from GitHub that offers a free installation service, and any user can find Photon-1.0-1M on GitHub to install. At the same time, huggingface.co provides the effect of Photon-1.0-1M install, users can directly use Photon-1.0-1M installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Photon-1.0-1M install url in huggingface.co:

https://huggingface.co/AtomixLabs/Photon-1.0-1M

Url of Photon-1.0-1M

Photon-1.0-1M huggingface.co Url

Provider of Photon-1.0-1M huggingface.co

AtomixLabs
ORGANIZATIONS

Other API from AtomixLabs