Pascal-15M-v1.0 is a compact foundation model developed by AtomixLabs for mathematical sequence induction and numeric pattern generalization.
Instead of generating natural language text or code, Pascal is trained to model the transition dynamics of numerical series, identifying the latent mathematical rules governing a sequence prefix and extrapolating them forward.
Pascal-15M-v1.0 contains 17,716,608 parameters and was pretrained on approximately 364 million tokens of structured numerical sequences. Built strictly on native LLaMA transformer blocks with a custom 32-token digit-level vocabulary, it is designed primarily as a lightweight, clean base checkpoint for downstream specialization and fine-tuning.
Given a comma-separated sequence prefix, Pascal functions as an autoregressive sequence solver. Rather than retrieving memorized series from an index, the model relies on its attention layers to identify recurrence orders, polynomial progressions, modular cycles, and rational approximations directly from raw input strings.
Representative input-output behaviors include:
1, 2, 4, 8, 16, → 321, 1/2, 2/3, 3/5, 5/8, → 8/13 (Fibonacci convergents to the golden ratio φ)2, 10, 4, 20, 8, 30, → 1616, 20, 22, 22, 20, 16, 10, → 2 (latent velocity oscillator)The objective of the pretraining regime is to provide an inductive bias for symbolic regression in latency, allowing the network to capture latent dynamic laws from raw observations.
Standard language model tokenizers rely on Byte-Pair Encoding (BPE), which merges digits into arbitrary chunks based on corpus frequency (for example, tokenizing 1234 as a single unit while splitting 1235 into two). This arbitrary grouping disrupts place-value relationships and degrades arithmetic consistency.
Pascal resolves this by using an exact, lossless 32-token vocabulary:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, (delimiter), - (sign), . (decimal), and / (exact rational fraction slash)<bos>, <eos>, <pad>, <unk>, and reserved alignment slots⚠️ No
<eos>Supervision During Training: While<eos>exists as an index slot in the tokenizer vocabulary, Pascal-15M-v1.0 was not trained with an<eos>token. All pretraining target sequences concluded directly on the final numerical digit of the pattern. Consequently, the model will never spontaneously emit an<eos>token to halt generation. During inference, stopping criteria must be handled explicitly, either by settingeos_token_id=tokenizer.convert_tokens_to_ids(",")to stop at the next number, or by specifyingmax_new_tokens.
By processing numbers strictly digit-by-digit or as exact rational ratios (e.g., 8/13), the model avoids floating-point rounding errors and eliminates tokenization artifacts during sequence evaluation.
Pascal-15M-v1.0 uses a standard decoder-only LLaMA architecture. The model relies entirely on native PyTorch/Hugging Face operations without custom CUDA kernels, non-standard attention mechanisms, or external repository dependencies (trust_remote_code=False).
# Pascal-15M-v1.0 Structural Specification
vocab_size: int = 32 # Lossless digit-level numerical vocabulary
hidden_size: int = 384 # Hidden dimension
intermediate_size: int = 768 # 2.0x SwiGLU expansion ratio
num_hidden_layers: int = 12 # Sequential layer depth
num_attention_heads: int = 12 # Head dimension = 32
num_key_value_heads: int = 12 # Multi-Head Attention (MHA)
max_position_embeddings: int = 512 # Context window
rope_theta: float = 10000.0 # Base rotary frequency
# Total Trainable Parameters: 17,716,608
At under 18 million parameters, the network operates with low compute requirements and low memory footprint, scaling appropriately for its 32-token vocabulary across its ~364M token training run.
Pascal-15M-v1.0 is intended primarily as a base model for downstream fine-tuning.
While the base checkpoint exhibits stable out-of-the-box performance on standard arithmetic, polynomial, and recurrence patterns, it is designed to be adapted to specific numerical tasks, including:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "AtomixLabs/Pascal-15M-v1.0"
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
trust_remote_code=False,
)
tokenizer = AutoTokenizer.from_pretrained(
model_id,
trust_remote_code=False,
)
prompt = "1, 1/2, 2/3, 3/5, 5/8," # answer is 8/13
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
sep_id = tokenizer.convert_tokens_to_ids(",")
outputs = model.generate(
**inputs,
max_new_tokens=24,
do_sample=False,
eos_token_id=sep_id, # Stop immediately upon completing the next number
pad_token_id=tokenizer.pad_token_id,
)
# prints the full sequence including the continuation: "1,1/2,2/3,3/5,5/8,8/13"
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Because the model uses a compact 32-token vocabulary, outputs can be guided during generation using grammar-constrained logit masking.
An external logit processor can enforce structural constraints:
--, .., //)./0).This setup ensures that generated outputs conform to well-formed integers, decimals, or reduced fractions.
Pascal-15M-v1.0 is an experimental, specialized micro-scale foundation model (17.7M parameters). Because it operates exclusively on numerical sequences rather than natural language, its failure modes differ fundamentally from standard text models. Users and downstream developers should account for the following technical and operational considerations:
1. Vocabulary, Formatting & Context Bounds
<unk> during tokenization, which introduces uninformative tokens into the context and degrades prediction quality.2. Non-Formal Prediction & Spurious Extrapolation
3. Downstream Fine-Tuning & Adaptation Responsibility
4. High-Consequence System Advisory
5. Apache 2.0 Disclaimer of Warranty & Limitation of Liability
Pascal-15M-v1.0 is released by AtomixLabs under the Apache License, Version 2.0. In accordance with Sections 7 and 8 of the license, the model weights and associated files are provided strictly on an "AS IS" BASIS, without warranties or conditions of any kind, either express or implied, including, without limitation, any warranties or conditions of title, non-infringement, merchantability, or fitness for a particular purpose.
To the maximum extent permitted by applicable law, in no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, shall AtomixLabs, its developers, or its contributors be liable for any direct, indirect, special, incidental, exemplary, or consequential damages of any character arising as a result of the use, fine-tuning, modification, or deployment of this model, including but not limited to damages for loss of goodwill, work stoppage, computer failure, system malfunction, data corruption, or financial loss, even if advised of the possibility of such damages. Users assume sole responsibility for determining the appropriateness of using or redistributing the model and assume all risks associated with its exercise of permissions under the license.
@model{atomixlabs_pascal_15m_v1_2026,
author = {AtomixLabs},
title = {Pascal-15M-v1.0: A Compact Foundation Transformer for Mathematical Sequence Induction},
year = {2026},
publisher = {Hugging Face},
license = {Apache-2.0},
url = {https://huggingface.co/AtomixLabs/Pascal-15M-v1.0}
}