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

johnpaulbin
/
toxicity-setfit-3-large

Text Classification
setfit
Safetensors
sentence-transformers
modernbert
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use johnpaulbin/toxicity-setfit-3-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • setfit

    How to use johnpaulbin/toxicity-setfit-3-large with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("johnpaulbin/toxicity-setfit-3-large")
  • sentence-transformers

    How to use johnpaulbin/toxicity-setfit-3-large with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("johnpaulbin/toxicity-setfit-3-large")
    
    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
toxicity-setfit-3-large
1.26 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
johnpaulbin's picture
johnpaulbin
Update README.md
64ce5f5 verified 5 months ago
  • 1_Pooling
    Add SetFit model 5 months ago
  • .gitattributes
    1.57 kB
    Add SetFit model 5 months ago
  • README.md
    7.46 kB
    Update README.md 5 months ago
  • config.json
    1.21 kB
    Add SetFit model 5 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add SetFit model 5 months ago
  • config_setfit.json
    83 Bytes
    Add SetFit model 5 months ago
  • model.safetensors
    1.23 GB
    xet
    Add SetFit model 5 months ago
  • model_head.pkl

    Detected Pickle imports (4)

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

    How to fix it?

    7.01 kB
    xet
    Add SetFit model 5 months ago
  • modules.json
    229 Bytes
    Add SetFit model 5 months ago
  • sentence_bert_config.json
    58 Bytes
    Add SetFit model 5 months ago
  • special_tokens_map.json
    1.05 kB
    Add SetFit model 5 months ago
  • tokenizer.json
    34.4 MB
    xet
    Add SetFit model 5 months ago
  • tokenizer_config.json
    46.5 kB
    Add SetFit model 5 months ago