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

MilaNLProc
/
hate-ita-xlm-r-large

Text Classification
Transformers
PyTorch
Italian
xlm-roberta
text classification
abusive language
hate speech
offensive language
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use MilaNLProc/hate-ita-xlm-r-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use MilaNLProc/hate-ita-xlm-r-large with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="MilaNLProc/hate-ita-xlm-r-large")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("MilaNLProc/hate-ita-xlm-r-large")
    model = AutoModelForSequenceClassification.from_pretrained("MilaNLProc/hate-ita-xlm-r-large")
  • Notebooks
  • Google Colab
  • Kaggle
hate-ita-xlm-r-large
2.26 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 13 commits
dnozza's picture
dnozza
g8a9's picture
g8a9
Update README.md (#1)
f7d96c3 over 3 years ago
  • .gitattributes
    1.22 kB
    Upload tokenizer.json almost 4 years ago
  • README.md
    3.19 kB
    Update README.md (#1) over 3 years ago
  • config.json
    1.1 kB
    Upload config.json almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    2.24 GB
    xet
    Upload pytorch_model.bin almost 4 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload sentencepiece.bpe.model almost 4 years ago
  • special_tokens_map.json
    239 Bytes
    Upload special_tokens_map.json almost 4 years ago
  • tokenizer.json
    17.1 MB
    xet
    Upload tokenizer.json almost 4 years ago
  • tokenizer_config.json
    399 Bytes
    Upload tokenizer_config.json almost 4 years ago