Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
nlpworkers
punctuator
Commits
c4655a2d
Commit
c4655a2d
authored
Nov 30, 2021
by
Michał Pogoda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Fixup] Add new config to readme
parent
df69e11b
Pipeline
#4121
passed with stages
in 23 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
README.md
README.md
+7
-8
No files found.
README.md
View file @
c4655a2d
...
...
@@ -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):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment