PLATO neural inference engine — tile scoring, Q&A, and knowledge gap detection
Project description
plato-neural
PLATO neural inference engine — tile scoring, Q&A, and knowledge gap detection.
A 494M Qwen2.5-0.5B model fine-tuned on PLATO tiles provides:
- 98% confidence answers across all PLATO domains
- Perplexity-based tile quality scoring (91.5% recognition rate)
- Knowledge gap detection via high-perplexity tiles
- Interactive Q&A at 49-68 tokens/sec on consumer GPUs
Install
pip install plato-neural
Quick Start
from plato_neural import PlatoBrain
brain = PlatoBrain("path/to/plato-model")
# Ask a question
result = brain.ask("What is constraint theory?")
print(result['answer']) # Generated answer
print(result['confidence']) # 0.0 - 1.0
print(result['perplexity']) # Lower = more confident
# Score a tile
score = brain.score(
question="What is CT?",
answer="Pythagorean snapping for exact coordinates."
)
print(score['quality']) # excellent, good, fair, weak, poor
# Generate a new tile
tile = brain.generate_tile("ct", topic="holonomy verification")
brain.free() # Release GPU memory
Tile Quality Scoring
from plato_neural import PlatoScorer
scorer = PlatoScorer("path/to/plato-model")
# Score from PLATO API
scorer.score_room("ct", plato_api="http://147.224.38.131:8847")
# Score local file
scorer.score_file("tiles.json")
# Find knowledge gaps
gaps = scorer.find_gaps(tiles, threshold_ppl=100)
Quality Tiers
| Perplexity | Quality | Meaning |
|---|---|---|
| < 10 | Excellent | Model predicts perfectly |
| < 30 | Good | Model is confident |
| < 100 | Fair | Model recognizes pattern |
| < 500 | Weak | Model struggles |
| > 500 | Poor | Likely garbage or novel |
Model
The default model is a Qwen2.5-0.5B fine-tuned on 3,393 PLATO tiles from 76 domains.
- Parameters: 494M
- Training: Full fine-tune, 2000 steps, loss 3.41→0.09
- VRAM: 1.0GB loaded (bf16), ~8GB peak during training
- Quantized: INT4 = 203MB (fits Jetson Nano), INT8 = 872MB
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plato_neural-0.1.0.tar.gz.
File metadata
- Download URL: plato_neural-0.1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89eb1e0850210e3c429db6699d25a3a6bc79e5fd3221b32ee061c47ddf559b38
|
|
| MD5 |
6d469c57d656f89b1d76caf8bb4154ff
|
|
| BLAKE2b-256 |
0531b5cce796225acf2a610d307b839618589dc89efc4503b386492c7065f80a
|
File details
Details for the file plato_neural-0.1.0-py3-none-any.whl.
File metadata
- Download URL: plato_neural-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3edb35fcfb2d4ea435238cf80427afe1c07b09d7afeea0f220489e418a0dc8ef
|
|
| MD5 |
f02963e8f75f789bb7ec83da4e89020b
|
|
| BLAKE2b-256 |
48a823c4dfd1e0a07569f60653458eef22054d6145fe9c5333f26a2e74afd9d2
|