mirror of
https://github.com/qurator-spk/sbb_ner.git
synced 2025-06-08 20:00:01 +02:00
Update README.md
This commit is contained in:
parent
2fbb97c3ef
commit
614b999b15
1 changed files with 10 additions and 10 deletions
20
README.md
20
README.md
|
@ -6,26 +6,26 @@ How the models have been obtained is described in our [paper](https://corpora.li
|
||||||
|
|
||||||
# Installation:
|
# Installation:
|
||||||
|
|
||||||
Setup virtual environment:
|
Recommended python version is 3.11.
|
||||||
```
|
Consider use of [pyenv](https://github.com/pyenv/pyenv) if that python version is not available on your system.
|
||||||
virtualenv --python=python3.6 venv
|
|
||||||
```
|
|
||||||
|
|
||||||
Activate virtual environment:
|
Activate virtual environment (virtualenv):
|
||||||
```
|
```
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
```
|
```
|
||||||
|
or (pyenv):
|
||||||
|
```
|
||||||
|
pyenv activate my-python-3.11-virtualenv
|
||||||
|
```
|
||||||
|
|
||||||
Upgrade pip:
|
Update pip:
|
||||||
```
|
```
|
||||||
pip install -U pip
|
pip install -U pip
|
||||||
```
|
```
|
||||||
|
Install sbb_images:
|
||||||
Install package together with its dependencies in development mode:
|
|
||||||
```
|
```
|
||||||
pip install -e ./
|
pip install git+https://github.com/qurator-spk/sbb_ner.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Download required models: https://qurator-data.de/sbb_ner/models.tar.gz
|
Download required models: https://qurator-data.de/sbb_ner/models.tar.gz
|
||||||
|
|
||||||
Extract model archive:
|
Extract model archive:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue