akulasairohit commited on
Commit
427bb50
·
verified ·
1 Parent(s): 1756c49

Release Panini 1.0 (Meru OS)

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ 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
+ constitution.meru filter=lfs diff=lfs merge=lfs -text
37
+ pin_codes.meru filter=lfs diff=lfs merge=lfs -text
38
+ universal_corpus.meru filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - sa
4
+ - en
5
+ - de
6
+ - hi
7
+ tags:
8
+ - neuro-symbolic
9
+ - vedic-logic
10
+ - green-ai
11
+ - sovereign-ai
12
+ license: mit
13
+ ---
14
+
15
+ # 🕉️ Panini 1.0 Alpha (Meru OS)
16
+
17
+ **"The Glass Box Model."**
18
+
19
+ Panini 1.0 is the first **Neuro-Symbolic LLM** built on the [Meru OS](https://github.com/akulasairohit/meru-os) architecture.
20
+ It represents **Sovereign AI**: The logic and the data are owned by the people, not corporations.
21
+
22
+ ## 🧠 The Sovereign Knowledge Base
23
+ This model comes bundled with **Compressed Knowledge Modules (.meru)** that are loaded directly into memory (Smriti):
24
+
25
+ | Module | content |
26
+ | :--- | :--- |
27
+ | **universal_corpus.meru** | 25,731 Indo-European Cognates (Sanskrit/Greek/German) |
28
+ | **constitution.meru** | The Constitution of India (Complete) |
29
+ | **ipc.meru** | Indian Penal Code (IPC) |
30
+ | **ayurveda.meru** | Charaka Samhita (Medical Knowledge) |
31
+ | **gst_hsn.meru** | GST Goods & Services Tax Codes |
32
+ | **pin_codes.meru** | All India Pincodes Directory |
33
+ | **mandi_prices.meru** | Real-time Agricultural Prices |
34
+
35
+ ## 🚀 Usage
36
+
37
+ ```python
38
+ import torch
39
+ from meru_os import PaniniLLM
40
+
41
+ # Load Model (Auto-loads all .meru files in directory)
42
+ model = PaniniLLM()
43
+ model.load_state_dict(torch.load("pytorch_model.bin"))
44
+
45
+ # Query Logic
46
+ print(model.query_root("MOTHER"))
47
+ # Output: ['mātṛ (Sanskrit)', 'mētēr (Greek)', 'mutter (German)']
48
+
49
+ print(model.query_law("Fundamental Rights"))
50
+ # Output: Returns Article 12-35 from constitution.meru
51
+ ```
52
+
53
+ ## 🌱 Green AI
54
+ - **Total Size**: < 2MB (Weights + All 7 Datasets)
55
+ - **Inference**: CPU-Native
56
+ - **Architecture**: Deterministic Prime Factors
57
+
58
+ **Sovereign AI for a Sovereign World.** 🇮🇳
ayurveda.meru ADDED
Binary file (4.14 kB). View file
 
config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "PaniniLLM"
4
+ ],
5
+ "model_type": "panini",
6
+ "vocab_size": 25731,
7
+ "hidden_size": 108,
8
+ "num_layers": 14,
9
+ "description": "The First Sovereign AI based on Vedic Logic and Prime Numbers.",
10
+ "authors": [
11
+ "Meru AI"
12
+ ]
13
+ }
constitution.meru ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d5c56554d30fd4d648a716b843b9775ff310f80055dee569e643b0ef89ccbc8
3
+ size 105674
gst_hsn.meru ADDED
Binary file (12 kB). View file
 
ipc.meru ADDED
Binary file (56 kB). View file
 
mandi_prices.meru ADDED
Binary file (10.8 kB). View file
 
pin_codes.meru ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ada8bf8473d5ce3f76cc79ca700ca226ad86ddf3f0cfc652bd4644a076541b8e
3
+ size 1483559
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1533773989fe10c74684e2897632d975f2ff19ce066565278e67b830b06c7d1
3
+ size 19221
universal_corpus.meru ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f7788d4c97cbf4947bf4e546bb861b0f40925baf689388066677eb32874da61
3
+ size 203179