kalpesh77 commited on
Commit
514cc4f
·
verified ·
1 Parent(s): 1773a75

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +88 -1
README.md CHANGED
@@ -11,5 +11,92 @@ pinned: false
11
  license: mit
12
  short_description: 'Vajra-ISA (वज्र-ISA) उद्दिष्ट: वैदिक त्रिगुण (तम-रज-सत्व) '
13
  ---
 
14
 
15
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  license: mit
12
  short_description: 'Vajra-ISA (वज्र-ISA) उद्दिष्ट: वैदिक त्रिगुण (तम-रज-सत्व) '
13
  ---
14
+ # Vajra-ISA (वज्र-ISA)
15
 
16
+ Vedic-inspired Virtual Machine for Neuro-Symbolic AI and Interpretable AI.
17
+
18
+ ## Overview
19
+
20
+ Vajra-ISA is a Turing-complete, FP32-based virtual machine inspired by the Vedic tri-guṇa (तम-रज-सत्व) framework. It serves as a low-level language for:
21
+
22
+ - **Neuro-Symbolic AI**: Write interpretable neural programs
23
+ - **Indic Knowledge Systems**: Load Vedic concepts as data
24
+ - **Interpretable AI**: Every instruction maps to natural language explanation
25
+
26
+ ## Architecture
27
+
28
+ ### Register File (त्रिगुण Model)
29
+
30
+ | Register | गुण | Role |
31
+ |----------|--------|-------------------------------|
32
+ | R0 | तम | Accumulator / Activation |
33
+ | R1 | रज | Operand / Gradient |
34
+ | R2 | सत्व | Flag / Decision gate |
35
+ | R3 | गति | Program Counter |
36
+ | R4 | स्मृती | Stack Pointer |
37
+
38
+ ### Instruction Set
39
+
40
+ 32-bit format: `[8-bit Opcode | 24-bit Operand]`
41
+
42
+ Key instructions:
43
+ - **Data**: `तम`, `स्थिर`, `कर्म`
44
+ - **ALU**: `रज_जो`, `रज_वि`, `रज_गु`, `योग`
45
+ - **Control**: `सत्व`, `माया`, `गति`, `काल`
46
+ - **AI Core**: `ध्यान` (soft normalization)
47
+ - **System**: `ब्रह्म` (halt)
48
+
49
+ ## Usage
50
+
51
+ ### Online (Hugging Face Space)
52
+
53
+ Visit: [Your Space URL]
54
+
55
+ ### Local
56
+
57
+ ```bash
58
+ pip install -r requirements.txt
59
+ python app.py
60
+ ```
61
+
62
+ ### Example Program
63
+
64
+ ```vajra
65
+ ; Simple loop: sum 1 to 5
66
+ तम 0 ; R0 = 0 (accumulator)
67
+ तम 5 ; R0 = 5 (counter)
68
+ गति_लूप:
69
+ रज_जो ; R0 = R0 + R1
70
+ काल गति_लूप ; R0-- ; if R0>0 goto गति_लूप
71
+ ब्रह्म
72
+ ```
73
+
74
+ ## Hugging Face Integration
75
+
76
+ Load Vedic concepts from datasets:
77
+
78
+ ```vajra
79
+ %load_geometry "पुष्पक_विमान"
80
+
81
+ स्थिर पुष्पक_विमान_satva
82
+ ; R0 = satva value from dataset
83
+ ```
84
+
85
+ Dataset: `kalpesh77/vedic-neural-geometry`
86
+
87
+ ## Development Status
88
+
89
+ - ✅ Virtual Machine (CPU)
90
+ - ✅ Assembler (Lexer + Parser)
91
+ - ✅ Linker (HF Dataset integration)
92
+ - ✅ Gradio UI
93
+ - 🔜 Compiler (Vajra → PyTorch graphs)
94
+ - 🔜 More AI instructions
95
+
96
+ ## License
97
+
98
+ MIT
99
+
100
+ ## Author
101
+
102
+ Kalpesh