-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.sh
More file actions
20 lines (20 loc) · 854 Bytes
/
Copy pathscript.sh
File metadata and controls
20 lines (20 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# To store the database
mkdir Dataset
# To store the model states
mkdir Models
# Download train set and move to the dataset folder.
curl "https://tickettagger.blob.core.windows.net/datasets/github-labels-top3-803k-train.tar.gz" | tar -xz
mv github-labels-top3-803k-train.csv ./Dataset/
# Download test set and move to the dataset folder.
curl "https://tickettagger.blob.core.windows.net/datasets/github-labels-top3-803k-test.tar.gz" | tar -xz
mv github-labels-top3-803k-test.csv ./Dataset/
# Create a conda environment with Python 3, Tested with Python 3.9.7
conda create -n nlbse python=3
# Activate the environment
conda activate nlbse
# Install pytorch
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
# Install tqdm and transformers
conda install tqdm transformers
# Required for using transformets
pip install tensorflow