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

  • Log In
  • Sign Up

HasinMDG
/
SetFit_Labse_IPTC

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

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

  • Libraries
  • sentence-transformers

    How to use HasinMDG/SetFit_Labse_IPTC with sentence-transformers:

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

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("HasinMDG/SetFit_Labse_IPTC")
  • Notebooks
  • Google Colab
  • Kaggle
SetFit_Labse_IPTC
1.91 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
HasinMDG's picture
HasinMDG
Add model
8125043 over 3 years ago
  • 1_Pooling
    Add model over 3 years ago
  • 2_Dense
    Add model over 3 years ago
  • .gitattributes
    1.53 kB
    Add model over 3 years ago
  • README.md
    1.57 kB
    Add model over 3 years ago
  • config.json
    865 Bytes
    Add model over 3 years ago
  • config_sentence_transformers.json
    122 Bytes
    Add model over 3 years ago
  • model_head.pkl

    Detected Pickle imports (8)

    • "collections.OrderedDict",
    • "torch.device",
    • "torch.nn.modules.linear.Linear",
    • "torch._utils._rebuild_parameter",
    • "torch.storage._load_from_bytes",
    • "setfit.modeling.SetFitHead",
    • "torch._utils._rebuild_tensor_v2",
    • "builtins.set"

    How to fix it?

    395 kB
    xet
    Add model over 3 years ago
  • modules.json
    461 Bytes
    Add model over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.88 GB
    xet
    Add model over 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Add model over 3 years ago
  • special_tokens_map.json
    125 Bytes
    Add model over 3 years ago
  • tokenizer.json
    13.6 MB
    xet
    Add model over 3 years ago
  • tokenizer_config.json
    482 Bytes
    Add model over 3 years ago
  • vocab.txt
    5.22 MB
    Add model over 3 years ago