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

  • Log In
  • Sign Up

CabraVC
/
emb_classifier_model

Text Classification
setfit
Safetensors
sentence-transformers
roberta
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
🇪🇺 Region: EU
Model card Files Files and versions
xet
Community

Instructions to use CabraVC/emb_classifier_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • setfit

    How to use CabraVC/emb_classifier_model with setfit:

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

    How to use CabraVC/emb_classifier_model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("CabraVC/emb_classifier_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
emb_classifier_model
Ctrl+K
Ctrl+K
  • 1 contributor
History: 37 commits

This model has 1 file scanned as suspicious.

svystun-taras's picture
svystun-taras
Add SetFit model
5af94b1 over 2 years ago
  • 1_Pooling
    Add SetFit model over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    74.9 kB
    Add SetFit model over 2 years ago
  • config.json
    772 Bytes
    Add SetFit model over 2 years ago
  • config_sentence_transformers.json
    116 Bytes
    Add SetFit model over 2 years ago
  • config_setfit.json
    88 Bytes
    Add SetFit model over 2 years ago
  • merges.txt
    456 kB
    Add SetFit model over 2 years ago
  • model.safetensors
    328 MB
    xet
    Add SetFit model over 2 years ago
  • model_head.pkl

    Detected Pickle imports (9)

    • "__main__.MLP",
    • "torch.nn.modules.linear.Linear",
    • "torch._utils._rebuild_parameter",
    • "torch.nn.modules.activation.ReLU",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.nn.modules.dropout.Dropout",
    • "torch.nn.modules.batchnorm.BatchNorm1d",
    • "torch.storage._load_from_bytes",
    • "collections.OrderedDict"

    How to fix it?

    799 kB
    xet
    Add SetFit model over 2 years ago
  • modules.json
    349 Bytes
    Add SetFit model over 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add SetFit model over 2 years ago
  • special_tokens_map.json
    280 Bytes
    Add SetFit model over 2 years ago
  • tokenizer.json
    2.11 MB
    Add SetFit model over 2 years ago
  • tokenizer_config.json
    1.41 kB
    Add SetFit model over 2 years ago
  • vocab.json
    798 kB
    Add SetFit model over 2 years ago