AI Models
    LID Neural 5

    LID Neural 5

    LID family · open weights on Hugging Face.

    Neural language identification across Nigerian languages (Yorùbá, Igbo, Hausa, Pidgin, English).

    TransformersSafetensorsXlm RobertaText ClassificationLanguage DetectionAfribertaSequence ClassificationPyTorchNigerian LanguagesLidYorubaIgboHausaNigerian PidginEnglishLicence: apache-2.0Text Embeddings InferenceEndpoints Compatible
    0
    Likes
    202
    Downloads
    May 2026
    Created
    / Model card

    Built for production use

    Open-weights repository on Hugging Face

    Integrated ecosystem protocol tier.

    Compatible with Transformers library

    Integrated ecosystem protocol tier.

    Optimised for low-latency inference

    Integrated ecosystem protocol tier.

    Community engagement: 0 likes

    Integrated ecosystem protocol tier.

    / Quick start

    Use LID Neural 5, straight from its model card.

    example.pyfrom the model card
    from olaverse import LIDNeural5
    # Automatically downloads and loads the model on demand
    detector = LIDNeural5()
    detector.load()
    # 1. Predict dominant language
    lang = detector.predict("Kedu ka ị mere today?")
    print(f"Predicted language: {lang}") # → 'ibo'
    # 2. Get probability distributions
    probs = detector.predict_proba("How far, wetin dey happen?")
    print(probs)
    # → {'eng': 0.002, 'hau': 0.001, 'ibo': 0.003, 'pcm': 0.991, 'yor': 0.003}
    / Model card

    Official repository README

    Dynamically loaded from Hugging Face

    Model card metadata is available on Hugging Face.

    / Built with
    Transformers PyTorch Python

    Ready to try LID Neural 5?

    Neural language identification across Nigerian languages (Yorùbá, Igbo, Hausa, Pidgin, English).

    / Model ecosystem

    Explore more models