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
Fine-tuned Qwen2.5-0.5B model for PLATO operations. Ask questions, score tile quality via perplexity, generate new tiles, and detect knowledge gaps.
Install
pip install plato-neural
Quick Start
Ask Questions
from plato_neural import PlatoBrain
brain = PlatoBrain(model_path="path/to/fine-tuned-model")
result = brain.ask("What is the flywheel?", temperature=0.7)
print(f"A: {result['answer']}")
print(f"Confidence: {result['confidence']}")
print(f"Latency: {result['latency_ms']}ms")
Score Tile Quality
result = brain.score("What is X?", "X is Y", content="additional context")
print(f"Perplexity: {result['perplexity']}")
print(f"Quality: {result['quality']}") # excellent/good/fair/weak/poor
Generate Tiles
tile = brain.generate_tile(domain="architecture", topic="flywheel")
print(f"Q: {tile['question']}")
print(f"A: {tile['answer']}")
Batch Scoring
from plato_neural import PlatoScorer
scorer = PlatoScorer(model_path="path/to/model", plato_api="http://localhost:8847")
tiles = [{"question": "Q1", "answer": "A1"}, {"question": "Q2", "answer": "A2"}]
results = scorer.score_tiles(tiles)
gaps = scorer.find_gaps(tiles, threshold_ppl=100)
Part of Cocapn · Agent Infrastructure
Project details
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.3.1.tar.gz.
File metadata
- Download URL: plato_neural-0.3.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3acc82953318ecb45948ee91dcc42bb533e0afd04abe7c8e2bb53356ca6216c
|
|
| MD5 |
415be332afc46d75669494d749b8406d
|
|
| BLAKE2b-256 |
896f27edbd24eeaf81de3012423651474745310ef0b46df668f27453df6e41f9
|
File details
Details for the file plato_neural-0.3.1-py3-none-any.whl.
File metadata
- Download URL: plato_neural-0.3.1-py3-none-any.whl
- Upload date:
- Size: 6.0 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 |
7e0220a0ce477b1577172586cb15667895ad15d21ec65590246fafb65faf5140
|
|
| MD5 |
1e735cb4e67b8a3778055395e95bcd85
|
|
| BLAKE2b-256 |
a78ffea609a574f362c97d1424be2985366cd7fc8b30a7e0e6031a1477d6d8fd
|