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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

koutch
/
setfit_staqt

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

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

  • Libraries
  • sentence-transformers

    How to use koutch/setfit_staqt with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("koutch/setfit_staqt")
    
    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 koutch/setfit_staqt with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("koutch/setfit_staqt")
  • Notebooks
  • Google Colab
  • Kaggle
setfit_staqt
1.49 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
koutch's picture
koutch
Merge branch 'main' of https://huggingface.co/koutch/setfit_staqt into main
1199152 about 3 years ago
  • 1_Pooling
    Initial dummy model about 3 years ago
  • staqt
    updated dummy model with new classes about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    837 Bytes
    Update README.md about 3 years ago
  • added_tokens.json
    23 Bytes
    Initial dummy model about 3 years ago
  • config.json
    15.7 kB
    Initial dummy model about 3 years ago
  • config_sentence_transformers.json
    124 Bytes
    Initial dummy model about 3 years ago
  • model_head.pkl
    25.4 kB
    xet
    Initial dummy model about 3 years ago
  • modules.json
    229 Bytes
    Initial dummy model about 3 years ago
  • pytorch_model.bin
    735 MB
    xet
    Initial dummy model about 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Initial dummy model about 3 years ago
  • special_tokens_map.json
    173 Bytes
    Initial dummy model about 3 years ago
  • spm.model
    2.46 MB
    xet
    Initial dummy model about 3 years ago
  • tokenizer.json
    8.65 MB
    Initial dummy model about 3 years ago
  • tokenizer_config.json
    516 Bytes
    Initial dummy model about 3 years ago