Skip to content

Update requirements.txt #2

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@

# Basic/minimal requirements
penman>=1.1.0
torch>=1.6
numpy
spacy>=2.0 # also requires model download `python -m spacy download en_core_web_sm`
torch>=1.13.1 # 升级到 1.13.1 或更高
numpy>=1.21 # 升级到 1.21 或更高
spacy>=2.0
tqdm
transformers>=3.0 # Note that original models trained with v3.4.0
transformers>=4.30.0 # 升级到 4.30.0 或更高
smatch

# Model specific
cached_property # parse_spring model only
networkx # parse_spring model only
cached_property
networkx

# Used for amr_view / PlotAMR
PyQt5
graphviz # this requires the Graphviz non-python library to be installed too (see pypi page)
graphviz

# Used for testing/scoring trained models
nltk
nltk>=3.6.6 # 升级到 3.6.6 或更高

# Other
unidecode # model_parse_t5, LDC2020T02 pre-processing and adding wiki tags
requests # Adding wiki tags
word2number # used in alignments code
unidecode
requests>=2.31.0 # 升级到 2.31.0 或更高
word2number