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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ai4bharat
/
IndicBERTv2-alpha-SentimentClassification

Text Classification
Transformers
PyTorch
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use ai4bharat/IndicBERTv2-alpha-SentimentClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ai4bharat/IndicBERTv2-alpha-SentimentClassification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="ai4bharat/IndicBERTv2-alpha-SentimentClassification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("ai4bharat/IndicBERTv2-alpha-SentimentClassification")
    model = AutoModelForSequenceClassification.from_pretrained("ai4bharat/IndicBERTv2-alpha-SentimentClassification")
  • Notebooks
  • Google Colab
  • Kaggle
IndicBERTv2-alpha-SentimentClassification
967 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
sumanthd's picture
sumanthd
Update tokenizer_config.json
c5ef4cb almost 4 years ago
  • .gitattributes
    1.34 kB
    initial commit almost 4 years ago
  • README.md
    43 Bytes
    Update from gramesh almost 4 years ago
  • config.json
    880 Bytes
    First version of the IndicXLMv2-alpha for sentiment classification model and tokenizer., almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    959 MB
    xet
    First version of the IndicXLMv2-alpha for sentiment classification model and tokenizer., almost 4 years ago
  • special_tokens_map.json
    238 Bytes
    First version of the IndicXLMv2-alpha for sentiment classification model and tokenizer., almost 4 years ago
  • tokenizer.json
    8.6 MB
    First version of the IndicXLMv2-alpha for sentiment classification model and tokenizer., almost 4 years ago
  • tokenizer_config.json
    641 Bytes
    Update tokenizer_config.json almost 4 years ago