update readme
Browse files
README.md
CHANGED
@@ -8,7 +8,7 @@ widget:
|
|
8 |
license: apache-2.0
|
9 |
---
|
10 |
|
11 |
-
# doc2query/msmarco-
|
12 |
|
13 |
This is a [doc2query](https://arxiv.org/abs/1904.08375) model based on mT5 (also known as [docT5query](https://cs.uwaterloo.ca/~jimmylin/publications/Nogueira_Lin_2019_docTTTTTquery-v2.pdf)). It was trained on all 14 languages of [mMARCO dataset](https://github.com/unicamp-dl/mMARCO), i.e. you can input a passage in any of the 14 languages, and it will generate a query in the same language.
|
14 |
|
@@ -21,7 +21,7 @@ It can be used for:
|
|
21 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
22 |
import torch
|
23 |
|
24 |
-
model_name = 'doc2query/msmarco-
|
25 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
26 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
27 |
|
|
|
8 |
license: apache-2.0
|
9 |
---
|
10 |
|
11 |
+
# doc2query/msmarco-14langs-mt5-base-v1
|
12 |
|
13 |
This is a [doc2query](https://arxiv.org/abs/1904.08375) model based on mT5 (also known as [docT5query](https://cs.uwaterloo.ca/~jimmylin/publications/Nogueira_Lin_2019_docTTTTTquery-v2.pdf)). It was trained on all 14 languages of [mMARCO dataset](https://github.com/unicamp-dl/mMARCO), i.e. you can input a passage in any of the 14 languages, and it will generate a query in the same language.
|
14 |
|
|
|
21 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
22 |
import torch
|
23 |
|
24 |
+
model_name = 'doc2query/msmarco-14langs-mt5-base-v1'
|
25 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
26 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
27 |
|