arthu1 commited on
Commit
c4dc6ef
·
verified ·
1 Parent(s): 52385ec

Upload 13 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ aurora_one_mini_deterministic_v2_f16.gguf filter=lfs diff=lfs merge=lfs -text
37
+ aurora_one_mini_deterministic_v2_q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - causal-lm
6
+ - text-generation
7
+ - gpt2
8
+ - small-language-model
9
+ pipeline_tag: text-generation
10
+ library_name: transformers
11
+ ---
12
+
13
+ # Aurora One Mini — 124M
14
+
15
+ Aurora One Mini is a compact, community-built language model designed for fast local chat, experiments, and lightweight AI applications.
16
+
17
+ At only **124 million parameters**, it is small enough to run comfortably on ordinary laptops and edge devices while remaining useful for short-form generation and experimentation.
18
+
19
+ ## What makes it interesting
20
+
21
+ - **Tiny and fast:** practical for local inference and rapid prototyping
22
+ - **Native ChatML format:** structured user/assistant conversations
23
+ - **Hugging Face + GGUF exports:** works with Transformers and llama.cpp-compatible tools
24
+ - **Open experiment:** trained and evaluated on a single consumer GPU
25
+
26
+ ## Model details
27
+
28
+ - Architecture: GPT-style causal language model
29
+ - Parameters: approximately 124M
30
+ - Layers: 12
31
+ - Hidden size: 768
32
+ - Attention heads: 12
33
+ - Context length: 1,024 tokens
34
+ - Vocabulary: GPT-2 BPE plus ChatML control tokens
35
+ - Final pretraining: 45,000 steps, approximately 15 tokens per parameter
36
+ - Released checkpoint: deterministic v2, step 2,000 of targeted post-training
37
+
38
+ ## Quick start
39
+
40
+ ```python
41
+ from transformers import AutoTokenizer, AutoModelForCausalLM
42
+ import torch
43
+
44
+ model_id = "YOUR_USERNAME/aurora-one-mini-124m"
45
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
46
+ model = AutoModelForCausalLM.from_pretrained(model_id)
47
+
48
+ prompt = "What is the capital of France?"
49
+ messages = [{"role": "user", "content": prompt}]
50
+ text = tokenizer.apply_chat_template(
51
+ messages, tokenize=False, add_generation_prompt=True
52
+ )
53
+ inputs = tokenizer(text, return_tensors="pt")
54
+
55
+ with torch.no_grad():
56
+ output = model.generate(
57
+ **inputs,
58
+ max_new_tokens=80,
59
+ temperature=0.7,
60
+ top_p=0.9,
61
+ do_sample=True,
62
+ )
63
+
64
+ print(tokenizer.decode(output[0], skip_special_tokens=True))
65
+ ```
66
+
67
+ ## GGUF files
68
+
69
+ The companion GGUF files are provided for local runtimes:
70
+
71
+ - `aurora_one_mini_deterministic_v2_f16.gguf` — highest fidelity
72
+ - `aurora_one_mini_deterministic_v2_q4_k_m.gguf` — compact CPU-friendly quantization
73
+
74
+ Use the Q4_K_M file for a fast, low-memory demo. Use the F16 file when preserving maximum quality is more important.
75
+
76
+ ## Honest limitations
77
+
78
+ This is an experimental 124M model, not a frontier assistant. It can produce fluent short responses, but it may hallucinate, repeat itself, or answer arithmetic and factual questions incorrectly. For dependable applications, pair it with a calculator, retrieval system, memory layer, and explicit output validation.
79
+
80
+ The native-ChatML factual smoke test scored **3/20** on a small internal suite. This score is reported to set realistic expectations and should not be interpreted as a general benchmark.
81
+
82
+ ## Intended use
83
+
84
+ Good fits include:
85
+
86
+ - local chat experiments
87
+ - educational model training projects
88
+ - embedded or low-resource inference
89
+ - prompt-format and agent-runtime experiments
90
+ - fast prototyping with Transformers or llama.cpp
91
+
92
+ Avoid using it as the sole source of truth for medical, legal, financial, safety-critical, or factual decision-making.
93
+
94
+ ## Prompt format
95
+
96
+ The model was post-trained using ChatML-style turns:
97
+
98
+ ```text
99
+ <|im_start|><|user|>Your question<|im_end|>
100
+ <|im_start|><|assistant|>
101
+ ```
102
+
103
+ The included tokenizer metadata contains the required special tokens.
104
+
105
+ ## Acknowledgements
106
+
107
+ Aurora One Mini was trained as a small-scale independent experiment using PyTorch and a consumer NVIDIA GPU. Contributions, evaluations, and improvements are welcome.
108
+
109
+ ## License
110
+
111
+ Released for research and experimentation. Add the project’s final license here before redistributing commercially.
added_tokens.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "<|assistant|>": 50260,
3
+ "<|im_end|>": 50258,
4
+ "<|im_start|>": 50257,
5
+ "<|user|>": 50259
6
+ }
aurora_metadata.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source_checkpoint": "checkpoints/aurora_one_mini_deterministic_v2.pt",
3
+ "step": 2000,
4
+ "special_tokens": {
5
+ "im_start": 50257,
6
+ "im_end": 50258,
7
+ "user": 50259,
8
+ "assistant": 50260
9
+ }
10
+ }
aurora_one_mini_deterministic_v2_f16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49c305ea83996f3b7520474c96915d9b7a39ceff3f3b9b09a569c87ea74a9ee9
3
+ size 252476576
aurora_one_mini_deterministic_v2_q4_k_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff55f1c99d57b3f864522f85c6e78fef637f291cd7c54e4d786bc98754550363
3
+ size 91233248
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.0,
7
+ "bos_token_id": 50256,
8
+ "dtype": "float32",
9
+ "embd_pdrop": 0.0,
10
+ "eos_token_id": 50256,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 768,
16
+ "n_head": 12,
17
+ "n_inner": null,
18
+ "n_layer": 12,
19
+ "n_positions": 1024,
20
+ "reorder_and_upcast_attn": false,
21
+ "resid_pdrop": 0.0,
22
+ "scale_attn_by_inverse_layer_idx": false,
23
+ "scale_attn_weights": true,
24
+ "summary_activation": null,
25
+ "summary_first_dropout": 0.1,
26
+ "summary_proj_to_labels": true,
27
+ "summary_type": "cls_index",
28
+ "summary_use_proj": true,
29
+ "transformers_version": "4.57.6",
30
+ "use_cache": true,
31
+ "vocab_size": 50261
32
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.57.6"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:822ecd302aafc6b487bbe03c9411f8ec736aa698fe3a53a6b8d917e3b49d954d
3
+ size 497786496
special_tokens_map.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<|im_start|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ {
11
+ "content": "<|im_end|>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ {
18
+ "content": "<|user|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ {
25
+ "content": "<|assistant|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ ],
32
+ "bos_token": "<|endoftext|>",
33
+ "eos_token": "<|endoftext|>",
34
+ "unk_token": "<|endoftext|>"
35
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "50257": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "50258": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "50259": {
29
+ "content": "<|user|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50260": {
37
+ "content": "<|assistant|>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "additional_special_tokens": [
46
+ "<|im_start|>",
47
+ "<|im_end|>",
48
+ "<|user|>",
49
+ "<|assistant|>"
50
+ ],
51
+ "bos_token": "<|endoftext|>",
52
+ "clean_up_tokenization_spaces": false,
53
+ "eos_token": "<|endoftext|>",
54
+ "model_max_length": 1024,
55
+ "tokenizer_class": "GPT2Tokenizer",
56
+ "unk_token": "<|endoftext|>"
57
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff