Skip to content

Commit 4e028ba

Browse files
authored
Merge pull request #2 from 14H034160212/patch-1
Update requirements.txt
2 parents 279a7a3 + 04baf46 commit 4e028ba

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

requirements.txt

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11

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

11-
# Model specific
12-
cached_property # parse_spring model only
13-
networkx # parse_spring model only
11+
cached_property
12+
networkx
1413

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

19-
# Used for testing/scoring trained models
20-
nltk
17+
nltk>=3.6.6 # 升级到 3.6.6 或更高
2118

22-
# Other
23-
unidecode # model_parse_t5, LDC2020T02 pre-processing and adding wiki tags
24-
requests # Adding wiki tags
25-
word2number # used in alignments code
19+
unidecode
20+
requests>=2.31.0 # 升级到 2.31.0 或更高
21+
word2number

0 commit comments

Comments
 (0)