grobid-quantities / config-dl.yml
lfoppiano's picture
Update config-dl.yml
e933558 verified
raw
history blame contribute delete
1.4 kB
grobidHome: /opt/grobid/grobid-home
corsAllowedOrigins: "*"
corsAllowedMethods: "OPTIONS,GET,PUT,POST,DELETE,HEAD"
corsAllowedHeaders: "X-Requested-With,Content-Type,Accept,Origin"
# Limit the maximum number of requests
maxParallelRequests: 0
cleanlpModelPath: "/opt/grobid/grobid-quantities/resources/cleanlp/models"
models:
- name: "quantities"
# engine: "wapiti"
engine: "delft"
delft:
# deep learning parameters
# architecture: "BidLSTM_CRF"
architecture: "BERT_CRF"
useELMo: false
embeddings_name: "glove-840B"
- name: "units"
#engine: "wapiti"
engine: "delft"
delft:
# deep learning parameters
architecture: "BERT_CRF"
#architecture: "scibert"
useELMo: false
embeddings_name: "glove-840B"
- name: "values"
#engine: "wapiti"
engine: "delft"
delft:
# deep learning parameters
architecture: "BERT_CRF"
#architecture: "scibert"
useELMo: false
embeddings_name: "glove-840B"
server:
type: custom
applicationConnectors:
- type: http
port: 8060
idleTimeout: 120 seconds
acceptQueueSize: 2048
adminConnectors:
- type: http
port: 8061
registerDefaultExceptionMappers: false
maxThreads: 2048
maxQueuedRequests: 2048
logging:
level: INFO
appenders:
- type: console
threshold: INFO
timeZone: UTC