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

Ido-shraga
/
setswana-sentiment-afriberta-large

Text Classification
Transformers
Safetensors
Tswana
xlm-roberta
sentiment-analysis
setswana
tswana
african-languages
twitter
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Ido-shraga/setswana-sentiment-afriberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Ido-shraga/setswana-sentiment-afriberta-large with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Ido-shraga/setswana-sentiment-afriberta-large")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Ido-shraga/setswana-sentiment-afriberta-large")
    model = AutoModelForSequenceClassification.from_pretrained("Ido-shraga/setswana-sentiment-afriberta-large", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
setswana-sentiment-afriberta-large
508 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Ido-shraga's picture
Ido-shraga
Add afro-xlmr-base to comparison table
3b70146 verified 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    4.47 kB
    Add afro-xlmr-base to comparison table 1 day ago
  • config.json
    1 kB
    Setswana sentiment fine-tune, trained with ML Intern 1 day ago
  • model.safetensors
    503 MB
    xet
    Setswana sentiment fine-tune, trained with ML Intern 1 day ago
  • tokenizer.json
    4.98 MB
    Setswana sentiment fine-tune, trained with ML Intern 1 day ago
  • tokenizer_config.json
    454 Bytes
    Setswana sentiment fine-tune, trained with ML Intern 1 day ago
  • training_args.bin
    5.39 kB
    xet
    Setswana sentiment fine-tune, trained with ML Intern 1 day ago