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.0.tar.gz (94.7 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.0-py3-none-any.whl (83.3 kB view details)

Uploaded Python 3

File details

Details for the file olaverse-0.3.0.tar.gz.

File metadata

  • Download URL: olaverse-0.3.0.tar.gz
  • Upload date:
  • Size: 94.7 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.0.tar.gz
Algorithm Hash digest
SHA256 12712c52e40da90a3f387d5aada58bab2e1cd3dfe4b66383f299ebe2dfb4de6d
MD5 83fb059410ffab1a15cdf32dc2b0c504
BLAKE2b-256 9896af2450be451d4622b62c777819d1a8ad9d6c845fa2a40ef4576f866acd39

See more details on using hashes here.

Provenance

The following attestation bundles were made for olaverse-0.3.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: olaverse-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 83.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 811d18427aecf8213d5ad71ff5aa848382f47b9364b86725f9c552c6f2ce9791
MD5 648c5b14b0cfa3a2cfcabfec52878596
BLAKE2b-256 cd8b5aa19c52fbed1cd94f58c8f1d48b6d51a87c5fef59d0fa5d11c9c1627c0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for olaverse-0.3.0-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

0.3.1

2 files

This release

0.3.0 This release

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