Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
poldeepner2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Information extraction
poldeepner2
Merge requests
!9
Resolve "process_poleval plain text"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Closed
Resolve "process_poleval plain text"
5-process_poleval-plain-text
into
master
Overview
1
Commits
16
Pipelines
9
Changes
8
1 open thread
Hide all comments
Closed
Resolve "process_poleval plain text"
Michał Marcińczuk
requested to merge
5-process_poleval-plain-text
into
master
Nov 4, 2020
Overview
1
Commits
16
Pipelines
9
Changes
8
1 open thread
Hide all comments
FastAPI
0
0
Merge request reports
Viewing commit
1d9b7fbc
Prev
Next
Show latest version
8 files
+
189
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
1d9b7fbc
Dockerimages
· 1d9b7fbc
Jarema Radom
authored
Nov 24, 2020
Dockerfiles/base/Dockerfile
0 → 100644
+
37
−
0
View file @ 1d9b7fbc
FROM
nvidia/cuda:11.1-cudnn8-runtime-ubuntu18.04
LABEL
maintainer="Michał Marcińczuk <marcinczuk@gmail.com>"
RUN
apt-get clean
&&
apt-get update
# Set the locale
RUN
apt-get
install
locales
RUN
locale-gen en_US.UTF-8
ENV
LANG en_US.UTF-8
ENV
LANGUAGE en_US:en
ENV
LC_ALL en_US.UTF-8
# Python 3.6
RUN
apt-get
install
-y
software-properties-common vim
RUN
apt-get
install
-y
python3.6 python3-pip
# update pip
RUN
pip3
install
pip
--upgrade
RUN
pip3
install
wheel
# Install requirements and spacy
WORKDIR
"/poldeepner2"
ADD
./requirements.txt /poldeepner2/requirements.txt
RUN
pip3
install
-r
requirements.txt
RUN
python3.6
-m
spacy download pl_core_news_sm
RUN
python3.6
-m
nltk.downloader punkt
RUN
apt-get
install
-y
wget
RUN
apt-get
install
-y
unzip
# Download and unzip roberta_base_fairseq
RUN
mkdir
-p
models/roberta_base_fairseq
RUN
wget https://github.com/sdadas/polish-roberta/releases/download/models/roberta_base_fairseq.zip
RUN
unzip roberta_base_fairseq.zip
-d
models/roberta_base_fairseq
RUN
rm
roberta_base_fairseq.zip
COPY
. .
Loading