Sentence Similarity
sentence-transformers
Safetensors
English
bert
task-oriented-dialogues
dialog-flow
text-embeddings-inference
Instructions to use sergioburdisso/dialog2flow-single-bert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sergioburdisso/dialog2flow-single-bert-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sergioburdisso/dialog2flow-single-bert-base") sentences = [ "your phone please", "please get their phone number", "okay can i get your phone number please to make that booking", "okay can i please get your id number" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +0 -1
config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/idiap/temp/sburdisso/repos/jsalt/keya-dialog/outputs/tod_all/bert-base-uncased/soft-labels/label_multi-qa-mpnet-base-dot-v1_t0.35/msl64_pm-mean/ch-on_t0.05/lr3e-06_bs64_e15/best_model_metric_0",
|
| 3 |
"architectures": [
|
| 4 |
"BertModel"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"BertModel"
|
| 4 |
],
|