Olaverse Documentation
Welcome to the official developer documentation for the Olaverse SDK.
Olaverse is an open-source multilingual AI infrastructure toolkit for building NLP, speech, retrieval, and language systems for underrepresented languages.
30-Second Quick Start
pip install olaverse
from olaverse.nlp import Diacritizer
d = Diacritizer(model="auto") # detects the language, routes to the right model
d.restore("Ojo lo si oja lana") # → 'Òjó lọ sí ọjà lana'
# 10 languages via diactag-1.0 (pip install olaverse[deeplearning]):
d = Diacritizer(model="diactag-1.0", lang="yo")
d.restore("se eranko naa si gbo o?") # → 'ṣé ẹranko náà sì gbọ́ ọ?'
New in v0.3.0 — diactag-1.0, diacritization as per-character tagging. It copies
every base character through and only predicts the marks, so the output is
guaranteed to be your input with accents added and nothing else — no dropped
words, no rewritten clauses. 38 MB on CPU, and best-in-class on 7 of its 10
languages:
d = Diacritizer(model="diactag-1.0") # no lang= → it detects the language
d.restore("Co ay rat dam dang") # → 'Cô ấy rất đảm đang'
# Per-character confidence, for routing uncertain output to human review
text, details = d.restore("se eranko naa", lang="yo", return_details=True)
review = [c for c in details if c.confidence < 0.9]
New in v0.2.0 — title and question generation (pip install olaverse[deeplearning]):
from olaverse import MISTTitleGenerator, MISTQuestionGenerator
MISTTitleGenerator().generate("My laptop keeps freezing when I open too many tabs, why?")
# → 'Laptop Freezing Impact'
MISTQuestionGenerator().generate(passage, n=3, language="eng")
# → ['What causes ocean tides?', 'Does the sun affect tides?', ...]
📚 Full API Documentation: https://Olaverse-Labs.github.io/olaverse/ 📦 PyPI: https://pypi.org/project/olaverse/
Key Capabilities
- 🗣️ Natural Language Processing: Diacritization for 10+ languages (Yoruba, Igbo, Hausa, Vietnamese, Polish, Turkish, Portuguese, Spanish, French, Italian via
diactag-1.0ordiacnet-1.0/1.1), Language Detection from 5 to 25 languages (LIDLite5/LIDNeural5,LIDLite25/LIDNeural25, and the Nigerian-onlyLIDNeural5_1), Byte-Level BPE tokenization (Nigerian languages plus Swahili/Kinyarwanda/merged families), PII masking, and TTS text normalization. - ⚡ MIST Model Family: Unified interface for the MIST LLM family (8B, 70B, 140B, Thinking). Supports local inference via
transformersand hosted inference via Featherless or any OpenAI-compatible endpoint. Correct stop tokens and generation defaults per variant are baked in. Plus two task-specific models:MISTTitleGenerator(short chat titles from a user's first message) andMISTQuestionGenerator(search-style question generation from a passage, across 25 languages). - 🧠 Domain LLMs:
LegalPeace— memory-efficient 4-bit inference for legal contract reasoning (fine-tuned Mistral-7B-v0.3). - 🔎 Retrieval:
Reranker(cross-encoder, RAG/search second stage) andEmbedder(cross-lingual Hausa/Yoruba/Igbo sentence embeddings). - 🖼️ Vision — Prism:
PrismUpscaler(2x/4x/arbitrary-resolution super-resolution),PrismDenoiser(noise/blur/compression removal), andPrismSteganography(hide/recover short messages in images). - 📊 Datasets:
load_dataset/list_datasets— direct access to every public olaverse dataset on Hugging Face (reranker training pairs, multilingual QG passages, DiacBench, and more). - 🎙️ Speech Architecture (Roadmap / Experimental): TTS pipeline architecture connecting normalization, diacritization, acoustic model, and vocoder. The NLP front-end is production-ready; acoustic synthesis is in development.
- 🌍 Global Utilities: Currency formatters, generic constants, and
.wavaudio I/O tools.
Quick Install
# Core (NLP, tokenizer, lightweight LID)
pip install olaverse
# Neural models (LIDNeural5/25/5_1, diactag-1.0, diacnet-1.0/1.1, MIST local inference)
pip install olaverse[deeplearning]
# int8 CPU backend for diactag-1.0
pip install olaverse[onnx]
# Lightweight 25-language LID (fastText, CPU-only)
pip install olaverse[lid]
# Retrieval (Reranker, Embedder)
pip install olaverse[retrieval]
# Vision (PrismUpscaler, PrismDenoiser, PrismSteganography)
pip install olaverse[vision]
# Hosted inference (MIST via Featherless, Modal, etc.)
pip install olaverse[hosted]
# Legal reasoning (LegalPeace)
pip install olaverse[legal]
# Datasets (load_dataset — reranker pairs, QG passages, DiacBench, ...)
pip install olaverse[data]
Navigation
- Models: Product pages for every model family — DiacNet, LID, OTK-BPE, Retrieval, MIST, LegalPeace, Prism — with comparison tables.
- Benchmarks: All published numbers in one place.
- Solutions: Worked pipelines — Speech AI, OCR, search, education, support, translation.
- NLP & Tokenization:
Tokenizer, Language Detection, Diacritization, Retrieval (Reranker/Embedder), PII masking, TTS normalizer. - Language Models:
MISTmodel family,MISTTitleGenerator,MISTQuestionGenerator,LegalPeace,LIDNeural5. - Vision:
PrismUpscaler,PrismDenoiser,PrismSteganography. - Datasets:
load_dataset,list_datasets,dataset_info— all public olaverse datasets. - Speech Architecture:
TTSPipelineand base classes (experimental — roadmap). - Global Utilities: Constants and audio utilities.
- Enterprise: Commercial support — fine-tuning, custom datasets, deployment.
- Roadmap: What's shipped and what's next.
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 olaverse-0.3.1.tar.gz.
File metadata
- Download URL: olaverse-0.3.1.tar.gz
- Upload date:
- Size: 95.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6a26cd7416914cf9f5c9815107f48ed07fa808edb66be4f056feb98a7c834fa
|
|
| MD5 |
609769e8fba29e79c2d4f4b65e28f4b7
|
|
| BLAKE2b-256 |
d28ec74a6d555757def3f3d33e6de05c580504c9f8811f5e25349a112d095852
|
Provenance
The following attestation bundles were made for olaverse-0.3.1.tar.gz:
Publisher:
publish.yml on Olaverse-Labs/olaverse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
olaverse-0.3.1.tar.gz -
Subject digest:
a6a26cd7416914cf9f5c9815107f48ed07fa808edb66be4f056feb98a7c834fa - Sigstore transparency entry: 2341239030
- Sigstore integration time:
-
Permalink:
Olaverse-Labs/olaverse@1bc87e7fd7fc33f56be358679a690105e900647d -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/Olaverse-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1bc87e7fd7fc33f56be358679a690105e900647d -
Trigger Event:
push
-
Statement type:
File details
Details for the file olaverse-0.3.1-py3-none-any.whl.
File metadata
- Download URL: olaverse-0.3.1-py3-none-any.whl
- Upload date:
- Size: 83.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f38f77a20f4787490fc5d9b8031cbeff29bea40f6e70c88ad958ae879c6a810
|
|
| MD5 |
36f37eb7c83d0598ff47c081fc32177c
|
|
| BLAKE2b-256 |
3365573e9b85f732291c5c5e006ccbac19daa994ed1f7ead77063fa79347b0d1
|
Provenance
The following attestation bundles were made for olaverse-0.3.1-py3-none-any.whl:
Publisher:
publish.yml on Olaverse-Labs/olaverse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
olaverse-0.3.1-py3-none-any.whl -
Subject digest:
6f38f77a20f4787490fc5d9b8031cbeff29bea40f6e70c88ad958ae879c6a810 - Sigstore transparency entry: 2341239043
- Sigstore integration time:
-
Permalink:
Olaverse-Labs/olaverse@1bc87e7fd7fc33f56be358679a690105e900647d -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/Olaverse-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1bc87e7fd7fc33f56be358679a690105e900647d -
Trigger Event:
push
-
Statement type: