File tree 1 file changed +4
-0
lines changed
tensorflow_datasets/testing
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -736,6 +736,7 @@ def dummy_croissant_file(
736
736
737
737
fields = [
738
738
mlc .Field (
739
+ id = 'index' ,
739
740
name = 'index' ,
740
741
description = 'The sample index.' ,
741
742
data_types = mlc .DataType .INTEGER ,
@@ -745,6 +746,7 @@ def dummy_croissant_file(
745
746
),
746
747
),
747
748
mlc .Field (
749
+ id = 'text' ,
748
750
name = 'text' ,
749
751
description = 'The dummy sample text.' ,
750
752
data_types = mlc .DataType .TEXT ,
@@ -758,6 +760,7 @@ def dummy_croissant_file(
758
760
record_sets = [
759
761
mlc .RecordSet (
760
762
id = 'jsonl' ,
763
+ name = 'jsonl' ,
761
764
description = 'Dummy record set.' ,
762
765
fields = fields ,
763
766
)
@@ -778,6 +781,7 @@ def dummy_croissant_file(
778
781
distribution = [
779
782
mlc .FileObject (
780
783
id = 'raw_data' ,
784
+ name = 'raw_data' ,
781
785
description = 'File with the data.' ,
782
786
encoding_format = 'application/jsonlines' ,
783
787
content_url = f'data/{ raw_data_filename } ' ,
You can’t perform that action at this time.
0 commit comments