Upload 2 files
Browse files- requirements.txt +54 -0
- setup.sh +30 -0
requirements.txt
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
pip
|
| 2 |
+
numpy
|
| 3 |
+
scipy
|
| 4 |
+
matplotlib
|
| 5 |
+
pandas
|
| 6 |
+
scikit-learn
|
| 7 |
+
seaborn
|
| 8 |
+
typing-extensions
|
| 9 |
+
sentencepiece
|
| 10 |
+
pytorch_lightning
|
| 11 |
+
tqdm
|
| 12 |
+
transformers
|
| 13 |
+
openai
|
| 14 |
+
Requests
|
| 15 |
+
sentence-transformers
|
| 16 |
+
pypdf
|
| 17 |
+
langchain
|
| 18 |
+
accelerate
|
| 19 |
+
bitsandbytes
|
| 20 |
+
faiss_cpu
|
| 21 |
+
langchainhub
|
| 22 |
+
langchain_community
|
| 23 |
+
tavily-python
|
| 24 |
+
langchain_openai
|
| 25 |
+
pydantic
|
| 26 |
+
protobuf
|
| 27 |
+
crewai
|
| 28 |
+
pipx
|
| 29 |
+
umap-learn
|
| 30 |
+
hdbscan
|
| 31 |
+
nltk
|
| 32 |
+
textblob
|
| 33 |
+
plotly
|
| 34 |
+
polars
|
| 35 |
+
python-dotenv>=1.0.0
|
| 36 |
+
pyyaml>=6.0
|
| 37 |
+
click>=8.0.1
|
| 38 |
+
urllib3>=1.26.17
|
| 39 |
+
jsonschema
|
| 40 |
+
injector>=0.21.0
|
| 41 |
+
ijson>=3.2.3
|
| 42 |
+
requests>=2.31.0
|
| 43 |
+
docker>=7.0.0
|
| 44 |
+
pre-commit>=2.19.0
|
| 45 |
+
tenacity>=8.2.2
|
| 46 |
+
plotly>=5.14.1
|
| 47 |
+
pytest>=7.0.0
|
| 48 |
+
vcrpy>=5.0.0
|
| 49 |
+
colorama>=0.4.6
|
| 50 |
+
jupyternotify
|
| 51 |
+
ipywidgets
|
| 52 |
+
ipympl
|
| 53 |
+
nodejs-bin
|
| 54 |
+
wordcloud
|
setup.sh
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6
|
| 3 |
+
curl -O https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh
|
| 4 |
+
bash /notebooks/Anaconda3-2024.02-1-Linux-x86_64.sh -b -p $HOME/anaconda3
|
| 5 |
+
activateBase () {
|
| 6 |
+
. /root/anaconda3/bin/activate
|
| 7 |
+
}
|
| 8 |
+
activateBase
|
| 9 |
+
conda init
|
| 10 |
+
conda create -n newpy python=3.11
|
| 11 |
+
activateEnv (){
|
| 12 |
+
conda activate newpy
|
| 13 |
+
}
|
| 14 |
+
activateEnv
|
| 15 |
+
pip install ipykernel jupyter ipywidgets jupyterlab
|
| 16 |
+
python -m ipykernel install --user --name newpy
|
| 17 |
+
python -m pip install torch==2.1.0+cu121 torchvision==0.16.0+cu121 torchaudio==2.1.0 torchtext==0.16.0+cpu torchdata==0.7.0 --index-url https://download.pytorch.org/whl/cu121torch --index-url https://download.pytorch.org/whl/cu121
|
| 18 |
+
python -m pip install git+https://github.com/huggingface/transformers.git
|
| 19 |
+
python -m pip install pytorch-crf
|
| 20 |
+
python -m pip install --upgrade pip
|
| 21 |
+
python -m pip install -r requirements.txt
|
| 22 |
+
python -m pip install \
|
| 23 |
+
--extra-index-url=https://pypi.anaconda.org/rapidsai-wheels-nightly/simple \
|
| 24 |
+
"cudf-cu12>=24.4.0a0,<=24.4" "dask-cudf-cu12>=24.4.0a0,<=24.4" \
|
| 25 |
+
"cuml-cu12>=24.4.0a0,<=24.4" "cugraph-cu12>=24.4.0a0,<=24.4" \
|
| 26 |
+
"cuspatial-cu12>=24.4.0a0,<=24.4" "cuproj-cu12>=24.4.0a0,<=24.4" \
|
| 27 |
+
"cuxfilter-cu12>=24.4.0a0,<=24.4" "cucim-cu12>=24.4.0a0,<=24.4" \
|
| 28 |
+
"pylibraft-cu12>=24.4.0a0,<=24.4" "raft-dask-cu12>=24.4.0a0,<=24.4" \
|
| 29 |
+
"dask-cuda>=24.4.0a0,<=24.4"
|
| 30 |
+
python -m pipx install poetry
|