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
|
@@ -105,9 +105,12 @@ This model was developed by [Maxime De Bruyn](https://www.linkedin.com/in/maxime
|
|
| 105 |
|
| 106 |
## Citation information
|
| 107 |
```
|
| 108 |
-
@
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
|
|
|
|
|
|
|
|
|
| 112 |
}
|
| 113 |
```
|
|
|
|
| 105 |
|
| 106 |
## Citation information
|
| 107 |
```
|
| 108 |
+
@misc{debruyn2021mfaq,
|
| 109 |
+
title={MFAQ: a Multilingual FAQ Dataset},
|
| 110 |
+
author={Maxime De Bruyn and Ehsan Lotfi and Jeska Buhmann and Walter Daelemans},
|
| 111 |
+
year={2021},
|
| 112 |
+
eprint={2109.12870},
|
| 113 |
+
archivePrefix={arXiv},
|
| 114 |
+
primaryClass={cs.CL}
|
| 115 |
}
|
| 116 |
```
|