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

climatebert
/
distilroberta-base-climate-detector

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

Instructions to use climatebert/distilroberta-base-climate-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use climatebert/distilroberta-base-climate-detector with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="climatebert/distilroberta-base-climate-detector")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("climatebert/distilroberta-base-climate-detector")
    model = AutoModelForSequenceClassification.from_pretrained("climatebert/distilroberta-base-climate-detector")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
distilroberta-base-climate-detector
661 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 18 commits
webersni's picture
webersni
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
2c3bc66 almost 3 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#2) almost 3 years ago
  • README.md
    2.09 kB
    Update README.md almost 3 years ago
  • added_tokens.json
    4.48 kB
    Update tokenizer based on new language model over 4 years ago
  • config.json
    887 Bytes
    add model over 4 years ago
  • merges.txt
    456 kB
    add tokenizer over 4 years ago
  • model.safetensors
    329 MB
    xet
    Adding `safetensors` variant of this model (#2) almost 3 years ago
  • pytorch_model.bin
    329 MB
    xet
    add model over 4 years ago
  • special_tokens_map.json
    239 Bytes
    add tokenizer over 4 years ago
  • tokenizer.json
    1.38 MB
    Update tokenizer based on new language model over 4 years ago
  • tokenizer_config.json
    1.19 kB
    Update tokenizer based on new language model over 4 years ago
  • vocab.json
    798 kB
    add tokenizer over 4 years ago