Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

Sunbird
/
sunflower_language_classification_v2

Text Classification
Transformers
Safetensors
t5
language-identification
african-languages
Model card Files Files and versions
xet
Community

Instructions to use Sunbird/sunflower_language_classification_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Sunbird/sunflower_language_classification_v2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Sunbird/sunflower_language_classification_v2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Sunbird/sunflower_language_classification_v2")
    model = AutoModelForSequenceClassification.from_pretrained("Sunbird/sunflower_language_classification_v2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
sunflower_language_classification_v2
63.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
yigagilbert's picture
yigagilbert
Document 64 supported languages
090b818 verified 4 days ago
  • .gitattributes
    1.52 kB
    initial commit 5 days ago
  • README.md
    5.33 kB
    Document 64 supported languages 4 days ago
  • config.json
    2.77 kB
    v2: byte-fallback vocab, short-text fixes (60,000 steps) 5 days ago
  • label_map.json
    2.07 kB
    v2: byte-fallback vocab, short-text fixes (60,000 steps) 5 days ago
  • model.safetensors
    62.5 MB
    xet
    v2: byte-fallback vocab, short-text fixes (60,000 steps) 5 days ago
  • special_tokens_map.json
    416 Bytes
    v2: byte-fallback vocab, short-text fixes (60,000 steps) 5 days ago
  • spiece.model
    548 kB
    xet
    v2: byte-fallback vocab, short-text fixes (60,000 steps) 5 days ago
  • tokenizer_config.json
    893 Bytes
    v2: byte-fallback vocab, short-text fixes (60,000 steps) 5 days ago
  • training_args.bin
    5.5 kB
    xet
    v2: byte-fallback vocab, short-text fixes (60,000 steps) 5 days ago