bourdoiscatie
commited on
Commit
•
c237a54
1
Parent(s):
ec96e5c
Update README.md
Browse files
README.md
CHANGED
@@ -50,7 +50,7 @@ A list of prompts (see below) was then applied in order to build the input and t
|
|
50 |
```
|
51 |
|
52 |
### Features used in the prompts
|
53 |
-
In the prompt list above, `
|
54 |
```
|
55 |
xnli= load_dataset("xnli")
|
56 |
xnli['train']['premise'] = list(map(lambda i: i.replace(' . ','. ').replace(' .','. ').replace('( ','(').replace(' )',')').replace(' , ',', ').replace(', ',', ').replace("' ","'"), map(str,xnli['train']['premise'])))
|
|
|
50 |
```
|
51 |
|
52 |
### Features used in the prompts
|
53 |
+
In the prompt list above, `premise`, `hypothesis` and `targets` have been constructed from:
|
54 |
```
|
55 |
xnli= load_dataset("xnli")
|
56 |
xnli['train']['premise'] = list(map(lambda i: i.replace(' . ','. ').replace(' .','. ').replace('( ','(').replace(' )',')').replace(' , ',', ').replace(', ',', ').replace("' ","'"), map(str,xnli['train']['premise'])))
|