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

  • Log In
  • Sign Up

clips
/
mfaq

Sentence Similarity
sentence-transformers
PyTorch
google-tensorflow TensorFlow
Transformers
xlm-roberta
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • sentence-transformers

    How to use clips/mfaq with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("clips/mfaq")
    
    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]
  • Transformers

    How to use clips/mfaq with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("clips/mfaq")
    model = AutoModel.from_pretrained("clips/mfaq")
  • Notebooks
  • Google Colab
  • Kaggle
mfaq
2.24 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 22 commits
maximedb's picture
maximedb
Update tokenizer_config.json
a49f016 over 4 years ago
  • 1_Pooling
    Add new SentenceTransformer model. over 4 years ago
  • .gitattributes
    1.65 kB
    Add new SentenceTransformer model. over 4 years ago
  • README.md
    3.74 kB
    Update README.md over 4 years ago
  • added_tokens.json
    48 Bytes
    Add new SentenceTransformer model. over 4 years ago
  • config.json
    778 Bytes
    adding TensorFlow over 4 years ago
  • config_sentence_transformers.json
    117 Bytes
    Add new SentenceTransformer model. over 4 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.11 GB
    xet
    Add new SentenceTransformer model. over 4 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. over 4 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Add new SentenceTransformer model. over 4 years ago
  • special_tokens_map.json
    294 Bytes
    Add new SentenceTransformer model. over 4 years ago
  • tf_model.h5
    1.11 GB
    xet
    adding TensorFlow over 4 years ago
  • tokenizer.json
    9.08 MB
    xet
    Add new SentenceTransformer model. over 4 years ago
  • tokenizer_config.json
    464 Bytes
    Update tokenizer_config.json over 4 years ago