Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
morphodita
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
morphodita
Commits
37305175
There was an error fetching the commit references. Please try again later.
Commit
37305175
authored
1 year ago
by
bwalkow
Browse files
Options
Downloads
Patches
Plain Diff
Change model source
parent
288c3991
No related merge requests found
Pipeline
#13462
passed with stage
Stage:
in 1 minute and 50 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+0
-11
0 additions, 11 deletions
.gitlab-ci.yml
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
README.TXT
+7
-5
7 additions, 5 deletions
README.TXT
entrypoint.sh
+2
-5
2 additions, 5 deletions
entrypoint.sh
with
11 additions
and
22 deletions
.gitlab-ci.yml
+
0
−
11
View file @
37305175
image
:
clarinpl/python:3.6
cache
:
paths
:
-
.tox
stages
:
-
build
before_script
:
-
pip install tox==2.9.1
build_image
:
stage
:
build
image
:
'
docker:18.09.7'
...
...
@@ -19,8 +10,6 @@ build_image:
-
'
docker:18.09.7-dind'
variables
:
DOCKERHUB_NAME
:
clarinpl/morphoditasgjp
before_script
:
-
'
'
script
:
-
docker build -t $DOCKERHUB_NAME .
-
echo $DOCKER_PASSWORD > pass.txt
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
2
−
1
View file @
37305175
FROM
clarinpl/cpp:16.04
RUN
apt update
&&
apt
install
wsnlp-16-04
RUN
apt update
-y
&&
apt
install
-y
wsnlp-16-04 awscli
WORKDIR
/home/install
COPY
src/ src/
...
...
This diff is collapsed.
Click to expand it.
README.TXT
+
7
−
5
View file @
37305175
1.
g
et model
##
1.
G
et model
:
```
aws --no-sign-request --endpoint-url https://s3.clarin-pl.eu s3 sync --delete s3://workers/morphodita-sgjp/ /home/worker/model/
```
wget -O model/morpho-sgjp http://minio.clarin-pl.eu/public/models/morpho-sgjp
2. Build
## 2. Build:
```
docker-compose build
```
This diff is collapsed.
Click to expand it.
entrypoint.sh
+
2
−
5
View file @
37305175
#!/bin/sh
cd
/home/worker
if
[
-z
"
$(
ls
-A
model
)
"
]
;
then
#if is empty download
echo
"Downloading model"
wget
-O
model/morpho-sgjp http://minio.clarin-pl.eu/public/models/morpho-sgjp
fi
aws
--no-sign-request
--endpoint-url
"https://s3.clarin-pl.eu"
s3
sync
--delete
"s3://workers/morphodita-sgjp/"
"/home/worker/model/"
./morphodita_service
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment