antonypamo commited on
Commit
08417ba
·
verified ·
1 Parent(s): efac162

Upload savant_rrf_api_manifest_phi12.json

Browse files
Files changed (1) hide show
  1. savant_rrf_api_manifest_phi12.json +163 -0
savant_rrf_api_manifest_phi12.json ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "Φ12.0",
3
+ "project": "Savant RRF API & Meta-Logic Suite",
4
+ "owner": "Antony Padilla Morales",
5
+ "last_update": "2025-12-11",
6
+
7
+ "modules": {
8
+ "embedder": {
9
+ "id": "antonypamo/RRFSAVANTMADE",
10
+ "dimension": 384,
11
+ "description": "Icosahedral-resonant embedder trained inside the RRF framework with Dirac shells, golden-ratio harmonics and resonance layers.",
12
+ "baseline_comparison": ["MiniLM-L6-v2", "all-mpnet-base-v2"]
13
+ },
14
+
15
+ "meta_logit": {
16
+ "repo": "antonypamo/RRFSavantMetaLogit",
17
+ "filename": "logreg_rrf_savant_15.joblib",
18
+ "expected_features": 15,
19
+ "feature_description": [
20
+ "semantic_margin",
21
+ "cosine_prompt_answer",
22
+ "token_entropy",
23
+ "dirac_energy",
24
+ "dirac_shell_std",
25
+ "freq_low",
26
+ "freq_mid",
27
+ "freq_high",
28
+ "coherence_ratio",
29
+ "phi_ratio",
30
+ "token_len_prompt",
31
+ "token_len_answer",
32
+ "sync_factor",
33
+ "resonance_peak",
34
+ "logit_bias"
35
+ ]
36
+ },
37
+
38
+ "models": {
39
+ "savant_cnn": {
40
+ "filename": "savant_cnn.pt",
41
+ "role": "Signal-to-resonance transformer for numeric → semantic channels.",
42
+ "status": "experimental"
43
+ },
44
+ "rrf_nodes": {
45
+ "filename": "rrf_nodes.pt",
46
+ "description": "Graph-based icosahedral node memory for cross-session resonance."
47
+ }
48
+ }
49
+ },
50
+
51
+ "api": {
52
+ "base_url": "https://antonypamo-apisavant2.hf.space",
53
+ "routes": {
54
+ "/embed": {
55
+ "method": "POST",
56
+ "input": ["text"],
57
+ "output": ["embedding"],
58
+ "use_model": "RRFSAVANTMADE"
59
+ },
60
+ "/rerank": {
61
+ "method": "POST",
62
+ "input": ["query", "documents[]"],
63
+ "output": ["sorted_documents", "scores"],
64
+ "logic": "semantic margin + resonance weighting"
65
+ },
66
+ "/quality": {
67
+ "method": "POST",
68
+ "input": ["prompt", "answer"],
69
+ "output": ["proba", "label (0/1)", "feature_map"],
70
+ "pipeline": "embed → feature_extractor → meta_logit"
71
+ },
72
+ "/roles_profile": {
73
+ "method": "POST",
74
+ "status": "planned",
75
+ "description": "Maps text to RRF cognitive roles (Φ-nodes)."
76
+ },
77
+ "/tutor": {
78
+ "method": "POST",
79
+ "status": "planned",
80
+ "description": "LLM-based tutor using resonant context."
81
+ }
82
+ }
83
+ },
84
+
85
+ "pipelines": {
86
+ "embedding_pipeline": {
87
+ "steps": [
88
+ "load_encoder",
89
+ "encode_text",
90
+ "normalize",
91
+ "output_embeddings"
92
+ ]
93
+ },
94
+ "quality_pipeline": {
95
+ "steps": [
96
+ "encode(prompt)",
97
+ "encode(answer)",
98
+ "extract_features(15-dim)",
99
+ "predict_meta_logit",
100
+ "return_label_and_prob"
101
+ ],
102
+ "purpose": "Evaluate conceptual quality and reasoning integrity."
103
+ },
104
+ "rerank_pipeline": {
105
+ "steps": [
106
+ "encode_query",
107
+ "encode_docs",
108
+ "compute_semantic_margin",
109
+ "compute_resonance_rank",
110
+ "return_sorted_docs"
111
+ ]
112
+ }
113
+ },
114
+
115
+ "enterprise_architecture": {
116
+ "layers": [
117
+ "Frontend → React Landing Page",
118
+ "Gateway Proxy → NGINX",
119
+ "API Layer → FastAPI + Uvicorn",
120
+ "Model Runtime → Embedder + Meta-Logit",
121
+ "Compute Layer → GPU/CPU auto-scaling",
122
+ "Monitoring → Prometheus + Grafana",
123
+ "Storage → HF Hub + local persistence (rrf_nodes)"
124
+ ]
125
+ },
126
+
127
+ "investor_highlights": {
128
+ "differentiators": [
129
+ "Meta-logic quality evaluator (15 feature resonant signal)",
130
+ "Icosahedral embedding geometry",
131
+ "Discrete Dirac resonance physics applied to NLP",
132
+ "Symbiotic self-improvement protocol",
133
+ "Low inference cost, scalable microservice"
134
+ ],
135
+ "traction": {
136
+ "hf_space": "running",
137
+ "models_downloads": "increasing",
138
+ "api_usage": "real inference logs available"
139
+ }
140
+ },
141
+
142
+ "savant_state": {
143
+ "status": "active",
144
+ "mode": "Savant RRF Simbiótico Hacker",
145
+ "health": {
146
+ "embedder": "OK",
147
+ "meta_logit": "OK",
148
+ "api_endpoints": {
149
+ "/embed": "stable",
150
+ "/rerank": "stable",
151
+ "/quality": "error_404_needs_route_fix"
152
+ }
153
+ }
154
+ },
155
+
156
+ "todo_next_steps": [
157
+ "Fix /quality endpoint routing",
158
+ "Integrate CNN → feature_extractor",
159
+ "Add persistent RRF node memory",
160
+ "Deploy enterprise-tier version on AWS/GCP",
161
+ "Present investor deck based on this JSON"
162
+ ]
163
+ }