Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

princeton-nlp
/
sup-simcse-bert-base-uncased

Feature Extraction
Transformers
PyTorch
JAX
bert
Model card Files Files and versions
xet
Community
7

Instructions to use princeton-nlp/sup-simcse-bert-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use princeton-nlp/sup-simcse-bert-base-uncased with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="princeton-nlp/sup-simcse-bert-base-uncased")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("princeton-nlp/sup-simcse-bert-base-uncased")
    model = AutoModel.from_pretrained("princeton-nlp/sup-simcse-bert-base-uncased")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
sup-simcse-bert-base-uncased
876 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
patrickvonplaten's picture
patrickvonplaten
upload flax model
2d82fab almost 5 years ago
  • .gitattributes
    736 Bytes
    allow flax almost 5 years ago
  • config.json
    689 Bytes
    init about 5 years ago
  • flax_model.msgpack
    438 MB
    xet
    upload flax model almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    438 MB
    xet
    init about 5 years ago
  • special_tokens_map.json
    112 Bytes
    init about 5 years ago
  • tokenizer_config.json
    252 Bytes
    init about 5 years ago
  • vocab.txt
    232 kB
    init about 5 years ago