File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ jobs:
1919 - name : Setup Python
2020 uses : actions/setup-python@v2
2121 with :
22- python-version : ' 3.7 '
22+ python-version : ' 3.8 '
2323 architecture : x64
2424 - name : Compute tSNE Embeddings
2525 run : |
2626 python -m pip install transformers sklearn numpy
27- python -m pip install torch==1.5 .0+cpu -f https://download.pytorch.org/whl/torch_stable.html
27+ python -m pip install torch==1.10 .0+cpu -f https://download.pytorch.org/whl/torch_stable.html
2828 python ${{ github.workspace }}/etc/compute_embeddings.py ${{ github.workspace }}/_site/paper-abstracts.json ${{ github.workspace }}/_site/tsne.json
2929 - name : Compute topics
3030 run : |
Original file line number Diff line number Diff line change 22import json
33import nltk
44
5+ nltk .download ('omw-1.4' )
56nltk .download ('stopwords' )
67nltk .download ('wordnet' )
78nltk .download ('punkt' )
@@ -79,4 +80,4 @@ def parse_arguments():
7980 json .dump ({
8081 "topics" : topic_tokens ,
8182 "paper_data" : paper_topic_data
82- }, f )
83+ }, f )
You can’t perform that action at this time.
0 commit comments