-
Notifications
You must be signed in to change notification settings - Fork 821
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No need for a validation split, if eval_holdout_size has been specified.
PiperOrigin-RevId: 375127276
- Loading branch information
1 parent
86dc892
commit 675eae1
Showing
6 changed files
with
72 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
trax/data/testdata/para_crawl/ende/1.2.0/dataset_info.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"citation": "@misc {paracrawl,\n title = \"ParaCrawl\",\n year = \"2018\",\n url = \"http://paracrawl.eu/download.html.\"\n}", | ||
"configDescription": "Translation dataset from English to de.", | ||
"configName": "ende", | ||
"description": "Web-Scale Parallel Corpora for Official European Languages.", | ||
"downloadSize": "1307754745", | ||
"location": { | ||
"urls": [ | ||
"https://paracrawl.eu/releases.html" | ||
] | ||
}, | ||
"name": "para_crawl", | ||
"splits": [ | ||
{ | ||
"name": "train", | ||
"numBytes": "3241", | ||
"shardLengths": [ | ||
"10" | ||
] | ||
} | ||
], | ||
"supervisedKeys": { | ||
"input": "en", | ||
"output": "de" | ||
}, | ||
"version": "1.2.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"type": "tensorflow_datasets.core.features.translation_feature.Translation", | ||
"content": { | ||
"languages": [ | ||
"de", | ||
"en" | ||
] | ||
} | ||
} |
Binary file added
BIN
+3.17 KB
trax/data/testdata/para_crawl/ende/1.2.0/para_crawl-train.tfrecord-00000-of-00001
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters