Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
datasets:
|
| 4 |
+
- antonypamo/savantorganized
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
---
|
| 8 |
+
# 🧬 ProSavantEngine Φ9.3 — Icosahedral Resonance Language Model
|
| 9 |
+
|
| 10 |
+
**Author:** [Antony Padilla Morales](https://huggingface.co/antonypamo
|
| 11 |
+
|
| 12 |
+
## 🧠 Overview
|
| 13 |
+
|
| 14 |
+
`ProSavantEngine Φ9.3` extends the *Resonance of Reality Framework (RRF)* by coupling **language semantics** and **icosahedral geometry** through node-conditioned tokens `[NODE_1]`–`[NODE_12]`.
|
| 15 |
+
Each text sample during training was enriched with its geometric node context, allowing the model to align meaning with spatial-frequency symmetry.
|
| 16 |
+
|
| 17 |
+
This version fine-tunes from **Φ9.2-Lite** on the full RRF corpus `corpus_unificado_total.jsonl`, augmented with `icosahedron_nodes.json`.
|
| 18 |
+
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## 🚀 Quick Start
|
| 22 |
+
|
| 23 |
+
Install dependencies:
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
pip install torch transformers datasets scipy plotly gradio
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
Run inference:
|
| 30 |
+
|
| 31 |
+
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
| 32 |
+
|
| 33 |
+
tok = AutoTokenizer.from_pretrained("antonypamo/ProSavantEngine_Phi9_3")
|
| 34 |
+
model = AutoModelForMaskedLM.from_pretrained("antonypamo/ProSavantEngine_Phi9_3")
|
| 35 |
+
|
| 36 |
+
text = "Quantum resonance aligns with [NODE_5]"
|
| 37 |
+
inputs = tok(text, return_tensors="pt")
|
| 38 |
+
outputs = model(**inputs, labels=inputs["input_ids"])
|
| 39 |
+
print(outputs.loss)
|
| 40 |
+
|
| 41 |
+
🧩 Fine-Tuning from the Hub
|
| 42 |
+
|
| 43 |
+
You can continue training directly from the Hub:
|
| 44 |
+
|
| 45 |
+
from transformers import Trainer, TrainingArguments
|
| 46 |
+
|
| 47 |
+
args = TrainingArguments.from_pretrained("antonypamo/ProSavantEngine_Phi9_3")
|
| 48 |
+
trainer = Trainer.from_pretrained(
|
| 49 |
+
"antonypamo/ProSavantEngine_Phi9_3",
|
| 50 |
+
args=args,
|
| 51 |
+
train_dataset=my_dataset,
|
| 52 |
+
eval_dataset=my_eval
|
| 53 |
+
)
|
| 54 |
+
trainer.train()
|
| 55 |
+
|
| 56 |
+
📦 Requirements
|
| 57 |
+
torch
|
| 58 |
+
transformers
|
| 59 |
+
datasets
|
| 60 |
+
scipy
|
| 61 |
+
plotly
|
| 62 |
+
gradio
|
| 63 |
+
|
| 64 |
+
📚 Dataset
|
| 65 |
+
|
| 66 |
+
The model was trained on the unified corpus
|
| 67 |
+
antonypamo/savantorganized
|
| 68 |
+
|
| 69 |
+
and linked with icosahedron_nodes.json providing the 12-node geometric structure of the icosahedral lattice.
|
| 70 |
+
|
| 71 |
+
🔮 Applications
|
| 72 |
+
|
| 73 |
+
Resonant rewriting and coherence scoring
|
| 74 |
+
|
| 75 |
+
Prompt optimization and semantic filtration
|
| 76 |
+
|
| 77 |
+
Geometric–linguistic embeddings for RRF AI models
|
| 78 |
+
|
| 79 |
+
Integration into AGORA / SavantEngine resonance simulations
|
| 80 |
+
|
| 81 |
+
Cognitive field modeling and symbolic AI research
|
| 82 |
+
|
| 83 |
+
🧭 Related Resources
|
| 84 |
+
|
| 85 |
+
antonypamo/ProSavantEngine_Phi9_2_Lite
|
| 86 |
+
— prior iteration
|
| 87 |
+
|
| 88 |
+
antonypamo/savantorganized
|
| 89 |
+
— training corpus
|
| 90 |
+
|
| 91 |
+
ProSavantEngine Resonance Space
|
| 92 |
+
— live interactive demo
|
| 93 |
+
|
| 94 |
+
📜 Citation
|
| 95 |
+
@software{padilla2025prosavantengine,
|
| 96 |
+
author = {Padilla Morales, Antony},
|
| 97 |
+
title = {ProSavantEngine Φ9.3 — Icosahedral Resonant Language Model},
|
| 98 |
+
year = {2025},
|
| 99 |
+
url = {https://huggingface.co/antonypamo/ProSavantEngine_Phi9_3}
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
⚙️ Developer Notes
|
| 103 |
+
|
| 104 |
+
Add your dataset card or a link to any .jsonl corpus used.
|
| 105 |
+
|
| 106 |
+
Include training_args.json for reproducibility.
|
| 107 |
+
|
| 108 |
+
The model supports multi-node resonance learning via [NODE_X] tokens.
|
| 109 |
+
|
| 110 |
+
Compatible with both CPU and GPU environments.
|