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

  • Log In
  • Sign Up

IslemTouati
/
french_model

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

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

  • Libraries
  • sentence-transformers

    How to use IslemTouati/french_model with sentence-transformers:

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

    How to use IslemTouati/french_model with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("IslemTouati/french_model")
  • Notebooks
  • Google Colab
  • Kaggle
french_model
461 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 31 commits
IslemTouati's picture
IslemTouati
Add SetFit model
5f753c8 almost 3 years ago
  • 1_Pooling
    Add SetFit model almost 3 years ago
  • .gitattributes
    1.58 kB
    Add SetFit model almost 3 years ago
  • README.md
    1.54 kB
    Add SetFit model about 3 years ago
  • config.json
    780 Bytes
    Add SetFit model almost 3 years ago
  • config_sentence_transformers.json
    123 Bytes
    Add SetFit model almost 3 years ago
  • model_head.pkl

    Detected Pickle imports (4)

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

    How to fix it?

    25.5 kB
    xet
    Add SetFit model almost 3 years ago
  • modules.json
    229 Bytes
    Add SetFit model about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "torch.LongStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    443 MB
    xet
    Add SetFit model almost 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Add SetFit model almost 3 years ago
  • sentencepiece.bpe.model
    811 kB
    xet
    Add SetFit model almost 3 years ago
  • special_tokens_map.json
    353 Bytes
    Add SetFit model almost 3 years ago
  • tokenizer.json
    2.42 MB
    xet
    Add SetFit model almost 3 years ago
  • tokenizer_config.json
    544 Bytes
    Add SetFit model almost 3 years ago
  • unigram.json
    14.8 MB
    xet
    Add SetFit model almost 3 years ago