Downloads · 30 days
24
4% of all-time downloads
oscowlai/wiola-120m
wiola-120m is a text generation model from oscowlai. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
24
4% of all-time downloads
All-time downloads
555
Public
Parameters
147M
1.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt1.2 GB · 67%
From the Hugging Face model README
A Novel Small Language Model (SLM) introducing Spiral Rotary Positional Encoding (SRPE), Gated Cross-Layer Attention (GCLA), Adaptive Token Merging (ATM), Dual-Stream Feed-Forward (DSFF), and WiolaRMSNorm.
Developed by OSCOWL-AI

Wiola-120M is an experimental decoder-only Small Language Model developed from first principles as part of the Wiola research project.
Unlike conventional transformer architectures, Wiola introduces several novel architectural components designed to improve parameter efficiency, contextual reasoning, and computational efficiency while maintaining compatibility with the Hugging Face ecosystem.
This repository contains the trained model weights.
The implementation of the architecture is provided separately through the Wiola Python package.
Wiola introduces five core innovations:
A rotary positional encoding variant that augments angular rotations with spiral radial modulation for richer positional representations.
Allows each decoder layer to selectively attend to compressed contextual representations from previous layers using learnable gates.
During training, semantically redundant neighbouring tokens are dynamically merged to reduce computation while preserving information.
ATM is automatically disabled during inference.
Each decoder block contains two parallel feed-forward streams:
whose outputs are fused to improve representation learning.
A lightweight RMSNorm implementation used throughout the architecture.
| Property | Value |
|---|---|
| Parameters | ~122 Million |
| Hidden Size | 768 |
| Decoder Layers | 12 |
| Attention Heads | 12 |
| Key/Value Heads | 4 |
| Vocabulary Size | 32,000 |
| Context Length | 2048 Tokens |
| Architecture | Decoder-only Transformer |
| Precision | BF16 / FP16 / FP32 |
This checkpoint was trained using the official Wiola training pipeline.
Final validation metrics obtained during training:
| Metric | Value |
|---|---|
| Validation Loss | 4.1532 |
| Validation Perplexity | 63.64 |
These values correspond to the released checkpoint and should be considered baseline research results.
Install the Wiola framework first.
pip install wiola
or install the latest development version:
pip install git+https://github.com/Wiola-OSCOWL-ai/wiola.git
from transformers import AutoTokenizer
from wiola import WiolaForCausalLM
repo = "oscowlai/wiola-120m"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = WiolaForCausalLM.from_pretrained(repo)
prompt = "Artificial Intelligence is"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(
**inputs,
max_new_tokens=100,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
GitHub
https://github.com/Wiola-OSCOWL-ai/wiola
Wiola is intended for:
This checkpoint is released primarily as a research model.
Current limitations include:
@software{wiola2026,
title={WiolaSLM A Novel Small Language Model with Spiral Rotary Positional Encoding, Gated Cross-Layer Attention, Adaptive Token Merging and Dual-Stream Feed Forward Networks},
author={OSCOWL-AI},
year={2026},
url={https://github.com/Wiola-OSCOWL-ai/wiola}
}
Apache License 2.0
Wiola is an independent research effort by OSCOWL-AI focused on advancing efficient Small Language Models through novel transformer architectures.
Contributions, issues, and feedback are welcome through the official GitHub repository.