Spaces:
Sleeping
Sleeping
Upload 3 files
Browse files- README.md +137 -138
- app.py +1 -1
- requirements.txt +1 -1
README.md
CHANGED
|
@@ -1,139 +1,138 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: RSM Simulator
|
| 3 |
-
emoji: ๐ฎ
|
| 4 |
-
colorFrom: red
|
| 5 |
-
colorTo: blue
|
| 6 |
-
sdk: gradio
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
[](https://huggingface.co/spaces/Flamehaven/rms-simulator)
|
| 19 |
+
[](https://rsm-ontology.github.io)
|
| 20 |
+
[](https://github.com/flamehaven/rsm-implementation)
|
| 21 |
+
|
| 22 |
+
## ๐ฏ What is RSM?
|
| 23 |
+
|
| 24 |
+
RSM comprises three core computational mechanisms:
|
| 25 |
+
|
| 26 |
+
1. **Vector of Meaning Energy (VME)**: Encodes symbolic representations across heterogeneous cultural systems (Tarot, Saju, Astrology)
|
| 27 |
+
2. **Resonance Index (RI)**: A quantitative metric of interpretive alignment and temporal stability
|
| 28 |
+
3. **DriftSentinel**: Monitors longitudinal deviations in symbolic consistency
|
| 29 |
+
|
| 30 |
+
## ๐ Quick Start
|
| 31 |
+
|
| 32 |
+
### Online Demo
|
| 33 |
+
Simply visit our [Hugging Face Space](https://huggingface.co/spaces/Flamehaven/rms-simulator) to try RSM immediately!
|
| 34 |
+
|
| 35 |
+
### Local Installation
|
| 36 |
+
|
| 37 |
+
```bash
|
| 38 |
+
# Clone the repository
|
| 39 |
+
git clone https://github.com/flamehaven/rsm-implementation
|
| 40 |
+
cd rsm-implementation/huggingface_deployment
|
| 41 |
+
|
| 42 |
+
# Install dependencies
|
| 43 |
+
pip install -r requirements.txt
|
| 44 |
+
|
| 45 |
+
# Run the application
|
| 46 |
+
python app.py
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
### Requirements
|
| 50 |
+
- Python 3.8+
|
| 51 |
+
- gradio>=5.0.0
|
| 52 |
+
- numpy>=1.21.0
|
| 53 |
+
- plotly>=5.0.0
|
| 54 |
+
- python-dateutil>=2.8.0
|
| 55 |
+
|
| 56 |
+
## ๐ฌ Technical Features
|
| 57 |
+
|
| 58 |
+
- **Real-time Calculation**: Instant symbolic reasoning with academic-grade reproducibility
|
| 59 |
+
- **Interactive Visualizations**: 3D energy maps, harmony trends, and cultural balance wheels
|
| 60 |
+
- **Multi-cultural Integration**: Seamless blending of Western and Eastern symbolic systems
|
| 61 |
+
- **Interpretive Analysis**: User-friendly insights based on symbolic resonance patterns
|
| 62 |
+
- **Drift Monitoring**: Stability assessment of symbolic interpretations
|
| 63 |
+
- **Complete Reproducibility**: Fixed random seeds and deterministic computation (ฮด < 1e-12)
|
| 64 |
+
|
| 65 |
+
## ๐ Academic Background
|
| 66 |
+
|
| 67 |
+
This demo implements the research described in:
|
| 68 |
+
|
| 69 |
+
**"Resonant Structures of Meaning: A Machine-Executable Ontology for Interpretive AI"**
|
| 70 |
+
*Yun Kwansub, Flamehaven Initiative (2025)*
|
| 71 |
+
|
| 72 |
+
**Version Correspondence:**
|
| 73 |
+
- **Paper**: RSM v2.1 methodology, Simulator suite v2.2
|
| 74 |
+
- **Implementation**: RSM Simulator v2.2 (this release)
|
| 75 |
+
- **Hugging Face Space**: Live deployment of v2.2
|
| 76 |
+
|
| 77 |
+
The framework adopts a **code-first methodology** where executable systems are treated as primary artifacts from which theoretical insights are derived.
|
| 78 |
+
|
| 79 |
+
## ๐ Links & Resources
|
| 80 |
+
|
| 81 |
+
- [๐ **Live Demo**](https://huggingface.co/spaces/Flamehaven/rms-simulator) - Try RSM online
|
| 82 |
+
- [๐ **Academic Paper**](https://rsm-ontology.github.io) - Full methodology and validation
|
| 83 |
+
- [๐ป **Source Code**](https://github.com/flamehaven/rsm-implementation) - Complete implementation
|
| 84 |
+
- [๐๏ธ **Flamehaven Initiative**](https://flamehaven-papers.github.io) - Research organization
|
| 85 |
+
- [๐ **Experimental Data**](https://github.com/flamehaven/rsm-implementation/tree/main/experiments) - Validation results
|
| 86 |
+
|
| 87 |
+
## ๐ Experimental Validation
|
| 88 |
+
|
| 89 |
+
The RSM framework has been validated through comprehensive experiments:
|
| 90 |
+
|
| 91 |
+
- **VME Normalization**: 100% accuracy (norm = 1.000 ยฑ 0.000)
|
| 92 |
+
- **RI Calibration**: MAE = 0.1196, False Alignment Rate = 0.000 (โค0.05 criterion met)
|
| 93 |
+
- **DriftSentinel**: Mean DI2 = 0.013345 across 4 test scenarios
|
| 94 |
+
- **LawBinder**: Mean ฮRI = +0.0110, SCG = 0.7600
|
| 95 |
+
- **Reproducibility**: Perfect deterministic results (ฮด < 1e-12)
|
| 96 |
+
- **Cross-cultural Validation**: Successful integration across symbolic systems
|
| 97 |
+
|
| 98 |
+
## ๐ Citation
|
| 99 |
+
|
| 100 |
+
```bibtex
|
| 101 |
+
@article{flamehaven2025rsm,
|
| 102 |
+
title={Resonant Structures of Meaning: A Machine-Executable Ontology for Interpretive AI},
|
| 103 |
+
author={Yun, Kwansub},
|
| 104 |
+
institution={Flamehaven Initiative},
|
| 105 |
+
journal={arXiv preprint arXiv:2509.xxxxx},
|
| 106 |
+
year={2025},
|
| 107 |
+
note={Simulator suite v2.2 available at https://huggingface.co/spaces/Flamehaven/rms-simulator}
|
| 108 |
+
}
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
## ๐ท๏ธ Tags
|
| 112 |
+
|
| 113 |
+
`symbolic-ai` `ontology` `interpretive-ai` `cultural-systems` `tarot` `astrology` `saju` `resonance` `meaning-structures` `machine-executable` `reproducibility`
|
| 114 |
+
|
| 115 |
+
## ๐ Version History
|
| 116 |
+
|
| 117 |
+
- **v2.2** (Current): Enhanced user experience, interactive visualizations, security updates
|
| 118 |
+
- **v2.1**: Core RSM methodology implementation, academic validation
|
| 119 |
+
- **v2.0**: Initial release with basic functionality
|
| 120 |
+
|
| 121 |
+
## ๐ง Reproducibility & Testing
|
| 122 |
+
|
| 123 |
+
This implementation ensures complete reproducibility through:
|
| 124 |
+
- Fixed random seeds (`numpy.random.seed(42)`)
|
| 125 |
+
- Deterministic computation with tolerance ฮด < 1e-12
|
| 126 |
+
- Complete audit trails with SHA-256 hashing
|
| 127 |
+
- Versioned dependencies and test harness
|
| 128 |
+
|
| 129 |
+
For validation, run the test suite:
|
| 130 |
+
```bash
|
| 131 |
+
python -m pytest tests/ -v
|
| 132 |
+
```
|
| 133 |
+
|
| 134 |
+
## ๐ Contact & Support
|
| 135 |
+
|
| 136 |
+
- **Issues**: [GitHub Issues](https://github.com/flamehaven/rsm-implementation/issues)
|
| 137 |
+
- **Email**: info@flamehaven.space
|
|
|
|
| 138 |
- **Research Inquiries**: Flamehaven Initiative
|
app.py
CHANGED
|
@@ -511,7 +511,7 @@ def create_interface():
|
|
| 511 |
|
| 512 |
interpretation_output = gr.Markdown(
|
| 513 |
value="Select symbolic inputs and click 'Calculate RSM' to begin analysis.",
|
| 514 |
-
|
| 515 |
)
|
| 516 |
|
| 517 |
with gr.Row():
|
|
|
|
| 511 |
|
| 512 |
interpretation_output = gr.Markdown(
|
| 513 |
value="Select symbolic inputs and click 'Calculate RSM' to begin analysis.",
|
| 514 |
+
|
| 515 |
)
|
| 516 |
|
| 517 |
with gr.Row():
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
gradio
|
| 2 |
numpy>=1.21.0
|
| 3 |
python-dateutil>=2.8.0
|
| 4 |
plotly>=5.0.0
|
|
|
|
| 1 |
+
gradio
|
| 2 |
numpy>=1.21.0
|
| 3 |
python-dateutil>=2.8.0
|
| 4 |
plotly>=5.0.0
|