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

simeonw
/
distilbert-base-uncased-climate

Sentence Similarity
sentence-transformers
PyTorch
Transformers
distilbert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use simeonw/distilbert-base-uncased-climate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use simeonw/distilbert-base-uncased-climate with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("simeonw/distilbert-base-uncased-climate")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use simeonw/distilbert-base-uncased-climate with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("simeonw/distilbert-base-uncased-climate")
    model = AutoModel.from_pretrained("simeonw/distilbert-base-uncased-climate", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • 1_Pooling
    Upload 17 files over 3 years ago
  • corpus_climate
    Upload 5 files over 2 years ago
  • .gitattributes
    1.76 kB
    Upload 17 files over 3 years ago
  • README.md
    3.71 kB
    Update README.md over 2 years ago
  • config.json
    596 Bytes
    Upload 17 files over 3 years ago
  • config_sentence_transformers.json
    123 Bytes
    Upload 17 files over 3 years ago
  • modules.json
    229 Bytes
    Upload 17 files over 3 years ago
  • pytorch_model.bin
    265 MB
    xet
    Upload 11 files over 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload 17 files over 3 years ago
  • special_tokens_map.json
    125 Bytes
    Upload 17 files over 3 years ago
  • tokenizer.json
    712 kB
    Upload 17 files over 3 years ago
  • tokenizer_config.json
    383 Bytes
    Upload 17 files over 3 years ago
  • vocab.txt
    232 kB
    Upload 17 files over 3 years ago