-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_default.cf
executable file
·57 lines (46 loc) · 1.45 KB
/
config_default.cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[downloadS2]
# Directory where the raw data will be stored
dir_data =
# Token provided by Allen Institute
S2_API_KEY =
version = latest
[database]
# dbuser: Username
# dbpass: Password
# dbhost: Host name or IP
# dbport: Port
# dbname: Database name
dbuser =
dbpass =
dbhost =
dbport =
dbname =
[import]
# Settings for efficient loading into the Postgres database
# These settings are not used for Spark processing
# ncpu: Number of cores for parallel processing
# Set to 0 to deactivate parallel processing
# chunksize: Size of chunks for paper processing and database ingestion
ncpu = 4
chunksize = 100000
[spark]
# dir_data: Directory where raw files will be stored by version.
# dir_parquet: Directory of output parquet files.
# version: Version of data to be used/downloaded
# last: the last version will be used
# date: in format YYYY-MM-DD
# dir_pdfs: Directory where downloaded PDFs will be stored
# Example tree:
# global_dir:
# | - dir_data:
# | - 20220201
# | - corpus1.zip
# | - corpus2.zip
# | - dir_parquet:
# | - 20220201
# | - authors.parquet
# | - papers.parquet
dir_data = /export/ml4ds/IntelComp/Datalake/SemanticScholar/rawdata
dir_parquet = /export/ml4ds/IntelComp/Datalake/SemanticScholar/parquet_prueba
version = 20220201
dir_pdfs = /export/data_ml4ds/IntelComp/Datasets/semanticscholar/rawdata/pdfs/