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

  • Log In
  • Sign Up

baobabtech
/
water-conflict-classifier

Text Classification
setfit
Safetensors
sentence-transformers
English
bert
multi-label
water-conflict
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use baobabtech/water-conflict-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • setfit

    How to use baobabtech/water-conflict-classifier with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("baobabtech/water-conflict-classifier")
  • sentence-transformers

    How to use baobabtech/water-conflict-classifier with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("baobabtech/water-conflict-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]
  • Notebooks
  • Google Colab
  • Kaggle
water-conflict-classifier
134 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 52 commits
oliviermills's picture
oliviermills
Upload README.md with huggingface_hub
6f6d923 verified 5 months ago
  • 1_Pooling
    Training complete - F1: 0.8319 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    10.3 kB
    Upload README.md with huggingface_hub 5 months ago
  • config.json
    655 Bytes
    Training complete - F1: 0.8319 6 months ago
  • config_sentence_transformers.json
    283 Bytes
    Training complete - F1: 0.8319 6 months ago
  • config_setfit.json
    98 Bytes
    Training complete - F1: 0.8530 5 months ago
  • model.safetensors
    133 MB
    xet
    Training complete - F1: 0.8530 5 months ago
  • model_head.pkl

    Detected Pickle imports (6)

    • "sklearn.linear_model._logistic.LogisticRegression",
    • "joblib.numpy_pickle.NumpyArrayWrapper",
    • "numpy.ndarray",
    • "numpy.dtype",
    • "sklearn.multiclass.OneVsRestClassifier",
    • "sklearn.preprocessing._label.LabelBinarizer"

    How to fix it?

    11.2 kB
    xet
    Training complete - F1: 0.8530 5 months ago
  • modules.json
    349 Bytes
    Training complete - F1: 0.8319 6 months ago
  • sentence_bert_config.json
    56 Bytes
    Training complete - F1: 0.8319 6 months ago
  • special_tokens_map.json
    695 Bytes
    Training complete - F1: 0.8319 6 months ago
  • tokenizer.json
    712 kB
    Training complete - F1: 0.8319 6 months ago
  • tokenizer_config.json
    1.27 kB
    Training complete - F1: 0.8319 6 months ago
  • vocab.txt
    232 kB
    Training complete - F1: 0.8319 6 months ago