Upload README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MLE Competitive Model
|
| 2 |
+
|
| 3 |
+
A high-dimensional sparse distributed memory system with energy-based dynamics and knowledge-based question-answering capabilities.
|
| 4 |
+
|
| 5 |
+
## Architecture
|
| 6 |
+
|
| 7 |
+
- **Vector size**: 4096 bits (sparse, ~5% active)
|
| 8 |
+
- **Memory**: Sparse Address Table with online learning
|
| 9 |
+
- **Inference**: Energy minimization via simulated annealing
|
| 10 |
+
- **Knowledge**: 283 facts, 334 words, 53 sequences
|
| 11 |
+
|
| 12 |
+
## Benchmarks
|
| 13 |
+
|
| 14 |
+
| Task | Accuracy |
|
| 15 |
+
|------|----------|
|
| 16 |
+
| Question Answering | 92.9% |
|
| 17 |
+
| Analogy Solving | 100.0% |
|
| 18 |
+
| Sequence Completion | 93.3% |
|
| 19 |
+
| Word Retrieval | 100.0% |
|
| 20 |
+
| Generalization | 100.0% |
|
| 21 |
+
| **Overall** | **97.2%** |
|
| 22 |
+
|
| 23 |
+
## Files
|
| 24 |
+
|
| 25 |
+
- `mle_best_facts.json`: Knowledge base facts
|
| 26 |
+
- `mle_best_model.npz`: Word vectors and embeddings
|
| 27 |
+
- `mle_best_results.json`: Benchmark results
|
| 28 |
+
- `mle_best_config.json`: Model configuration
|
| 29 |
+
|
| 30 |
+
## Usage
|
| 31 |
+
|
| 32 |
+
```python
|
| 33 |
+
import numpy as np
|
| 34 |
+
|
| 35 |
+
# Load model
|
| 36 |
+
data = np.load("mle_best_model.npz", allow_pickle=True)
|
| 37 |
+
words = data['words']
|
| 38 |
+
vectors = data['vectors']
|
| 39 |
+
```
|