Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

HausaNLP
/
AfriSentiLID-115

Text Classification
Transformers
Safetensors
xlm-roberta
language-identification
african-languages
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use HausaNLP/AfriSentiLID-115 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use HausaNLP/AfriSentiLID-115 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="HausaNLP/AfriSentiLID-115")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("HausaNLP/AfriSentiLID-115")
    model = AutoModelForSequenceClassification.from_pretrained("HausaNLP/AfriSentiLID-115", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
AfriSentiLID-115
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
abumafrim's picture
abumafrim
AfriSentiLID-115: language identification for African languages
802fe74 verified about 22 hours ago
  • .gitattributes
    1.57 kB
    AfriSentiLID-115: language identification for African languages about 22 hours ago
  • README.md
    17.2 kB
    AfriSentiLID-115: language identification for African languages about 22 hours ago
  • added_tokens.json
    76 Bytes
    AfriSentiLID-115: language identification for African languages about 22 hours ago
  • config.json
    4.54 kB
    AfriSentiLID-115: language identification for African languages about 22 hours ago
  • model.safetensors
    1.11 GB
    xet
    AfriSentiLID-115: language identification for African languages about 22 hours ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    AfriSentiLID-115: language identification for African languages about 22 hours ago
  • special_tokens_map.json
    267 Bytes
    AfriSentiLID-115: language identification for African languages about 22 hours ago
  • tokenizer.json
    17.1 MB
    xet
    AfriSentiLID-115: language identification for African languages about 22 hours ago
  • tokenizer_config.json
    1.36 kB
    AfriSentiLID-115: language identification for African languages about 22 hours ago