Downloads · 30 days
8
21% of all-time downloads
faridahmed-devhub/FaridLLM-Tiny
FaridLLM-Tiny is a machine learning model from faridahmed-devhub. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
A modular large language model research project by Farid Ahmed.
Downloads · 30 days
8
21% of all-time downloads
All-time downloads
38
Public
Parameters
2.5M
10 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors10 MB · 100%
From the Hugging Face model README
A modular large language model research project by Farid Ahmed.
This is a tiny experimental model built to validate the full training pipeline (dataset -> tokenizer -> dataloader -> forward -> loss -> backward -> optimizer -> scheduler -> checkpoint -> resume -> evaluation -> generation). It does not represent frontier-level performance.
FaridLLM is a modular transformer with:
This exported model is dense, trained on synthetic numeric sequences ('toy arith numeric sequences, pattern=arith, numeric vocab 32'), trained for 300 steps.
| Parameter | Value |
|---|---|
| Parameters | 2,492,672 |
| Hidden size | 256 |
| Layers | 4 |
| Attention heads | 4 |
| KV heads | 2 |
| Head dim | 64 |
| Intermediate size | 512 |
| FFN type | swiglu |
| Attention type | gqa |
| Context length | 512 |
| RoPE theta | 10000.0 |
| RMS norm eps | 1e-06 |
| Vocab size | 256 |
| Tie word embeddings | False |
| MoE | no |
| Dtype | float32 |
ByteLevel BPE (Hugging Face tokenizers backend). Vocabulary size and contents
match the checkpoint used during training. Special tokens: <pad>, <unk>,
<bos>, <eos>, <mask>.
| Field | Value |
|---|---|
| Dataset | toy arithmetic-progression numeric sequences (values 0..31) |
| Steps | 300 |
| Seed | 2024 |
| Batch size | 8 |
| Optimizer | AdamW (lr 0.0003) |
| Hardware | CPU (14 threads) |
| Dtype | float32 |
Apache-2.0