Sentence Similarity
sentence-transformers
PyTorch
TensorFlow
Transformers
xlm-roberta
feature-extraction
text-embeddings-inference
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") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -41,7 +41,7 @@ widget:
|
|
| 41 |
|
| 42 |
# MFAQ
|
| 43 |
|
| 44 |
-
|
| 45 |
|
| 46 |
## Installation
|
| 47 |
|
|
|
|
| 41 |
|
| 42 |
# MFAQ
|
| 43 |
|
| 44 |
+
MFAQ is a FAQ retrieval model, it ranks potential answers according to a given question. It was trained using the [MFAQ dataset](https://huggingface.co/datasets/clips/mfaq).
|
| 45 |
|
| 46 |
## Installation
|
| 47 |
|