LisaMegaWatts commited on
Commit
09a6480
·
verified ·
1 Parent(s): 34d9e65

Add model card with architecture details and LoRA config

Browse files
Files changed (1) hide show
  1. README.md +60 -0
README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: apache-2.0
4
+ tags:
5
+ - gemma3
6
+ - causal-lm
7
+ - 1m-context
8
+ - symbiogenesis
9
+ - episodic-memory
10
+ base_model: google/gemma-3-270m
11
+ library_name: transformers
12
+ ---
13
+
14
+ # Ouroboros-1MContext-Gemma-270m
15
+
16
+ 1M-context extension of Google's [Gemma 3 270M](https://huggingface.co/google/gemma-3-270m) for episodic memory research.
17
+
18
+ ## Architecture
19
+
20
+ | Parameter | Value |
21
+ |---|---|
22
+ | Model type | Gemma3ForCausalLM |
23
+ | Hidden size | 640 |
24
+ | Intermediate size | 2048 |
25
+ | Num layers | 18 |
26
+ | Num attention heads | 4 (GQA, 1 KV head) |
27
+ | Head dim | 256 |
28
+ | Vocab size | 262,144 |
29
+ | Max position embeddings | 1,048,576 (1M context) |
30
+ | Total parameters | 268,098,176 |
31
+ | VRAM (bfloat16) | 0.54 GB |
32
+
33
+ ## LoRA Adapter Configuration (for episodic memory)
34
+
35
+ | Parameter | Value |
36
+ |---|---|
37
+ | Rank | 4 |
38
+ | Alpha | 8 |
39
+ | Target modules | gate_proj, up_proj, down_proj |
40
+ | Params per adapter | 580,608 |
41
+ | Per LoRA pair (one layer, one module) | 10,752 |
42
+
43
+ ## Usage
44
+
45
+ ```python
46
+ from transformers import AutoModelForCausalLM, AutoTokenizer
47
+
48
+ model = AutoModelForCausalLM.from_pretrained("MonumentalSystems/Ouroboros-1MContext-Gemma-270m", torch_dtype="bfloat16")
49
+ tokenizer = AutoTokenizer.from_pretrained("MonumentalSystems/Ouroboros-1MContext-Gemma-270m")
50
+ ```
51
+
52
+ ## Citation
53
+
54
+ Used in "Continuous Memory: Zero-Forgetting Episodic Memory via Per-Memory LoRA Adapters" (ICLR 2026 submission).
55
+
56
+ W&B runs: `41uzevnn`, `oa8xe89e`, `2v01e4e9` (project: symbiogenesis)
57
+
58
+ ## License
59
+
60
+ Apache 2.0 (following Gemma 3 license)