-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nächste Runde von Anpassungen #2
base: master
Are you sure you want to change the base?
Changes from 3 commits
a34629f
ec746d5
68e8085
2babd51
ec1bfaf
a2d5905
94f23ea
d11455d
5a2b28a
e2974e5
06060f3
8fb449c
499bcfc
d30f624
9934160
3597e19
601b83e
3935713
9ca61d8
a44049f
b06d98b
23909ee
111b24b
c2170f6
8197352
9b9c1b6
38de6cc
efc395e
8dcf03b
0cc3210
b5b65ad
fa0d008
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,20 @@ Dependency Parsers](https://www.aclweb.org/anthology/P19-1012) (see [acl2019 bra | |
|
||
## Usage | ||
|
||
### Install virtual env | ||
|
||
```sh | ||
python3.7 -m venv .venv | ||
source .venv/bin/activate | ||
python setup.py install | ||
``` | ||
|
||
### Download training data and serialized model | ||
|
||
```sh | ||
dvc pull | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wo liegen die Daten? Sind die Daten "public"? Wenn ein Password oder Token benötigt muss in der README.md stehen wer die Kontaktperson ist. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Welche Daten meinst du genau? Der Parser ist im allgmeinen unabhängig von den Daten - müssen nur im CoNLL Format vorliegen. Für die aktuellen Modelle haben wir die Hamburger Treebank genutzt: https://corpora.uni-hamburg.de/hzsk/de/islandora/object/treebank:hdt There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Warum gibt es den Ordner |
||
``` | ||
|
||
### Transition-based parser | ||
|
||
Training a new model: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,14 @@ | |
author_email='[email protected]', | ||
packages=find_packages(exclude=['tests']), | ||
install_requires=[ | ||
'dvc==1.6.6', | ||
'dynet @ git+https://github.com/clab/dynet@7c533e#egg=dynet', | ||
'networkx==2.4', | ||
'conllu==3.1.1', | ||
'Click==7.1.2', | ||
'psutil==5.7.2', | ||
'ray==0.8.7', | ||
'boltons==20.2.1' | ||
'dvc>=1.6.6', | ||
ulf1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
'dynet>=2.0.0', | ||
'networkx>=2.4', | ||
'conllu>=3.1.1', | ||
'Click>=7.1.2', | ||
'psutil>=5.7.2', | ||
'ray>=0.8.7', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Gibt es einen großen Unterschied (breaking change) zwischen ray=0.* und ray 1.* There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. da kennt sich @gremid besser aus |
||
'boltons>=20.2.1' | ||
], | ||
extras_require={ | ||
'test': [ | ||
|
@@ -30,4 +30,6 @@ | |
'console_scripts': [ | ||
'ims-nparser = imsnpars.cli:main', | ||
], | ||
}) | ||
}, | ||
python_requires=">=3.7" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Muss das wirklich 3.7 sein? Funktioniert auch 3.6? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ich glaube das hat sich aus dem original Repository ergeben und wurde übernommen. Wenn du Tests für ältere Versionen durchlaufen lässt, können wir das gerne abändern. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bisher steht im Fork und im Orginal Repo die Version 3.7 nur in der Readme.md |
||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DVC benötigt SSH account.