lfoppiano's picture
Update config.yml
d1900b5 verified
grobidHome: ${GROBID_HOME:- /opt/grobid/grobid-home}
corsAllowedOrigins: "*"
corsAllowedMethods: "OPTIONS,GET,PUT,POST,DELETE,HEAD"
corsAllowedHeaders: "X-Requested-With,Content-Type,Accept,Origin"
chemspotUrl: ${CHEMSPOT_URL:- http://chemspot.local}
chemDataExtractorUrl: ${CDE_URL:- http://cde:8080}
grobidQuantitiesUrl: ${QUANTITIES_URL:- http://quantities:8080}
linkingModuleUrl: https://lfoppiano-grobid-superconductors-tools.hf.space
classResolverUrl: https://lfoppiano-grobid-superconductors-tools.hf.space
pythonVirtualEnv:
pythonRedirectOutput: true
# The maximum number of parallel requests that can be sent to the server. When 0 it will use the number of CPUs.
maxParallelRequests: 8
consolidation:
# define the bibliographical data consolidation service to be used:
# - "crossref" for CrossRef REST API or
# - "glutton" for https://github.com/kermitt2/biblio-glutton, removing the value
# empty value will disable the data consolidation
service: "glutton"
glutton:
url: "https://cloud.science-miner.com/glutton/"
models:
- name: "superconductors"
engine: "delft"
delft:
architecture: "BERT_CRF"
- name: "material"
engine: "wapiti"
- name: "entityLinker-material-tcValue"
engine: "wapiti"
- name: "entityLinker-tcValue-pressure"
engine: "wapiti"
- name: "entityLinker-tcValue-me_method"
engine: "wapiti"
- name: "quantities"
engine: "delft"
delft:
architecture: "BERT_CRF"
- name: "units"
engine: "delft"
delft:
architecture: "BidLSTM_CRF"
- name: "values"
engine: "delft"
delft:
architecture: "BidLSTM_CRF"
server:
type: custom
applicationConnectors:
- type: http
port: 8072
idleTimeout: 120 seconds
adminConnectors:
- type: http
port: 8073
registerDefaultExceptionMappers: false
logging:
level: WARN
# Logger-specific levels.
loggers:
org.grobid.core.data.normalization.QuantityNormalizer: "OFF"
org.grobid.core.engines.QuantityParser: "OFF"
org.grobid.core.engines.ValueParser: "OFF"
org.grobid.core.utilities.WordsToNumber: "OFF"
appenders:
- type: console
threshold: INFO
timeZone: UTC