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

SouhilOuchene
/
text_conso

Text Classification
sentence-transformers
PyTorch
setfit
camembert
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use SouhilOuchene/text_conso with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use SouhilOuchene/text_conso with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("SouhilOuchene/text_conso")
    
    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]
  • setfit

    How to use SouhilOuchene/text_conso with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("SouhilOuchene/text_conso")
  • Notebooks
  • Google Colab
  • Kaggle
text_conso
1.36 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
SouhilOuchene's picture
SouhilOuchene
Add SetFit model
c28257b about 3 years ago
  • 1_Pooling
    Add SetFit model about 3 years ago
  • .gitattributes
    1.58 kB
    Add SetFit model about 3 years ago
  • README.md
    1.54 kB
    Add SetFit model about 3 years ago
  • config.json
    794 Bytes
    Add SetFit model about 3 years ago
  • config_sentence_transformers.json
    123 Bytes
    Add SetFit model about 3 years ago
  • model_head.pkl
    33.7 kB
    xet
    Add SetFit model about 3 years ago
  • modules.json
    229 Bytes
    Add SetFit model about 3 years ago
  • pytorch_model.bin
    1.35 GB
    xet
    Add SetFit model about 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Add SetFit model about 3 years ago
  • sentencepiece.bpe.model
    809 kB
    xet
    Add SetFit model about 3 years ago
  • special_tokens_map.json
    353 Bytes
    Add SetFit model about 3 years ago
  • tokenizer.json
    2.42 MB
    xet
    Add SetFit model about 3 years ago
  • tokenizer_config.json
    544 Bytes
    Add SetFit model about 3 years ago
  • unigram.json
    14.8 MB
    xet
    Add SetFit model about 3 years ago