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

MatteoWood
/
bert-large-sexism-classifier

Text Classification
Transformers
Safetensors
bert
sexism
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use MatteoWood/bert-large-sexism-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use MatteoWood/bert-large-sexism-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="MatteoWood/bert-large-sexism-classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("MatteoWood/bert-large-sexism-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("MatteoWood/bert-large-sexism-classifier", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
bert-large-sexism-classifier
5.36 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
MatteoWood's picture
MatteoWood
Update README.md
e9b6f72 over 2 years ago
  • checkpoint-2000
    Upload folder using huggingface_hub over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    425 Bytes
    Update README.md over 2 years ago
  • config.json
    869 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • model.safetensors
    1.34 GB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • special_tokens_map.json
    125 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub over 2 years ago
  • tokenizer_config.json
    1.19 kB
    Upload folder using huggingface_hub over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

    • "transformers.training_args.OptimizerNames",
    • "transformers.training_args.TrainingArguments",
    • "transformers.trainer_utils.SchedulerType",
    • "accelerate.state.PartialState",
    • "transformers.trainer_utils.HubStrategy",
    • "torch.device",
    • "transformers.trainer_utils.IntervalStrategy",
    • "accelerate.utils.dataclasses.DistributedType"

    How to fix it?

    4.6 kB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • training_params.json
    741 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub over 2 years ago