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

cardiffnlp
/
tweet-topic-21-multi

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
English
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community
5

Instructions to use cardiffnlp/tweet-topic-21-multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use cardiffnlp/tweet-topic-21-multi with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="cardiffnlp/tweet-topic-21-multi")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/tweet-topic-21-multi")
    model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/tweet-topic-21-multi")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
tweet-topic-21-multi
1 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 15 commits
Pedrada's picture
Pedrada
cm-cai's picture
cm-cai
Update metadata in README.md (#4)
8b1867b almost 3 years ago
  • .gitattributes
    1.17 kB
    initial commit almost 4 years ago
  • README.md
    3.53 kB
    Update metadata in README.md (#4) almost 3 years ago
  • config.json
    1.88 kB
    add model almost 4 years ago
  • merges.txt
    456 kB
    add tokenizer almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    499 MB
    xet
    add model almost 4 years ago
  • special_tokens_map.json
    239 Bytes
    add tokenizer almost 4 years ago
  • tf_model.h5
    499 MB
    xet
    add model almost 4 years ago
  • tokenizer.json
    1.36 MB
    add tokenizer almost 4 years ago
  • tokenizer_config.json
    1.3 kB
    add tokenizer almost 4 years ago
  • vocab.json
    798 kB
    add tokenizer almost 4 years ago