Commit c4655a2d authored by Michał Pogoda's avatar Michał Pogoda

[Fixup] Add new config to readme

parent df69e11b
Pipeline #4121 passed with stages
in 23 minutes and 14 seconds
......@@ -10,14 +10,13 @@ A service that automatically adds punctuation and casing to raw word-stream (eg.
## Config
```ini
[deployment]
model_path_pl = /home/worker/model/punctuator_pl ; Path where the polish model is located
model_path_en = /home/worker/model/punctuator_en ; Path where the english model is located
model_path_ru = /home/worker/model/punctuator_ru ; Path where the russian model is located
languagetool_path = /home/worker/model/languagetool ; Path where languagetool server will be placed
max_context_size = 256 ; Number of tokens that will be oonsidered in prediciton at once. Must be between in range 2*overlap+1 to 512
overlap = 20 ; The number of tokens from the environment that will be taken at inference for a text fragment
device = cpu ; Device on which inference will be made (eg. cpu, cuda:0 etc)
```
s3_endpoint = https://s3.clarin-pl.eu
models_s3_location=s3://workers/punctuator/models_2_0
models_cache_dir=/home/worker/models
languagetool_cache_dir=/home/worker/languagetool
max_context_size=256
overlap=20
device=cpu```
## LPMN
Punctuator have one optional argument `language` with options: `pl` `ru` `en` (defaults to pl):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment