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

rodekruis
/
sml-ukr-message-classifier

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

Instructions to use rodekruis/sml-ukr-message-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use rodekruis/sml-ukr-message-classifier with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("rodekruis/sml-ukr-message-classifier")
    
    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 rodekruis/sml-ukr-message-classifier with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("rodekruis/sml-ukr-message-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
sml-ukr-message-classifier
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
jmargutti's picture
jmargutti
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
f7dfbaf verified over 1 year ago
  • 1_Pooling
    Add SetFit model almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit almost 3 years ago
  • README.md
    1.56 kB
    Add SetFit model almost 3 years ago
  • config.json
    655 Bytes
    Add SetFit model almost 3 years ago
  • config_sentence_transformers.json
    116 Bytes
    Add SetFit model almost 3 years ago
  • label_dict.json
    589 Bytes
    Update label_dict.json over 2 years ago
  • model.safetensors
    438 MB
    xet
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • model_head.pkl
    179 kB
    xet
    Add SetFit model almost 3 years ago
  • modules.json
    349 Bytes
    Add SetFit model almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    438 MB
    xet
    Add SetFit model almost 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Add SetFit model almost 3 years ago
  • special_tokens_map.json
    280 Bytes
    Add SetFit model almost 3 years ago
  • tokenizer.json
    711 kB
    Add SetFit model almost 3 years ago
  • tokenizer_config.json
    357 Bytes
    Add SetFit model almost 3 years ago
  • vocab.txt
    232 kB
    Add SetFit model almost 3 years ago