grobid-quantities / config-dl.yml
lfoppiano's picture
Update configuration
c88e38f
raw
history blame
1.43 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: "BidLSTM_CRF"
#architecture: "scibert"
useELMo: false
embeddings_name: "glove-840B"
- name: "values"
#engine: "wapiti"
engine: "delft"
delft:
# deep learning parameters
architecture: "BidLSTM_CRF"
#architecture: "scibert"
useELMo: false
embeddings_name: "glove-840B"
views:
.mustache:
cache: false
server:
type: custom
idleTimeout: 120 seconds
applicationConnectors:
- type: http
port: 8060
adminConnectors:
- type: http
port: 8061
registerDefaultExceptionMappers: false
maxThreads: 2048
maxQueuedRequests: 2048
acceptQueueSize: 2048
logging:
level: INFO
appenders:
- type: console
threshold: INFO
timeZone: UTC