File tree Expand file tree Collapse file tree 5 files changed +50
-6
lines changed Expand file tree Collapse file tree 5 files changed +50
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload Python Package
2
+
3
+ on :
4
+ release :
5
+ types : [created]
6
+
7
+ jobs :
8
+ deploy :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v1
12
+ - name : Set up Python
13
+ uses : actions/setup-python@v1
14
+ with :
15
+ python-version : ' 3.5'
16
+ - name : Install dependencies
17
+ run : |
18
+ python -m pip install --upgrade pip
19
+ pip install -r requirements.txt
20
+ pip install torch
21
+ pip install setuptools==42.0.2
22
+ pip install wheel twine
23
+ - name : Build and publish
24
+ env :
25
+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
26
+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
27
+ run : |
28
+ python setup.py sdist bdist_wheel
29
+ twine upload dist/*
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ include *.txt README.md
2
+ recursive-include docs *.txt
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Welcome to nyaggle's documentation!
10
10
:maxdepth: 2
11
11
:caption: Contents:
12
12
13
+ installation
13
14
source/nyaggle
14
15
15
16
Original file line number Diff line number Diff line change
1
+ Installation
2
+ ===================================
3
+
4
+ You can install nyaggle via pip:
5
+
6
+
7
+ .. code-block :: bash
8
+
9
+ pip install nyaggle
10
+
11
+
12
+
13
+ To use :code: `nyaggle.nlp.BertSentenceVectorizer `, you first need to install PyTorch.
14
+ Please refer to `PyTorch installation page <https://pytorch.org/get-started/locally/#start-locally >`_
15
+ to install Pytorch to your environment.
16
+
17
+ If you use :code: `lang=ja ` option in :code: `BertSentenceVecorizer `,
18
+ you need to intall MeCab and mecab-python3 package to your environment.
You can’t perform that action at this time.
0 commit comments