handsomemrli commited on
Commit
797e338
·
verified ·
1 Parent(s): de12446

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +78 -88
config.json CHANGED
@@ -1,88 +1,78 @@
1
- {
2
- "dataset": {
3
- "name": "personality_news_dataset",
4
- "data_files": {
5
- "article_file": "data/article.csv",
6
- "train_file": "data/train.tsv",
7
- "test_file": "data/test.tsv"
8
- },
9
- "formats": {
10
- "article_format": "csv",
11
- "train_format": "tsv",
12
- "test_format": "tsv"
13
- },
14
- "delimiters": {
15
- "article_delimiter": ",",
16
- "train_delimiter": "\t",
17
- "test_delimiter": "\t"
18
- }
19
- },
20
- "columns": {
21
- "article_columns": {
22
- "article_id": "article_id",
23
- "article_text": "article_text"
24
- },
25
- "train_columns": {
26
- "article_id": "article_id",
27
- "user_comment": "comment",
28
- "speaker_id": "speaker_id",
29
- "gender": "gender",
30
- "education": "education",
31
- "race": "race",
32
- "age": "age",
33
- "income": "income",
34
- "conscientiousness": "personality_conscientiousness",
35
- "openness": "personality_openess",
36
- "extraversion": "personality_extraversion",
37
- "agreeableness": "personality_agreeableness",
38
- "stability": "personality_stability",
39
- "comment_id": "comment_id"
40
- },
41
- "test_columns": {
42
- "article_id": "article_id",
43
- "user_comment": "comment",
44
- "speaker_id": "speaker_id",
45
- "gender": "gender",
46
- "education": "education",
47
- "race": "race",
48
- "age": "age",
49
- "income": "income",
50
- "speaker_number": "speaker_number",
51
- "comment_id": "comment_id"
52
- }
53
- },
54
- "preprocessing": {
55
- "max_seq_length": 128,
56
- "padding": "max_length",
57
- "truncation": true,
58
- "lowercase": true
59
- },
60
- "data_relationship": {
61
- "link_column": "article_id"
62
- },
63
- "output": {
64
- "cache_dir": "cache/",
65
- "output_dir": "outputs/"
66
- },
67
- "model": {
68
- "name": "big_five_personality_model",
69
- "architecture": "bert-base-uncased",
70
- "num_labels": 5,
71
- "learning_rate": 3e-5,
72
- "batch_size": 16,
73
- "epochs": 3,
74
- "optimizer": "AdamW",
75
- "loss_function": "MSE"
76
- },
77
- "personality_traits": {
78
- "output_labels": {
79
- "conscientiousness": "personality_conscientiousness",
80
- "openness": "personality_openess",
81
- "extraversion": "personality_extraversion",
82
- "agreeableness": "personality_agreeableness",
83
- "stability": "personality_stability"
84
- },
85
- "scoring_range": [0, 1],
86
- "output_type": "regression"
87
- }
88
- }
 
1
+ {
2
+ "dataset": {
3
+ "name": "personality_news_dataset",
4
+ "data_files": {
5
+ "article_file": "data/article.csv",
6
+ "train_file": "data/train.tsv",
7
+ "test_file": "data/test.tsv"
8
+ },
9
+ "formats": {
10
+ "article_format": "csv",
11
+ "train_format": "tsv",
12
+ "test_format": "tsv"
13
+ },
14
+ "delimiters": {
15
+ "article_delimiter": ",",
16
+ "train_delimiter": "\t",
17
+ "test_delimiter": "\t"
18
+ }
19
+ },
20
+ "columns": {
21
+ "article_columns": {
22
+ "article_id": "article_id",
23
+ "article_text": "article_text"
24
+ },
25
+ "train_columns": {
26
+ "article_id": "article_id",
27
+ "user_comment": "comment",
28
+ "speaker_id": "speaker_id",
29
+ "gender": "gender",
30
+ "education": "education",
31
+ "race": "race",
32
+ "age": "age",
33
+ "income": "income",
34
+ "conscientiousness": "personality_conscientiousness",
35
+ "openness": "personality_openess",
36
+ "extraversion": "personality_extraversion",
37
+ "agreeableness": "personality_agreeableness",
38
+ "stability": "personality_stability",
39
+ "comment_id": "comment_id"
40
+ },
41
+ "test_columns": {
42
+ "article_id": "article_id",
43
+ "user_comment": "comment",
44
+ "speaker_id": "speaker_id",
45
+ "gender": "gender",
46
+ "education": "education",
47
+ "race": "race",
48
+ "age": "age",
49
+ "income": "income",
50
+ "speaker_number": "speaker_number",
51
+ "comment_id": "comment_id"
52
+ }
53
+ },
54
+ "preprocessing": {
55
+ "max_seq_length": 128,
56
+ "padding": "max_length",
57
+ "truncation": true,
58
+ "lowercase": true
59
+ },
60
+ "data_relationship": {
61
+ "link_column": "article_id"
62
+ },
63
+ "output": {
64
+ "cache_dir": "cache/",
65
+ "output_dir": "outputs/"
66
+ },
67
+ "personality_traits": {
68
+ "output_labels": {
69
+ "conscientiousness": "personality_conscientiousness",
70
+ "openness": "personality_openess",
71
+ "extraversion": "personality_extraversion",
72
+ "agreeableness": "personality_agreeableness",
73
+ "stability": "personality_stability"
74
+ },
75
+ "scoring_range": [0, 1],
76
+ "output_type": "regression"
77
+ }
78
+ }