Fix parameter count: card said ~900K, checkpoint is 985,728 Verified against the safetensors artifact: wte 1375x128 = 176,000 wpe 128x128 = 16,384 4 x (attn.c_attn 128x128 + attn.c_proj 128x128 + mlp.c_fc 128x512 + mlp.c_proj 512x128) = 4 x 49,568 = 198,272 ln_f 128 = 128 ------------------------------------------ total = 985,728 tie_word_embeddings=true, so lm_head adds 0. 985,728 is ~9.5% higher than the ~900K on the card. Updated the badge, tagline, overview, table and disclaimer to ~985K. No change to architecture, weights or any other field.

#2
by Compactbot - opened
Files changed (1) hide show
  1. README.md +5 -6
README.md CHANGED
@@ -15,18 +15,18 @@ library_name: transformers
15
 
16
  # 🧠 MiniBot-0.9M-Base
17
 
18
- > **Ultra-lightweight GPT-2 style language model (~900K parameters) specialized in Portuguese conversational text.**
19
 
20
  [![Model](https://img.shields.io/badge/πŸ€—%20Hugging%20Face-MiniBot--0.9M--Base-yellow)](https://huggingface.co/AxionLab-official/MiniBot-0.9M-Base)
21
  [![License](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
22
  [![Language](https://img.shields.io/badge/Language-Portuguese-blue)](https://huggingface.co/AxionLab-official/MiniBot-0.9M-Base)
23
- [![Parameters](https://img.shields.io/badge/Parameters-~900K-orange)](https://huggingface.co/AxionLab-official/MiniBot-0.9M-Base)
24
 
25
  ---
26
 
27
  ## πŸ“Œ Overview
28
 
29
- **MiniBot-0.9M-Base** is a tiny decoder-only Transformer (~0.9M parameters) based on the GPT-2 architecture, designed for efficient text generation in **Portuguese**.
30
 
31
  This is a **base (pretrained) model** β€” trained purely for next-token prediction, with no instruction tuning or alignment of any kind. It serves as the foundation for fine-tuned variants such as [MiniBot-0.9M-Instruct](https://huggingface.co/AxionLab-official/MiniBot-0.9M-Instruct).
32
 
@@ -39,7 +39,7 @@ This is a **base (pretrained) model** β€” trained purely for next-token predicti
39
  | πŸ‡§πŸ‡· **Language** | Portuguese (primary) |
40
  | 🧠 **Architecture** | GPT-2 style (Transformer decoder-only) |
41
  | πŸ”€ **Embeddings** | GPT-2 compatible |
42
- | πŸ“‰ **Parameters** | ~900K |
43
  | βš™οΈ **Objective** | Causal Language Modeling (next-token prediction) |
44
  | 🚫 **Alignment** | None (base model) |
45
 
@@ -104,7 +104,6 @@ pip install transformers torch
104
  from transformers import AutoTokenizer, AutoModelForCausalLM
105
 
106
  model_name = "AxionLab-official/MiniBot-0.9M-Base"
107
-
108
  tokenizer = AutoTokenizer.from_pretrained(model_name)
109
  model = AutoModelForCausalLM.from_pretrained(model_name)
110
 
@@ -150,7 +149,7 @@ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
150
 
151
  ## ⚠️ Disclaimer
152
 
153
- - Extremely small model (~900K parameters)
154
  - Limited world knowledge and weak generalization
155
  - No safety or alignment measures
156
  - **Not suitable for production use**
 
15
 
16
  # 🧠 MiniBot-0.9M-Base
17
 
18
+ > **Ultra-lightweight GPT-2 style language model (~985K parameters) specialized in Portuguese conversational text.**
19
 
20
  [![Model](https://img.shields.io/badge/πŸ€—%20Hugging%20Face-MiniBot--0.9M--Base-yellow)](https://huggingface.co/AxionLab-official/MiniBot-0.9M-Base)
21
  [![License](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
22
  [![Language](https://img.shields.io/badge/Language-Portuguese-blue)](https://huggingface.co/AxionLab-official/MiniBot-0.9M-Base)
23
+ [![Parameters](https://img.shields.io/badge/Parameters-~985K-orange)](https://huggingface.co/AxionLab-official/MiniBot-0.9M-Base)
24
 
25
  ---
26
 
27
  ## πŸ“Œ Overview
28
 
29
+ **MiniBot-0.9M-Base** is a tiny decoder-only Transformer (~985K parameters) based on the GPT-2 architecture, designed for efficient text generation in **Portuguese**.
30
 
31
  This is a **base (pretrained) model** β€” trained purely for next-token prediction, with no instruction tuning or alignment of any kind. It serves as the foundation for fine-tuned variants such as [MiniBot-0.9M-Instruct](https://huggingface.co/AxionLab-official/MiniBot-0.9M-Instruct).
32
 
 
39
  | πŸ‡§πŸ‡· **Language** | Portuguese (primary) |
40
  | 🧠 **Architecture** | GPT-2 style (Transformer decoder-only) |
41
  | πŸ”€ **Embeddings** | GPT-2 compatible |
42
+ | πŸ“‰ **Parameters** | ~985K (985,728) |
43
  | βš™οΈ **Objective** | Causal Language Modeling (next-token prediction) |
44
  | 🚫 **Alignment** | None (base model) |
45
 
 
104
  from transformers import AutoTokenizer, AutoModelForCausalLM
105
 
106
  model_name = "AxionLab-official/MiniBot-0.9M-Base"
 
107
  tokenizer = AutoTokenizer.from_pretrained(model_name)
108
  model = AutoModelForCausalLM.from_pretrained(model_name)
109
 
 
149
 
150
  ## ⚠️ Disclaimer
151
 
152
+ - Extremely small model (~985K parameters)
153
  - Limited world knowledge and weak generalization
154
  - No safety or alignment measures
155
  - **Not suitable for production use**