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

fti-sc
/
pra-sentiment-classifier

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 fti-sc/pra-sentiment-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • setfit

    How to use fti-sc/pra-sentiment-classifier with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("fti-sc/pra-sentiment-classifier")
  • sentence-transformers

    How to use fti-sc/pra-sentiment-classifier with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("fti-sc/pra-sentiment-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
pra-sentiment-classifier
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
msullivan's picture
msullivan
Push model using huggingface_hub.
81dad17 verified about 1 year ago
  • 1_Pooling
    Push model using huggingface_hub. about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    15.8 kB
    Push model using huggingface_hub. about 1 year ago
  • config.json
    551 Bytes
    Push model using huggingface_hub. about 1 year ago
  • config_sentence_transformers.json
    199 Bytes
    Push model using huggingface_hub. about 1 year ago
  • config_setfit.json
    87 Bytes
    Push model using huggingface_hub. about 1 year ago
  • model.safetensors
    438 MB
    xet
    Push model using huggingface_hub. about 1 year ago
  • model_head.pkl

    Detected Pickle imports (4)

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

    How to fix it?

    7.01 kB
    xet
    Push model using huggingface_hub. about 1 year ago
  • modules.json
    349 Bytes
    Push model using huggingface_hub. about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Push model using huggingface_hub. about 1 year ago
  • special_tokens_map.json
    964 Bytes
    Push model using huggingface_hub. about 1 year ago
  • tokenizer.json
    711 kB
    Push model using huggingface_hub. about 1 year ago
  • tokenizer_config.json
    1.62 kB
    Push model using huggingface_hub. about 1 year ago
  • vocab.txt
    232 kB
    Push model using huggingface_hub. about 1 year ago