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

  • Log In
  • Sign Up

WeksteinEyal
/
setfit-model

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

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

  • Libraries
  • setfit

    How to use WeksteinEyal/setfit-model with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("WeksteinEyal/setfit-model")
  • sentence-transformers

    How to use WeksteinEyal/setfit-model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("WeksteinEyal/setfit-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]
  • Notebooks
  • Google Colab
  • Kaggle
setfit-model
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
WeksteinEyal's picture
WeksteinEyal
Push model using huggingface_hub.
4e2b2d6 verified about 1 year ago
  • 1_Pooling
    Push model using huggingface_hub. about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    8.04 kB
    Push model using huggingface_hub. about 1 year ago
  • config.json
    644 Bytes
    Push model using huggingface_hub. about 1 year ago
  • config_sentence_transformers.json
    212 Bytes
    Push model using huggingface_hub. about 1 year ago
  • config_setfit.json
    234 Bytes
    Push model using huggingface_hub. about 1 year ago
  • model.safetensors
    438 MB
    xet
    Push model using huggingface_hub. about 1 year ago
  • model_head.pkl

    Detected Pickle imports (4)

    • "numpy.ndarray",
    • "numpy.dtype",
    • "sklearn.linear_model._logistic.LogisticRegression",
    • "joblib.numpy_pickle.NumpyArrayWrapper"

    How to fix it?

    50.7 kB
    xet
    Push model using huggingface_hub. about 1 year ago
  • modules.json
    242 Bytes
    Push model using huggingface_hub. about 1 year ago
  • sentence_bert_config.json
    56 Bytes
    Push model using huggingface_hub. about 1 year ago
  • special_tokens_map.json
    1.02 kB
    Push model using huggingface_hub. about 1 year ago
  • tokenizer.json
    712 kB
    Push model using huggingface_hub. about 1 year ago
  • tokenizer_config.json
    1.37 kB
    Push model using huggingface_hub. about 1 year ago
  • vocab.txt
    232 kB
    Push model using huggingface_hub. about 1 year ago