VictorSanh HF staff commited on
Commit
97f73ff
1 Parent(s): ce6310c

update with `path`

Browse files
Files changed (2) hide show
  1. dataset_infos.json +1 -1
  2. vatex.py +2 -0
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"v1.1": {"description": "VATEX is a large-scale multilingual video description dataset, which contains over 41,250 videos and 825,000 captions\nin both English and Chinese. VATEX is characterized by the following major unique properties.\nFirst, it contains both English and Chinese descriptions at scale, which can support many multilingual studies\nthat are constrained by monolingual datasets. Secondly, VATEX has a high number of clip-sentence pairs\nwith each video clip annotated with multiple unique sentences, and every caption is unique in\nthe whole corpus. Third, VATEX contains more comprehensive yet representative video content,\ncovering 600 human activities in total. Furthermore, both the English and Chinese corpora in\nVATEX are lexically richer and thus allow more natural and diverse caption generation.\n", "citation": "\n@InProceedings{Wang_2019_ICCV,\nauthor = {Wang, Xin and Wu, Jiawei and Chen, Junkun and Li, Lei and Wang, Yuan-Fang and Wang, William Yang},\ntitle = {VaTeX: A Large-Scale, High-Quality Multilingual Dataset for Video-and-Language Research},\nbooktitle = {The IEEE International Conference on Computer Vision (ICCV)},\nmonth = {October},\nyear = {2019}\n}\n", "homepage": "https://eric-xw.github.io/vatex-website/index.html", "license": "CC BY 4.0", "features": {"videoID": {"dtype": "string", "id": null, "_type": "Value"}, "start": {"dtype": "int32", "id": null, "_type": "Value"}, "end": {"dtype": "int32", "id": null, "_type": "Value"}, "enCap": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "chCap": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "vatex", "config_name": "v1.1", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 39036990, "num_examples": 25991, "dataset_name": "vatex"}, "validation": {"name": "validation", "num_bytes": 4493766, "num_examples": 3000, "dataset_name": "vatex"}, "public_test": {"name": "public_test", "num_bytes": 4802675, "num_examples": 6000, "dataset_name": "vatex"}, "private_test": {"name": "private_test", "num_bytes": 196216, "num_examples": 6278, "dataset_name": "vatex"}}, "download_checksums": {"https://eric-xw.github.io/vatex-website/data/vatex_training_v1.0.json": {"num_bytes": 57319458, "checksum": "9a3b5f08e354d9543ef4f1ab004f9db9bc4e5da49d9692f0c8c6aa3bef9751c4"}, "https://eric-xw.github.io/vatex-website/data/vatex_validation_v1.0.json": {"num_bytes": 6598992, "checksum": "838212d8eead2e22c8838cf58530b94868f1a4905b8322b639212122c8033708"}, "https://eric-xw.github.io/vatex-website/data/vatex_public_test_english_v1.1.json": {"num_bytes": 4933553, "checksum": "0252a923ab08491db62c333e5e5439c1e1272e23a2b97bac8babf766d8b7e905"}, "https://eric-xw.github.io/vatex-website/data/vatex_private_test_without_annotations.json": {"num_bytes": 263676, "checksum": "79c6917d30ac77cf50fae60465da93e9c029b6e8c7d3baee20a1910adb75ddef"}, "https://eric-xw.github.io/vatex-website/data/vatex_public_test_without_annotations.json": {"num_bytes": 252000, "checksum": "889bfdb47238dda4403f3954bd04d38640b2ee4c7e7f596332fa896102837768"}}, "download_size": 69367679, "post_processing_size": null, "dataset_size": 48529647, "size_in_bytes": 117897326}, "v1.0": {"description": "VATEX is a large-scale multilingual video description dataset, which contains over 41,250 videos and 825,000 captions\nin both English and Chinese. VATEX is characterized by the following major unique properties.\nFirst, it contains both English and Chinese descriptions at scale, which can support many multilingual studies\nthat are constrained by monolingual datasets. Secondly, VATEX has a high number of clip-sentence pairs\nwith each video clip annotated with multiple unique sentences, and every caption is unique in\nthe whole corpus. Third, VATEX contains more comprehensive yet representative video content,\ncovering 600 human activities in total. Furthermore, both the English and Chinese corpora in\nVATEX are lexically richer and thus allow more natural and diverse caption generation.\n", "citation": "\n@InProceedings{Wang_2019_ICCV,\nauthor = {Wang, Xin and Wu, Jiawei and Chen, Junkun and Li, Lei and Wang, Yuan-Fang and Wang, William Yang},\ntitle = {VaTeX: A Large-Scale, High-Quality Multilingual Dataset for Video-and-Language Research},\nbooktitle = {The IEEE International Conference on Computer Vision (ICCV)},\nmonth = {October},\nyear = {2019}\n}\n", "homepage": "https://eric-xw.github.io/vatex-website/index.html", "license": "CC BY 4.0", "features": {"videoID": {"dtype": "string", "id": null, "_type": "Value"}, "start": {"dtype": "int32", "id": null, "_type": "Value"}, "end": {"dtype": "int32", "id": null, "_type": "Value"}, "enCap": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "chCap": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "vatex", "config_name": "v1.0", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 39036990, "num_examples": 25991, "dataset_name": "vatex"}, "validation": {"name": "validation", "num_bytes": 4493766, "num_examples": 3000, "dataset_name": "vatex"}, "public_test": {"name": "public_test", "num_bytes": 187528, "num_examples": 6000, "dataset_name": "vatex"}}, "download_checksums": {"https://eric-xw.github.io/vatex-website/data/vatex_training_v1.0.json": {"num_bytes": 57319458, "checksum": "9a3b5f08e354d9543ef4f1ab004f9db9bc4e5da49d9692f0c8c6aa3bef9751c4"}, "https://eric-xw.github.io/vatex-website/data/vatex_validation_v1.0.json": {"num_bytes": 6598992, "checksum": "838212d8eead2e22c8838cf58530b94868f1a4905b8322b639212122c8033708"}, "https://eric-xw.github.io/vatex-website/data/vatex_public_test_english_v1.1.json": {"num_bytes": 4933553, "checksum": "0252a923ab08491db62c333e5e5439c1e1272e23a2b97bac8babf766d8b7e905"}, "https://eric-xw.github.io/vatex-website/data/vatex_private_test_without_annotations.json": {"num_bytes": 263676, "checksum": "79c6917d30ac77cf50fae60465da93e9c029b6e8c7d3baee20a1910adb75ddef"}, "https://eric-xw.github.io/vatex-website/data/vatex_public_test_without_annotations.json": {"num_bytes": 252000, "checksum": "889bfdb47238dda4403f3954bd04d38640b2ee4c7e7f596332fa896102837768"}}, "download_size": 69367679, "post_processing_size": null, "dataset_size": 43718284, "size_in_bytes": 113085963}}
1
+ {"v1.1": {"description": "VATEX is a large-scale multilingual video description dataset, which contains over 41,250 videos and 825,000 captions\nin both English and Chinese. VATEX is characterized by the following major unique properties.\nFirst, it contains both English and Chinese descriptions at scale, which can support many multilingual studies\nthat are constrained by monolingual datasets. Secondly, VATEX has a high number of clip-sentence pairs\nwith each video clip annotated with multiple unique sentences, and every caption is unique in\nthe whole corpus. Third, VATEX contains more comprehensive yet representative video content,\ncovering 600 human activities in total. Furthermore, both the English and Chinese corpora in\nVATEX are lexically richer and thus allow more natural and diverse caption generation.\n", "citation": "\n@InProceedings{Wang_2019_ICCV,\nauthor = {Wang, Xin and Wu, Jiawei and Chen, Junkun and Li, Lei and Wang, Yuan-Fang and Wang, William Yang},\ntitle = {VaTeX: A Large-Scale, High-Quality Multilingual Dataset for Video-and-Language Research},\nbooktitle = {The IEEE International Conference on Computer Vision (ICCV)},\nmonth = {October},\nyear = {2019}\n}\n", "homepage": "https://eric-xw.github.io/vatex-website/index.html", "license": "CC BY 4.0", "features": {"videoID": {"dtype": "string", "id": null, "_type": "Value"}, "path": {"dtype": "string", "id": null, "_type": "Value"}, "start": {"dtype": "int32", "id": null, "_type": "Value"}, "end": {"dtype": "int32", "id": null, "_type": "Value"}, "enCap": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "chCap": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "vatex", "config_name": "v1.1", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 40258579, "num_examples": 25991, "dataset_name": "vatex"}, "validation": {"name": "validation", "num_bytes": 4634770, "num_examples": 3000, "dataset_name": "vatex"}, "public_test": {"name": "public_test", "num_bytes": 5084679, "num_examples": 6000, "dataset_name": "vatex"}, "private_test": {"name": "private_test", "num_bytes": 491286, "num_examples": 6278, "dataset_name": "vatex"}}, "download_checksums": {"https://eric-xw.github.io/vatex-website/data/vatex_training_v1.0.json": {"num_bytes": 57319458, "checksum": "9a3b5f08e354d9543ef4f1ab004f9db9bc4e5da49d9692f0c8c6aa3bef9751c4"}, "https://eric-xw.github.io/vatex-website/data/vatex_validation_v1.0.json": {"num_bytes": 6598992, "checksum": "838212d8eead2e22c8838cf58530b94868f1a4905b8322b639212122c8033708"}, "https://eric-xw.github.io/vatex-website/data/vatex_public_test_english_v1.1.json": {"num_bytes": 4933553, "checksum": "0252a923ab08491db62c333e5e5439c1e1272e23a2b97bac8babf766d8b7e905"}, "https://eric-xw.github.io/vatex-website/data/vatex_private_test_without_annotations.json": {"num_bytes": 263676, "checksum": "79c6917d30ac77cf50fae60465da93e9c029b6e8c7d3baee20a1910adb75ddef"}, "https://eric-xw.github.io/vatex-website/data/vatex_public_test_without_annotations.json": {"num_bytes": 252000, "checksum": "889bfdb47238dda4403f3954bd04d38640b2ee4c7e7f596332fa896102837768"}}, "download_size": 69367679, "post_processing_size": null, "dataset_size": 50469314, "size_in_bytes": 119836993}, "v1.0": {"description": "VATEX is a large-scale multilingual video description dataset, which contains over 41,250 videos and 825,000 captions\nin both English and Chinese. VATEX is characterized by the following major unique properties.\nFirst, it contains both English and Chinese descriptions at scale, which can support many multilingual studies\nthat are constrained by monolingual datasets. Secondly, VATEX has a high number of clip-sentence pairs\nwith each video clip annotated with multiple unique sentences, and every caption is unique in\nthe whole corpus. Third, VATEX contains more comprehensive yet representative video content,\ncovering 600 human activities in total. Furthermore, both the English and Chinese corpora in\nVATEX are lexically richer and thus allow more natural and diverse caption generation.\n", "citation": "\n@InProceedings{Wang_2019_ICCV,\nauthor = {Wang, Xin and Wu, Jiawei and Chen, Junkun and Li, Lei and Wang, Yuan-Fang and Wang, William Yang},\ntitle = {VaTeX: A Large-Scale, High-Quality Multilingual Dataset for Video-and-Language Research},\nbooktitle = {The IEEE International Conference on Computer Vision (ICCV)},\nmonth = {October},\nyear = {2019}\n}\n", "homepage": "https://eric-xw.github.io/vatex-website/index.html", "license": "CC BY 4.0", "features": {"videoID": {"dtype": "string", "id": null, "_type": "Value"}, "path": {"dtype": "string", "id": null, "_type": "Value"}, "start": {"dtype": "int32", "id": null, "_type": "Value"}, "end": {"dtype": "int32", "id": null, "_type": "Value"}, "enCap": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "chCap": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "vatex", "config_name": "v1.0", "version": "0.0.0", "splits": {"train": {"name": "train", "num_bytes": 40258579, "num_examples": 25991, "dataset_name": "vatex"}, "validation": {"name": "validation", "num_bytes": 4634770, "num_examples": 3000, "dataset_name": "vatex"}, "public_test": {"name": "public_test", "num_bytes": 469532, "num_examples": 6000, "dataset_name": "vatex"}}, "download_checksums": {"https://eric-xw.github.io/vatex-website/data/vatex_training_v1.0.json": {"num_bytes": 57319458, "checksum": "9a3b5f08e354d9543ef4f1ab004f9db9bc4e5da49d9692f0c8c6aa3bef9751c4"}, "https://eric-xw.github.io/vatex-website/data/vatex_validation_v1.0.json": {"num_bytes": 6598992, "checksum": "838212d8eead2e22c8838cf58530b94868f1a4905b8322b639212122c8033708"}, "https://eric-xw.github.io/vatex-website/data/vatex_public_test_english_v1.1.json": {"num_bytes": 4933553, "checksum": "0252a923ab08491db62c333e5e5439c1e1272e23a2b97bac8babf766d8b7e905"}, "https://eric-xw.github.io/vatex-website/data/vatex_private_test_without_annotations.json": {"num_bytes": 263676, "checksum": "79c6917d30ac77cf50fae60465da93e9c029b6e8c7d3baee20a1910adb75ddef"}, "https://eric-xw.github.io/vatex-website/data/vatex_public_test_without_annotations.json": {"num_bytes": 252000, "checksum": "889bfdb47238dda4403f3954bd04d38640b2ee4c7e7f596332fa896102837768"}}, "download_size": 69367679, "post_processing_size": null, "dataset_size": 45362881, "size_in_bytes": 114730560}}
vatex.py CHANGED
@@ -66,6 +66,7 @@ class Vatex(datasets.GeneratorBasedBuilder):
66
  features=datasets.Features(
67
  {
68
  "videoID": datasets.Value("string"),
 
69
  "start": datasets.Value("int32"),
70
  "end": datasets.Value("int32"),
71
  "enCap": datasets.features.Sequence(datasets.Value("string")),
@@ -152,6 +153,7 @@ class Vatex(datasets.GeneratorBasedBuilder):
152
 
153
  yield idx, {
154
  "videoID": videoID,
 
155
  "start": start,
156
  "end": end,
157
  "enCap": enCap,
66
  features=datasets.Features(
67
  {
68
  "videoID": datasets.Value("string"),
69
+ "path": datasets.Value("string"),
70
  "start": datasets.Value("int32"),
71
  "end": datasets.Value("int32"),
72
  "enCap": datasets.features.Sequence(datasets.Value("string")),
153
 
154
  yield idx, {
155
  "videoID": videoID,
156
+ "path": f"https://www.youtube.com/watch?v={videoID}",
157
  "start": start,
158
  "end": end,
159
  "enCap": enCap,