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

  • Log In
  • Sign Up

babblebots
/
initial-model

Text Classification
sentence-transformers
PyTorch
setfit
mpnet
text-embeddings-inference
Model card Files Files and versions
xet
Community
4

Instructions to use babblebots/initial-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use babblebots/initial-model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("babblebots/initial-model")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • setfit

    How to use babblebots/initial-model with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("babblebots/initial-model")
  • Notebooks
  • Google Colab
  • Kaggle
initial-model
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
ishan's picture
ishan
Push model using huggingface_hub.
58861a5 almost 3 years ago
  • 1_Pooling
    Push model using huggingface_hub. (#1) almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit almost 3 years ago
  • README.md
    1.65 kB
    Push model using huggingface_hub. almost 3 years ago
  • config.json
    633 Bytes
    Push model using huggingface_hub. almost 3 years ago
  • config_sentence_transformers.json
    122 Bytes
    Push model using huggingface_hub. (#1) almost 3 years ago
  • model_head.pkl
    19.3 kB
    xet
    Push model using huggingface_hub. almost 3 years ago
  • modules.json
    229 Bytes
    Push model using huggingface_hub. (#1) almost 3 years ago
  • pytorch_model.bin
    438 MB
    xet
    Push model using huggingface_hub. almost 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Push model using huggingface_hub. (#1) almost 3 years ago
  • special_tokens_map.json
    280 Bytes
    Push model using huggingface_hub. (#1) almost 3 years ago
  • tokenizer.json
    712 kB
    Push model using huggingface_hub. (#1) almost 3 years ago
  • tokenizer_config.json
    1.39 kB
    Push model using huggingface_hub. (#1) almost 3 years ago
  • vocab.txt
    232 kB
    Push model using huggingface_hub. (#1) almost 3 years ago