Skip to content

Commit

Permalink
sgdb
Browse files Browse the repository at this point in the history
  • Loading branch information
ym001 committed Apr 30, 2020
1 parent 3d75920 commit 78d43e1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
3 changes: 3 additions & 0 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ pip uninstall Manteia
python setup.py install
python ./Tests/test_Manteia.py

pipreqs ./
scp -p -r mercadier@gpu2.lirmm.fr:/home/mercadier/Application/Manteia/requirements.txt /home/yves/Téléchargements/

rm -R dist
python setup.py sdist
twine upload dist/*
Expand Down
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
matplotlib==3.2.1
transformers==2.8.0
pandas==1.0.3
torch==1.5.0
nltk==3.4.5
numpy==1.18.1
scikit_learn==0.22.2.post1
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

from setuptools import setup, find_packages


with open('requirements.txt') as f:
requirements = f.read().splitlines()

# Ceci n'est qu'un appel de fonction. Mais il est trèèèèèèèèèèès long
# et il comporte beaucoup de paramètres
setup(
Expand All @@ -21,7 +23,7 @@
author_email="manteia.ym001@gmail.com",

# Une description courte
description="Deep NLP",
description="deep learning,NLP,classification,text,bert,distilbert,albert,xlnet,roberta,gpt2",

# Une description longue, sera affichée pour présenter la lib
# Généralement on dump le README ici
Expand All @@ -35,7 +37,7 @@
#
# Dans notre cas on en a pas besoin, donc je le commente, mais je le
# laisse pour que vous sachiez que ça existe car c'est très utile.
# install_requires= ,
install_requires=requirements ,

# Active la prise en compte du fichier MANIFEST.in
include_package_data=True,
Expand Down

0 comments on commit 78d43e1

Please sign in to comment.