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

  • Log In
  • Sign Up

juliusherzig
/
setfit-modernbert-studien2

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

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

  • Libraries
  • setfit

    How to use juliusherzig/setfit-modernbert-studien2 with setfit:

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

    How to use juliusherzig/setfit-modernbert-studien2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("juliusherzig/setfit-modernbert-studien2")
    
    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-modernbert-studien2
600 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
juliusherzig's picture
juliusherzig
Push model using huggingface_hub.
4d8e280 verified about 1 month ago
  • 1_Pooling
    Push model using huggingface_hub. about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    3.87 kB
    Push model using huggingface_hub. about 1 month ago
  • config.json
    1.25 kB
    Push model using huggingface_hub. about 1 month ago
  • config_sentence_transformers.json
    297 Bytes
    Push model using huggingface_hub. about 1 month ago
  • config_setfit.json
    56 Bytes
    Push model using huggingface_hub. about 1 month ago
  • model.safetensors
    596 MB
    xet
    Push model using huggingface_hub. about 1 month ago
  • model_head.pkl

    Detected Pickle imports (4)

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

    How to fix it?

    7.01 kB
    xet
    Push model using huggingface_hub. about 1 month ago
  • modules.json
    368 Bytes
    Push model using huggingface_hub. about 1 month ago
  • sentence_bert_config.json
    61 Bytes
    Push model using huggingface_hub. about 1 month ago
  • special_tokens_map.json
    731 Bytes
    Push model using huggingface_hub. about 1 month ago
  • tokenizer.json
    3.58 MB
    Push model using huggingface_hub. about 1 month ago
  • tokenizer_config.json
    22 kB
    Push model using huggingface_hub. about 1 month ago