Skip to content

Commit

Permalink
PAWS-X: Fix csv Dictreader splitting data on quotes (#1763)
Browse files Browse the repository at this point in the history
* Fix csv Dictreader spliting data on quotes

* remove -1 labels

* update dataset_infos.json

* update readme

Co-authored-by: Quentin Lhoest <lhoest.q@gmail.com>
  • Loading branch information
gowtham1997 and lhoestq authored Jan 22, 2021
1 parent 164f4df commit 0281f9d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
17 changes: 9 additions & 8 deletions datasets/paws-x/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,18 @@ corresponding file in PAWS-Wiki.

### Data Splits

The numbers of examples for each of the six languages are shown below:
The numbers of examples for each of the seven languages are shown below:

Language | Train | Dev | Test
:------- | ------: | -----: | -----:
fr | 49,401 | 1,992 | 1,985
es | 49,401 | 1,962 | 1,999
de | 49,401 | 1,932 | 1,967
zh | 49,401 | 1,984 | 1,975
ja | 49,401 | 1,980 | 1,946
ko | 49,401 | 1,965 | 1,972
Total | 296,406 | 11,815 | 11,844
en | 49,401 | 2,000 | 2,000
fr | 49,401 | 2,000 | 2,000
es | 49,401 | 2,000 | 2,000
de | 49,401 | 2,000 | 2,000
zh | 49,401 | 2,000 | 2,000
ja | 49,401 | 2,000 | 2,000
ko | 49,401 | 2,000 | 2,000


> **Caveat**: please note that the dev and test sets of PAWS-X are both sourced
> from the dev set of PAWS-Wiki. As a consequence, the same `sentence 1` may
Expand Down
Loading

0 comments on commit 0281f9d

Please sign in to comment.