naumov-al commited on
Commit
f528bdd
·
1 Parent(s): ebb3b28

udpate dtype for age feat

Browse files
Files changed (1) hide show
  1. author_profiling.py +2 -2
author_profiling.py CHANGED
@@ -61,7 +61,7 @@ class AuthorProfiling(datasets.GeneratorBasedBuilder):
61
  The Corpus for the analysis of author profiling in Russian-language texts.
62
  """
63
 
64
- VERSION = datasets.Version("1.0.1")
65
 
66
  # This is an example of a dataset with multiple configurations.
67
  # If you don't want/need to define several sub-sets in your dataset,
@@ -91,7 +91,7 @@ class AuthorProfiling(datasets.GeneratorBasedBuilder):
91
  "text": datasets.Value("string"),
92
  "account_id": datasets.Value("string"),
93
  "author_id": datasets.Value("string"),
94
- "age": datasets.Value("int32"),
95
  "age_group": datasets.ClassLabel(names=["0-19", "20-29", "30-39", "40-49", "50+"]),
96
  "gender": datasets.ClassLabel(names=["male", "female"]),
97
  "no_imitation": datasets.ClassLabel(names=["no_any_imitation", "with_any_imitation"]),
 
61
  The Corpus for the analysis of author profiling in Russian-language texts.
62
  """
63
 
64
+ VERSION = datasets.Version("2.0.1")
65
 
66
  # This is an example of a dataset with multiple configurations.
67
  # If you don't want/need to define several sub-sets in your dataset,
 
91
  "text": datasets.Value("string"),
92
  "account_id": datasets.Value("string"),
93
  "author_id": datasets.Value("string"),
94
+ "age": datasets.Value("int64"),
95
  "age_group": datasets.ClassLabel(names=["0-19", "20-29", "30-39", "40-49", "50+"]),
96
  "gender": datasets.ClassLabel(names=["male", "female"]),
97
  "no_imitation": datasets.ClassLabel(names=["no_any_imitation", "with_any_imitation"]),