personality / config.json
handsomemrli's picture
Update config.json
4cd09ee verified
{
"dataset": {
"name": "personality_news_dataset",
"data_files": {
"article_file": "data/article.csv",
"train_file": "data/train.tsv",
"test_file": "data/test.tsv"
},
"formats": {
"article_format": "csv",
"train_format": "tsv",
"test_format": "tsv"
},
"delimiters": {
"article_delimiter": ",",
"train_delimiter": "\t",
"test_delimiter": "\t"
}
},
"columns": {
"article_columns": {
"article_id": "article_id",
"article_text": "article_text"
},
"train_columns": {
"article_id": "article_id",
"user_comment": "comment",
"speaker_id": "speaker_id",
"gender": "gender",
"education": "education",
"race": "race",
"age": "age",
"income": "income",
"conscientiousness": "personality_conscientiousness",
"openness": "personality_openess",
"extraversion": "personality_extraversion",
"agreeableness": "personality_agreeableness",
"stability": "personality_stability",
"comment_id": "comment_id"
},
"test_columns": {
"article_id": "article_id",
"user_comment": "comment",
"speaker_id": "speaker_id",
"gender": "gender",
"education": "education",
"race": "race",
"age": "age",
"income": "income",
"speaker_number": "speaker_number",
"comment_id": "comment_id"
}
},
"preprocessing": {
"max_seq_length": 128,
"padding": "max_length",
"truncation": true,
"lowercase": true
},
"data_relationship": {
"link_column": "article_id"
},
"output": {
"cache_dir": "cache/",
"output_dir": "outputs/"
},
"personality_traits": {
"output_labels": {
"conscientiousness": "personality_conscientiousness",
"openness": "personality_openess",
"extraversion": "personality_extraversion",
"agreeableness": "personality_agreeableness",
"stability": "personality_stability"
},
"scoring_range": [0, 10],
"output_type": "regression"
}
}