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

  • Log In
  • Sign Up

onyx-dot-app
/
information-content-model

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

Instructions to use onyx-dot-app/information-content-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • setfit

    How to use onyx-dot-app/information-content-model with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("onyx-dot-app/information-content-model")
  • sentence-transformers

    How to use onyx-dot-app/information-content-model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("onyx-dot-app/information-content-model")
    
    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
information-content-model
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
jr-onyx's picture
jr-onyx
Update README.md
5a639a5 verified about 1 year ago
  • 1_Pooling
    Upload 13 files about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    3.5 kB
    Update README.md about 1 year ago
  • config.json
    620 Bytes
    Upload 13 files about 1 year ago
  • config_sentence_transformers.json
    199 Bytes
    Upload 13 files about 1 year ago
  • config_setfit.json
    53 Bytes
    Upload 13 files about 1 year ago
  • model.safetensors
    438 MB
    xet
    Upload 13 files about 1 year ago
  • model_head.pkl

    Detected Pickle imports (4)

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

    How to fix it?

    7.01 kB
    xet
    Upload 13 files about 1 year ago
  • modules.json
    229 Bytes
    Upload 13 files about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Upload 13 files about 1 year ago
  • special_tokens_map.json
    964 Bytes
    Upload 13 files about 1 year ago
  • tokenizer.json
    712 kB
    Upload 13 files about 1 year ago
  • tokenizer_config.json
    1.31 kB
    Upload 13 files about 1 year ago
  • vocab.txt
    232 kB
    Upload 13 files about 1 year ago