Skip to content

Commit

Permalink
update requirements
Browse files Browse the repository at this point in the history
  * Fixes #110
  • Loading branch information
amir-zeldes committed Apr 5, 2024
1 parent 0b6af44 commit 135d935
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
scikit-learn>=0.22.1
xgboost>=0.81,<=0.90
flair==0.6.1
xmltodict
xmltodict
transformers==3.0.2
numpy>=1.20.0,<=1.24.4
scikit-learn==0.22.1
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
setup(
name = 'xrenner',
packages = find_packages(),
version = '2.2.1.0',
version = '2.2.1.1',
description = 'A configurable, language independent coreferencer and (non) named entity recognizer',
author = 'Amir Zeldes',
author_email = '[email protected]',
package_data = {'':['README.rst','LICENSE.txt'],'xrenner':['models/*','test/*','licenses/*','models/_sequence_taggers/*']},
install_requires=['scikit-learn>=0.22.1','xgboost==0.90','flair==0.6.1','xmltodict'],
install_requires=['scikit-learn>=0.22.1','xgboost==0.90','flair==0.6.1','xmltodict','transformers==3.0.2','numpy>=1.20.0,<=1.24.4','scikit-learn==0.22.1'],
url = 'https://github.com/amir-zeldes/xrenner',
license='Apache License, Version 2.0',
download_url = 'https://github.com/amir-zeldes/xrenner/releases/tag/v2.2.1.0',
download_url = 'https://github.com/amir-zeldes/xrenner/releases/tag/v2.2.1.1',
keywords = ['NLP', 'coreference', 'NER', 'named entity'],
classifiers = ['Programming Language :: Python',
'Programming Language :: Python :: 2',
Expand Down
2 changes: 1 addition & 1 deletion xrenner/modules/get_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def check_models(path=None):
model = path.split(os.sep)[-1]

if not os.path.exists(path):
server = "corpling.uis.georgetown.edu"
server = "gucorpling.org"
resource = "/".join([server, "amir", "download", model])
download_file("https://" + resource, os.sep.join([script_dir,"..","models","_sequence_taggers",model]))
else:
Expand Down

0 comments on commit 135d935

Please sign in to comment.