Downloads Β· 30 days
30
2% of all-time downloads
ahmetggg/luck-spark-l-100m-base
luck-spark-l-100m-base is a text generation model from ahmetggg. Use it when you need the model to write or continue text. The card lists the license as mit.
Downloads Β· 30 days
30
2% of all-time downloads
All-time downloads
1.4K
Public
Parameters
95.4M
49.6 GB on disk
Likes
1
Public
Click a slice to open those files.
.pt1.1 GB Β· 75%
From the Hugging Face model README
Dr. Zeon
β οΈ Important Notice: Running the Model Locally (Ollama / LM Studio)
Why isn't this model supported in Ollama or LM Studio?
Unlike standard models (such as Llama, Mistral, or Qwen), The Architect is built on a completely custom, from-scratch PyTorch architecture. It features experimental mathematical layers that do not exist in standard Transformers, specifically:
Holographic State Memory (HSM)
Neuro-Symbolic Gating (NSRG)
Because these custom operations are not part of the standard Transformer vocabulary, C++ based inference engines (like llama.cpp, which powers Ollama and LM Studio) cannot natively understand or execute them. Converting this model to GGUF format for Ollama would require writing custom C++ kernels for the HSM and NSRG layers, which is a complex engineering task planned for the future roadmap.
How can you test and use this model?
To ensure everyone can easily run and test this model locally without dealing with complex code, we provide a one-click Python Web UI. It creates a ChatGPT-like interface right in your browser.
Download the app.py and run.bat (Windows) or run.sh (Linux/Mac) scripts provided in this repository.
Ensure you have Python installed on your system.
Double-click the run.bat file. It will automatically install the required libraries (torch, gradio, tokenizers) and launch a local web server.
Your browser will automatically open a clean, interactive UI where you can chat with the model immediately.
Like this Terminal:
@user ξ° cd Luck-spark-100m-base
~/Luck-spark-100m-base ξ° @user ξ° python3 app.py
Model indiriliyor ve yΓΌkleniyor, lΓΌtfen bekleyin... Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads. Model hazΔ±r!
share=True in launch().No C++ compilation or terminal knowledge required!
THE ARCHITECT is an independently developed, approximately 90M-parameter experimental language model designed and trained entirely from scratch with PyTorch.
The project explores a simple but ambitious research question:
How much language modeling capability can be obtained from a relatively small model through architectural experimentation, aggressive training, and carefully selected Turkish data?
Rather than attempting to compete directly with billion-parameter commercial or open-weight foundation models, THE ARCHITECT is intended as a research-oriented boutique language model: compact, experimental, transparent, and built to investigate alternative architectural ideas.
Modern language models increasingly rely on extremely large parameter counts and enormous computational budgets.
THE ARCHITECT takes a different approach.
The project investigates whether a comparatively small model can obtain useful language representations through:
This project should not be interpreted as evidence that small models universally outperform large models. Instead, the goal is to investigate the efficiency frontier of language modeling at a small scale.
The model is therefore best understood as an independent research experiment, rather than a commercial competitor to systems such as GPT-class or Llama-class large language models.
THE ARCHITECT is implemented directly in PyTorch rather than being assembled from a standard pretrained Transformer architecture.
The overall structure follows a decoder-only autoregressive language-modeling paradigm, while introducing experimental components inside each block.
Input Tokens
β
βΌ
Token Embedding
β
βΌ
βββββββββββββββββββββββββββββββ
β ARCHITECT BLOCK β
β β
β Causal Self-Attention β
β β β
β Residual β
β β β
β LayerNorm β
β β β
β SwiGLU β
β β β
β Residual β
β β β
β HSM + NSRG β
β β β
β LayerNorm β
βββββββββββββββββββββββββββββββ
β
βΌ
Γ 8 Layers
β
βΌ
Final LayerNorm
β
βΌ
Weight-Tied LM Head
β
βΌ
Token Logits
THE ARCHITECT uses causal multi-head self-attention.
A triangular causal mask prevents a token from attending to future tokens during autoregressive training.
Formally, positions satisfy:
[
M_{ij} =
\begin{cases}
0 & j \leq i
-\infty & j > i
\end{cases}
]
This ensures that prediction at position i cannot directly access tokens occurring after position i.
The standard ReLU-style feed-forward layer is replaced by SwiGLU.
The implementation uses three linear projections:
W_2 \left( \text{SiLU}(W_1x) \odot W_3x \right) ]
The intermediate dimension is:
2048
SwiGLU-style feed-forward networks are widely used in modern language-model architectures and provide an efficient nonlinear transformation.
Holographic State Memory (HSM) is one of the experimental components of THE ARCHITECT.
HSM attempts to introduce a learned state representation that interacts with the current hidden representation.
Conceptually:
Current Representation
β
ββββββββββββββββ
β β
βΌ βΌ
Current Learned
State State
β β
ββββββββ¬ββββββββ
βΌ
State Binder
β
βΌ
New Representation
The current implementation should be interpreted carefully.
Despite its name, HSM does not yet constitute a fully recurrent sequence-level memory mechanism. The current implementation behaves more like an experimental dynamic state/bias transformation inside each Architect block.
Layer normalization is used to stabilize its interaction with the main representation.
This distinction is intentional: the project documents what the mechanism currently does, rather than claiming capabilities that have not yet been demonstrated.
Neuro-Symbolic Gating (NSRG) is an experimental gating mechanism designed around four learned information-handling operations:
| Gate | Concept |
|---|---|
| Preserve | Preserve existing information |
| Erase | Suppress existing information |
| Bind | Incorporate new information |
| Contradiction | Suppress contradictory information |
The mechanism produces four normalized gate values through a softmax operation.
Conceptually:
Hidden State
β
βΌ
Gate Network
β
Softmax (4)
β
ββββββββββββββββΌβββββββββββββββ
βΌ βΌ βΌ
Preserve Erase Bind
β
βΌ
Contradiction
β
βΌ
State Update
NSRG is experimental and should not be interpreted as a formally verified symbolic reasoning system.
The terminology describes the intended information-routing behavior of the mechanism, not a claim that the model possesses human-like symbolic reasoning.
THE ARCHITECT shares the weights of:
Token Embedding
β
LM Head
This reduces parameter redundancy and improves parameter efficiency.
The embedding matrix is therefore reused when projecting hidden representations back into vocabulary logits.
| Property | Value |
|---|---|
| Model name | THE ARCHITECT v0.1 |
| Model type | Decoder-only autoregressive LM |
| Parameters | ~90.72M |
| Vocabulary | 32,000 |
| Hidden dimension | 768 |
| Layers | 8 |
| Attention heads | 16 |
| Head dimension | 64 |
| FFN intermediate dimension | 2,048 |
| Context length | 128 tokens |
| Tokenizer | Custom BPE |
| Framework | PyTorch |
| Training precision | Mixed Precision / AMP |
| Weight tying | Yes |
| Positional encoding | Not currently implemented |
| KV Cache | Not currently implemented |
THE ARCHITECT was designed primarily around Turkish-language modeling.
The training corpus contains approximately:
HuggingFaceH4/no_robotsThe corpus combines informational, conversational, and instruction-style text.
However, the current model is a base/pretrained language model, not an instruction-tuned assistant.
THE ARCHITECT uses a custom 32,000-token BPE tokenizer trained with the Hugging Face tokenizers library.
A TemplateProcessing post-processor was incorporated to improve handling of tokenization boundaries and special-token formatting.
The tokenizer was developed specifically for the project's Turkish-focused corpus rather than adopting the tokenizer of an existing large language model.
Training was performed using Kaggle GPU infrastructure, primarily Tesla T4 GPUs.
| Parameter | Configuration |
|---|---|
| Optimizer | AdamW |
| Ξ²β | 0.9 |
| Ξ²β | 0.95 |
| Weight decay | 0.1 |
| Initial learning rate | 3e-4 |
| Warmup | 500 steps |
| Scheduler | Cosine decay |
| Batch size | 16 |
| Sequence length | 128 |
| Precision | PyTorch AMP |
| Gradient clipping | Enabled |
The training system uses mixed precision through PyTorch AMP to reduce memory consumption and improve throughput.
The initial training objective consisted of approximately 570,000 steps, corresponding to one planned epoch over the prepared training configuration.
During training, the observed loss decreased substantially from its initial values.
Approximate observed trajectory:
Initial loss
β
β ~11.3
β
βΌ
~7β8
β
βΌ
~6
β
βΌ
~4.5β5.0
At the time of this model-card revision, more than 420,000 training steps had been completed.
Important: Training loss alone is not sufficient to establish model quality. A proper evaluation suite and held-out validation set are required before making quantitative claims about linguistic performance or reasoning capability.
The training pipeline was designed to survive temporary GPU environments such as Kaggle sessions.
Every 10,000 training steps, the system creates a checkpoint containing model and training state.
Conceptually:
Training
β
βββ Step 10,000 βββΊ Checkpoint
βββ Step 20,000 βββΊ Checkpoint
βββ Step 30,000 βββΊ Checkpoint
β
βββ ...
Checkpoints contain:
state_dictThe checkpoint is automatically uploaded to the Hugging Face Hub.
This allows training to resume after:
The intended workflow is:
Kaggle
β
βΌ
Train
β
βΌ
Checkpoint
β
βΌ
Hugging Face Hub
β
βΌ
New Kaggle Session
β
βΌ
Download checkpoint
β
βΌ
Restore model + optimizer + scheduler
β
βΌ
Continue training
The project uses the Hugging Face Hub as both:
Training checkpoints are uploaded automatically during training.
After training, the model is additionally converted into a standard Hugging Face-compatible distribution containing the required configuration, model implementation and serialized weights.
The long-term goal is to make THE ARCHITECT usable through standard Hugging Face tooling rather than requiring the original training notebook.
THE ARCHITECT is currently a base language model.
It can perform autoregressive text continuation based on patterns learned during pre-training.
The model has demonstrated learning of Turkish linguistic patterns during training.
However, it should not currently be treated as a general-purpose conversational assistant.
For example, a prompt such as:
TΓΌrkiye'nin baΕkenti
may cause the model to continue the text in an encyclopedic or corpus-like style rather than responding conversationally.
This is expected behavior for a base model.
This section is intentionally explicit.
THE ARCHITECT has not yet undergone a dedicated instruction-tuning or preference-optimization stage.
It should therefore not be expected to behave like ChatGPT or other instruction-following assistants.
Planned:
Pretraining
β
SFT
β
Instruction-following model
The current architecture does not yet implement RoPE or another explicit positional embedding mechanism.
This is a significant architectural limitation.
Positional information is an important component of Transformer language models, and its absence may limit sequence modeling capability.
Adding a positional mechanism is therefore a major item on the roadmap.
The current context length is:
128 tokens
This is extremely short compared with modern language models.
Long documents, conversations, and multi-paragraph reasoning cannot currently be represented effectively within a single context window.
Inference currently recomputes attention over the sequence for each generated token.
A KV cache has not yet been implemented.
Consequently, autoregressive generation is substantially less efficient than it could be.
The name "Holographic State Memory" should not be interpreted as evidence of a sophisticated long-term memory system.
The current mechanism does not yet provide a fully persistent sequence-level memory.
It is an experimental architectural component whose usefulness requires further controlled evaluation.
NSRG is an architectural hypothesis rather than a proven neuro-symbolic reasoning system.
The four gates are learned neural operations.
The terms:
describe the intended information-routing semantics.
They do not imply formal symbolic reasoning, logical theorem proving, or guaranteed contradiction detection.
The project currently does not provide a comprehensive benchmark suite comparing THE ARCHITECT against established Turkish language models.
Therefore, claims about:
should be considered research hypotheses rather than established results.
Future evaluations will address this limitation.
After completion of base-model pretraining:
THE ARCHITECT Base
β
βΌ
Turkish Instruction Dataset
β
βΌ
Supervised Fine-Tuning
β
βΌ
THE ARCHITECT Instruct
The goal is to transform the base language model into a model capable of following natural-language instructions.
A dedicated evaluation suite is planned, including:
A key goal is to measure whether the architectural experiments provide measurable benefits rather than relying solely on qualitative impressions.
THE ARCHITECT is ultimately an investigation into several questions:
These questions remain open.
The project is designed to produce empirical evidence rather than assume that the proposed mechanisms work simply because they sound theoretically promising.
THE ARCHITECT will prioritize measured results over architectural claims.
Future model releases should ideally report:
| Metric | Purpose |
|---|---|
| Validation loss | Generalization |
| Perplexity | Language-model quality |
| Turkish benchmarks | Language understanding |
| Generation samples | Qualitative behavior |
| Instruction benchmarks | Following instructions |
| Inference speed | Practical usability |
| Memory usage | Deployment efficiency |
| Parameter count | Model efficiency |
The objective is not merely to build an unusual architecture, but to determine whether the unusual components provide measurable value.
The name reflects the central idea behind the project:
Intelligence is not only a question of how much material is used, but also how that material is organized.
The project therefore treats model architecture as an experimental object rather than assuming that scaling parameters is always the only meaningful direction.
THE ARCHITECT is an attempt to explore that space at a scale accessible to an independent researcher.
Status: Experimental / Research
Version: v0.1 β Base Model
Training: In progress
Primary language: Turkish
Model size: ~90M parameters
Instruction tuning: Not yet completed
Production readiness: β No
Research/experimentation: β Yes
THE ARCHITECT is intended for:
It is not currently recommended for:
THE ARCHITECT is an independently developed project.
It is intentionally developed without the infrastructure or computational resources of a large AI organization.
The project therefore emphasizes:
Architectural components that do not work as expected are considered part of the research process rather than hidden from the model documentation.
The project makes use of the broader open-source machine-learning ecosystem, including:
HuggingFaceH4/no_robotsThis project would not be practical without the open-source ecosystem surrounding modern machine learning.
If you use THE ARCHITECT in research or experimentation, please cite the project as:
@misc{the_architect_2026,
title = {THE ARCHITECT v0.1: A Boutique From-Scratch Turkish Language Model},
author = {Independent AI Researcher},
year = {2026},
publisher = {Hugging Face},
note = {Experimental 90M-parameter Turkish language model}
}
THE ARCHITECT is deliberately presented as an experiment, not a finished claim about the future of language modeling.
A 90M-parameter model is not expected to match the capabilities of modern multi-billion-parameter foundation models.
The interesting question is narrower:
How far can a carefully designed, aggressively trained, Turkish-focused small model be pushedβand which architectural ideas actually help?
That question is what THE ARCHITECT is being built to investigate.
The experiment is still running.