Racoci commited on
Commit
be1c48a
·
1 Parent(s): e894431

Update README.md file with new url and upload raw data

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. README.md +2 -2
  3. codebook.txt +70 -0
  4. data-final.csv +3 -0
  5. ipip_ffm.py +49 -0
.gitattributes CHANGED
@@ -57,3 +57,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
+ *.csv filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -23,11 +23,11 @@ The IPIP-FFM dataset comprises responses from over a million individuals to the
23
  - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
24
  - **Model Type:** Psychometric Dataset
25
  - **Languages:** English
26
- - **Repository:** [https://huggingface.co/datasets/ipip_ffm](https://huggingface.co/datasets/ipip_ffm)
27
 
28
  ### Model Sources
29
 
30
- - **Repository:** [https://huggingface.co/datasets/ipip_ffm](https://huggingface.co/datasets/ipip_ffm)
31
  - **Paper:** [Model Cards for Model Reporting](https://arxiv.org/abs/1810.03993)
32
 
33
  ## Uses
 
23
  - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
24
  - **Model Type:** Psychometric Dataset
25
  - **Languages:** English
26
+ - **Repository:** [2018-11-08-OpenPsychometrics-IPIP-FFM](https://huggingface.co/datasets/Tetratics/2018-11-08-OpenPsychometrics-IPIP-FFM/)
27
 
28
  ### Model Sources
29
 
30
+ - **Repository:** [2018-11-08-OpenPsychometrics-IPIP-FFM](https://huggingface.co/datasets/Tetratics/2018-11-08-OpenPsychometrics-IPIP-FFM/)
31
  - **Paper:** [Model Cards for Model Reporting](https://arxiv.org/abs/1810.03993)
32
 
33
  ## Uses
codebook.txt ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This data was collected (2016-2018) through an interactive on-line personality test.
2
+ The personality test was constructed with the "Big-Five Factor Markers" from the IPIP. https://ipip.ori.org/newBigFive5broadKey.htm
3
+ Participants were informed that their responses would be recorded and used for research at the beginning of the test, and asked to confirm their consent at the end of the test.
4
+
5
+ The following items were presented on one page and each was rated on a five point scale using radio buttons. The order on page was was EXT1, AGR1, CSN1, EST1, OPN1, EXT2, etc.
6
+ The scale was labeled 1=Disagree, 3=Neutral, 5=Agree
7
+
8
+ EXT1 I am the life of the party.
9
+ EXT2 I don't talk a lot.
10
+ EXT3 I feel comfortable around people.
11
+ EXT4 I keep in the background.
12
+ EXT5 I start conversations.
13
+ EXT6 I have little to say.
14
+ EXT7 I talk to a lot of different people at parties.
15
+ EXT8 I don't like to draw attention to myself.
16
+ EXT9 I don't mind being the center of attention.
17
+ EXT10 I am quiet around strangers.
18
+ EST1 I get stressed out easily.
19
+ EST2 I am relaxed most of the time.
20
+ EST3 I worry about things.
21
+ EST4 I seldom feel blue.
22
+ EST5 I am easily disturbed.
23
+ EST6 I get upset easily.
24
+ EST7 I change my mood a lot.
25
+ EST8 I have frequent mood swings.
26
+ EST9 I get irritated easily.
27
+ EST10 I often feel blue.
28
+ AGR1 I feel little concern for others.
29
+ AGR2 I am interested in people.
30
+ AGR3 I insult people.
31
+ AGR4 I sympathize with others' feelings.
32
+ AGR5 I am not interested in other people's problems.
33
+ AGR6 I have a soft heart.
34
+ AGR7 I am not really interested in others.
35
+ AGR8 I take time out for others.
36
+ AGR9 I feel others' emotions.
37
+ AGR10 I make people feel at ease.
38
+ CSN1 I am always prepared.
39
+ CSN2 I leave my belongings around.
40
+ CSN3 I pay attention to details.
41
+ CSN4 I make a mess of things.
42
+ CSN5 I get chores done right away.
43
+ CSN6 I often forget to put things back in their proper place.
44
+ CSN7 I like order.
45
+ CSN8 I shirk my duties.
46
+ CSN9 I follow a schedule.
47
+ CSN10 I am exacting in my work.
48
+ OPN1 I have a rich vocabulary.
49
+ OPN2 I have difficulty understanding abstract ideas.
50
+ OPN3 I have a vivid imagination.
51
+ OPN4 I am not interested in abstract ideas.
52
+ OPN5 I have excellent ideas.
53
+ OPN6 I do not have a good imagination.
54
+ OPN7 I am quick to understand things.
55
+ OPN8 I use difficult words.
56
+ OPN9 I spend time reflecting on things.
57
+ OPN10 I am full of ideas.
58
+
59
+ The time spent on each question is also recorded in milliseconds. These are the variables ending in _E. This was calculated by taking the time when the button for the question was clicked minus the time of the most recent other button click.
60
+
61
+ dateload The timestamp when the survey was started.
62
+ screenw The width the of user's screen in pixels
63
+ screenh The height of the user's screen in pixels
64
+ introelapse The time in seconds spent on the landing / intro page
65
+ testelapse The time in seconds spent on the page with the survey questions
66
+ endelapse The time in seconds spent on the finalization page (where the user was asked to indicate if they has answered accurately and their answers could be stored and used for research. Again: this dataset only includes users who answered "Yes" to this question, users were free to answer no and could still view their results either way)
67
+ IPC The number of records from the user's IP address in the dataset. For max cleanliness, only use records where this value is 1. High values can be because of shared networks (e.g. entire universities) or multiple submissions
68
+ country The country, determined by technical information (NOT ASKED AS A QUESTION)
69
+ lat_appx_lots_of_err approximate latitude of user. determined by technical information, THIS IS NOT VERY ACCURATE. Read the article "How an internet mapping glitch turned a random Kansas farm into a digital hell" https://splinternews.com/how-an-internet-mapping-glitch-turned-a-random-kansas-f-1793856052 to learn about the perils of relying on this information
70
+ long_appx_lots_of_err approximate longitude of user
data-final.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfbd5253f3f21f0569b34f2d1f47fbb71f5324ed26c3debbe29e84d42ce6d563
3
+ size 416273844
ipip_ffm.py ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from datasets import DatasetBuilder, DatasetInfo, SplitGenerator, Split, Value, Features
2
+ import pandas as pd
3
+ import os
4
+
5
+ class IPIPFFMDataset(DatasetBuilder):
6
+ def _info(self):
7
+ return DatasetInfo(
8
+ description="IPIP-FFM dataset with personality traits and metadata.",
9
+ features=Features({
10
+ "EXT1": Value("int32"),
11
+ "EXT2": Value("int32"),
12
+ "EXT3": Value("int32"),
13
+ # Adicione todos os outros itens aqui
14
+ "dateload": Value("string"),
15
+ "screenw": Value("int32"),
16
+ "screenh": Value("int32"),
17
+ "introelapse": Value("int32"),
18
+ "testelapse": Value("int32"),
19
+ "endelapse": Value("int32"),
20
+ "IPC": Value("int32"),
21
+ "country": Value("string"),
22
+ "lat_appx_lots_of_err": Value("float32"),
23
+ "long_appx_lots_of_err": Value("float32"),
24
+ }),
25
+ homepage="https://openpsychometrics.org/_rawdata/",
26
+ citation="@misc{openpsychometrics, author = {OpenPsychometrics}, title = {IPIP-FFM Dataset}, year = {2018}, url = {https://openpsychometrics.org/_rawdata/}}",
27
+ )
28
+
29
+ def _split_generators(self, dl_manager):
30
+ return [
31
+ SplitGenerator(
32
+ name=Split.TRAIN,
33
+ gen_kwargs={"filepath": "data-final.csv"}
34
+ ),
35
+ ]
36
+
37
+ def _generate_examples(self, filepath):
38
+ df = pd.read_csv(filepath)
39
+ for i, row in df.iterrows():
40
+ yield i, row.to_dict()
41
+
42
+ def _prepare_split(self, split_generator, **kwargs):
43
+ # Preparar os dados para o split
44
+ filepath = split_generator.gen_kwargs["filepath"]
45
+ df = pd.read_csv(filepath)
46
+ # Aqui você pode adicionar qualquer pré-processamento necessário
47
+ # Por exemplo, dividir os dados em treino e validação
48
+ # Neste caso, estamos apenas retornando o dataframe como está
49
+ return df