Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

gregco
/
balance-tes-haters-classifier

Text Classification
sentence-transformers
Joblib
Scikit-learn
French
cyberbullying
harassment
social-media
french
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use gregco/balance-tes-haters-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use gregco/balance-tes-haters-classifier with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("gregco/balance-tes-haters-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]
  • Scikit-learn

    How to use gregco/balance-tes-haters-classifier with Scikit-learn:

    from huggingface_hub import hf_hub_download
    import joblib
    model = joblib.load(
    	hf_hub_download("gregco/balance-tes-haters-classifier", "sklearn_model.joblib")
    )
    # only load pickle files from sources you trust
    # read more about it here https://skops.readthedocs.io/en/stable/persistence.html
  • Notebooks
  • Google Colab
  • Kaggle
balance-tes-haters-classifier
7.13 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
gregco's picture
gregco
Update README.md
2d6bfe7 verified 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    3.85 kB
    Update README.md 6 months ago
  • harassment_arctic_mlp.joblib
    7.12 MB
    xet
    Add Arctic+MLP harassment classifier (F1=0.692 on French social media) 6 months ago