-
Notifications
You must be signed in to change notification settings - Fork 0
/
veld.yaml
38 lines (34 loc) · 1.15 KB
/
veld.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
x-veld:
code:
description: "simple service to push to spacy since that is surprisingly cumbersome and
creates redundancies with regards to data model usage. Note that this expects a token in the
file ./src/token.txt, use the template ./src/token_template.txt as a copy for your own
./src/token.txt which is never indexed by git."
topics: "NLP"
inputs:
- volume: /veld/input/
file_type: "spacy model"
environment: in_model_folder
description: ""
contents: ""
- "NLP model"
- "NER model"
settings:
- environment: version
description: "version of the model, to be used for huggingface metadata."
type: "str"
optional: true
- environment: model_name
description: "name of the model, to be used for huggingface metadata. Note to not put double
underscores into the model name, as this crashes spacy while publishing"
type: "str"
services:
veld:
build: .
command: bash /veld/code/run.sh
volumes:
- ./src/:/veld/code/
environment:
in_model_folder: null
version: null
model_name: null