Datasets:

ArXiv:
hugo commited on
Commit
1f7f99e
1 Parent(s): ee1f1b5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -42,15 +42,15 @@ You can load mMARCO dataset by choosing a specific language. We include training
42
 
43
  #### Training triples
44
 
45
- ```
46
- >>> dataset = load_dataset('mmarco', 'english')
47
  >>> dataset['train'][1]
48
  {'query': 'what fruit is native to australia', 'positive': 'Passiflora herbertiana. A rare passion fruit native to Australia. Fruits are green-skinned, white fleshed, with an unknown edible rating. Some sources list the fruit as edible, sweet and tasty, while others list the fruits as being bitter and inedible.assiflora herbertiana. A rare passion fruit native to Australia. Fruits are green-skinned, white fleshed, with an unknown edible rating. Some sources list the fruit as edible, sweet and tasty, while others list the fruits as being bitter and inedible.', 'negative': 'The kola nut is the fruit of the kola tree, a genus (Cola) of trees that are native to the tropical rainforests of Africa.'}
49
  ```
50
 
51
  #### Queries
52
 
53
- ```
54
  >>> dataset = load_dataset('mmarco', 'queries-spanish')
55
  >>> dataset['train'][1]
56
  {'id': 634306, 'text': '¿Qué significa Chattel en el historial de crédito'}
@@ -58,7 +58,7 @@ You can load mMARCO dataset by choosing a specific language. We include training
58
 
59
  #### Collection
60
 
61
- ```
62
  >>> dataset = load_dataset('mmarco', 'collection-portuguese')
63
  >>> dataset['collection'][100]
64
  {'id': 100, 'text': 'Antonín Dvorák (1841-1904) Antonin Dvorak era filho de açougueiro, mas ele não seguiu o negócio de seu pai. Enquanto ajudava seu pai a meio tempo, estudou música e se formou na Escola de Órgãos de Praga em 1859.'}
 
42
 
43
  #### Training triples
44
 
45
+ ```python
46
+ >>> dataset = load_dataset('unicamp-dl/mmarco', 'english')
47
  >>> dataset['train'][1]
48
  {'query': 'what fruit is native to australia', 'positive': 'Passiflora herbertiana. A rare passion fruit native to Australia. Fruits are green-skinned, white fleshed, with an unknown edible rating. Some sources list the fruit as edible, sweet and tasty, while others list the fruits as being bitter and inedible.assiflora herbertiana. A rare passion fruit native to Australia. Fruits are green-skinned, white fleshed, with an unknown edible rating. Some sources list the fruit as edible, sweet and tasty, while others list the fruits as being bitter and inedible.', 'negative': 'The kola nut is the fruit of the kola tree, a genus (Cola) of trees that are native to the tropical rainforests of Africa.'}
49
  ```
50
 
51
  #### Queries
52
 
53
+ ```python
54
  >>> dataset = load_dataset('mmarco', 'queries-spanish')
55
  >>> dataset['train'][1]
56
  {'id': 634306, 'text': '¿Qué significa Chattel en el historial de crédito'}
 
58
 
59
  #### Collection
60
 
61
+ ```python
62
  >>> dataset = load_dataset('mmarco', 'collection-portuguese')
63
  >>> dataset['collection'][100]
64
  {'id': 100, 'text': 'Antonín Dvorák (1841-1904) Antonin Dvorak era filho de açougueiro, mas ele não seguiu o negócio de seu pai. Enquanto ajudava seu pai a meio tempo, estudou música e se formou na Escola de Órgãos de Praga em 1859.'}