Skip to main content

Olaverse — small models, sharp focus: LID, DiacNet, MIST, Prism

Olaverse Documentation

PyPI Version Downloads Python Version License Hugging Face Platform Docs

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.0 or diacnet-1.0/1.1), Language Detection from 5 to 25 languages (LIDLite5/LIDNeural5, LIDLite25/LIDNeural25, and the Nigerian-only LIDNeural5_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 transformers and 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) and MISTQuestionGenerator (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) and Embedder (cross-lingual Hausa/Yoruba/Igbo sentence embeddings).
  • 🖼️ Vision — Prism: PrismUpscaler (2x/4x/arbitrary-resolution super-resolution), PrismDenoiser (noise/blur/compression removal), and PrismSteganography (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 .wav audio 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: MIST model family, MISTTitleGenerator, MISTQuestionGenerator, LegalPeace, LIDNeural5.
  • Vision: PrismUpscaler, PrismDenoiser, PrismSteganography.
  • Datasets: load_dataset, list_datasets, dataset_info — all public olaverse datasets.
  • Speech Architecture: TTSPipeline and 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

olaverse-0.3.1.tar.gz (95.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

olaverse-0.3.1-py3-none-any.whl (83.6 kB view details)

Uploaded Python 3

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

Hashes for olaverse-0.3.1.tar.gz
Algorithm Hash digest
SHA256 a6a26cd7416914cf9f5c9815107f48ed07fa808edb66be4f056feb98a7c834fa
MD5 609769e8fba29e79c2d4f4b65e28f4b7
BLAKE2b-256 d28ec74a6d555757def3f3d33e6de05c580504c9f8811f5e25349a112d095852

See more details on using hashes here.

Provenance

The following attestation bundles were made for olaverse-0.3.1.tar.gz:

Publisher: publish.yml on Olaverse-Labs/olaverse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for olaverse-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f38f77a20f4787490fc5d9b8031cbeff29bea40f6e70c88ad958ae879c6a810
MD5 36f37eb7c83d0598ff47c081fc32177c
BLAKE2b-256 3365573e9b85f732291c5c5e006ccbac19daa994ed1f7ead77063fa79347b0d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for olaverse-0.3.1-py3-none-any.whl:

Publisher: publish.yml on Olaverse-Labs/olaverse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page