conda activate your_env_name
conda env export > environment.yml
conda env create -f environment.yml
Sample environemt.yml
file
name: SLM
channels:
- conda-forge
- defaults
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- abseil-cpp=20211102.0=hd4dd3e8_0
- aiohttp=3.9.0=py311h5eee18b_0
- aiosignal=1.2.0=pyhd3eb1b0_0
- arrow-cpp=11.0.0=h374c478_2
- attrs=23.1.0=py311h06a4308_0
- aws-c-common=0.6.8=h5eee18b_1
- aws-c-event-stream=0.1.6=h6a678d5_6
- aws-checksums=0.1.11=h5eee18b_2
- aws-sdk-cpp=1.8.185=h721c034_1
- blas=1.0=mkl
- boost-cpp=1.82.0=hdb19cb5_2
- bottleneck=1.3.5=py311hbed6279_0
- brotli-python=1.0.9=py311h6a678d5_7
- bzip2=1.0.8=h7b6447c_0
- c-ares=1.19.1=h5eee18b_0
- ca-certificates=2023.12.12=h06a4308_0
- certifi=2023.11.17=py311h06a4308_0
- cffi=1.16.0=py311h5eee18b_0
- charset-normalizer=2.0.4=pyhd3eb1b0_0
- click=8.1.7=py311h06a4308_0
- cryptography=41.0.7=py311hdda0065_0
- cudatoolkit=11.8.0=h6a678d5_0
- datasets=2.12.0=py311h06a4308_0
- dill=0.3.6=py311h06a4308_0
- filelock=3.13.1=py311h06a4308_0
- freetype=2.12.1=h4a9f257_0
- frozenlist=1.4.0=py311h5eee18b_0
- fsspec=2023.10.0=py311h06a4308_0
- gflags=2.2.2=he6710b0_0
- giflib=5.2.1=h5eee18b_3
- glog=0.5.0=h2531618_0
- gmp=6.2.1=h295c915_3
- gmpy2=2.1.2=py311hc9b5ff0_0
- grpc-cpp=1.48.2=he1ff14a_1
- huggingface_hub=0.17.3=py311h06a4308_0
- icu=73.1=h6a678d5_0
- idna=3.4=py311h06a4308_0
- importlib-metadata=7.0.1=py311h06a4308_0
- intel-openmp=2023.1.0=hdb19cb5_46306
- jinja2=3.1.2=py311h06a4308_0
- joblib=1.2.0=py311h06a4308_0
- jpeg=9e=h5eee18b_1
- krb5=1.20.1=h143b758_1
- lcms2=2.12=h3be6417_0
- ld_impl_linux-64=2.38=h1181459_1
- lerc=3.0=h295c915_0
- libboost=1.82.0=h109eef0_2
- libbrotlicommon=1.0.9=h5eee18b_7
- libbrotlidec=1.0.9=h5eee18b_7
- libbrotlienc=1.0.9=h5eee18b_7
- libcurl=8.5.0=h251f7ec_0
- libdeflate=1.17=h5eee18b_1
- libedit=3.1.20230828=h5eee18b_0
- libev=4.33=h7f8727e_1
- libevent=2.1.12=hdbd6064_1
- libffi=3.4.4=h6a678d5_0
- libgcc-ng=11.2.0=h1234567_1
- libgfortran-ng=11.2.0=h00389a5_1
- libgfortran5=11.2.0=h1234567_1
- libgomp=11.2.0=h1234567_1
- libnghttp2=1.57.0=h2d74bed_0
- libpng=1.6.39=h5eee18b_0
- libprotobuf=3.20.3=he621ea3_0
- libssh2=1.10.0=hdbd6064_2
- libstdcxx-ng=11.2.0=h1234567_1
- libthrift=0.15.0=h1795dd8_2
- libtiff=4.5.1=h6a678d5_0
- libuuid=1.41.5=h5eee18b_0
- libwebp=1.3.2=h11a3e52_0
- libwebp-base=1.3.2=h5eee18b_0
- lz4-c=1.9.4=h6a678d5_0
- markupsafe=2.1.3=py311h5eee18b_0
- mkl=2023.1.0=h213fc3f_46344
- mkl-service=2.4.0=py311h5eee18b_1
- mkl_fft=1.3.8=py311h5eee18b_0
- mkl_random=1.2.4=py311hdb19cb5_0
- mpc=1.1.0=h10f8cd9_1
- mpfr=4.0.2=hb69a4c5_1
- mpmath=1.3.0=py311h06a4308_0
- multidict=6.0.4=py311h5eee18b_0
- multiprocess=0.70.14=py311h06a4308_0
- ncurses=6.4=h6a678d5_0
- networkx=3.1=py311h06a4308_0
- ninja=1.10.2=h06a4308_5
- ninja-base=1.10.2=hd09550d_5
- nltk=3.8.1=py311h06a4308_0
- numexpr=2.8.7=py311h65dcdc2_0
- numpy=1.24.3=py311h08b1b3b_1
- numpy-base=1.24.3=py311hf175353_1
- openjpeg=2.4.0=h3ad879b_0
- openssl=3.0.12=h7f8727e_0
- orc=1.7.4=hb3bc3d3_1
- packaging=23.1=py311h06a4308_0
- pandas=2.1.4=py311ha02d727_0
- pillow=10.0.1=py311ha6cbd5a_0
- pip=23.3.1=py311h06a4308_0
- pyarrow=11.0.0=py311hd8e8d9b_1
- pycparser=2.21=pyhd3eb1b0_0
- pyopenssl=23.2.0=py311h06a4308_0
- pysocks=1.7.1=py311h06a4308_0
- python=3.11.7=h955ad1f_0
- python-dateutil=2.8.2=pyhd3eb1b0_0
- python-tzdata=2023.3=pyhd3eb1b0_0
- python-xxhash=2.0.2=py311h5eee18b_1
- pytorch=2.1.0=cpu_py311h6d93b4c_0
- pytz=2023.3.post1=py311h06a4308_0
- pyyaml=6.0.1=py311h5eee18b_0
- re2=2022.04.01=h295c915_0
- readline=8.2=h5eee18b_0
- regex=2023.10.3=py311h5eee18b_0
- requests=2.31.0=py311h06a4308_0
- responses=0.13.3=pyhd3eb1b0_0
- safetensors=0.4.0=py311h24d97f6_0
- scikit-learn=1.3.0=py311ha02d727_1
- scipy=1.11.4=py311h08b1b3b_0
- sentence-transformers=2.2.2=pyhd8ed1ab_0
- sentencepiece=0.1.99=py311hdb19cb5_0
- setuptools=68.2.2=py311h06a4308_0
- six=1.16.0=pyhd3eb1b0_1
- snappy=1.1.10=h6a678d5_1
- sqlite=3.41.2=h5eee18b_0
- sympy=1.12=py311h06a4308_0
- tbb=2021.8.0=hdb19cb5_0
- threadpoolctl=2.2.0=pyh0d69192_0
- tk=8.6.12=h1ccaba5_0
- tokenizers=0.13.3=py311h22610ee_0
- torchvision=0.15.2=cuda118py311h4cc2eb7_0
- tqdm=4.65.0=py311h92b7b1e_0
- transformers=4.32.1=py311h06a4308_0
- typing-extensions=4.9.0=pyhd3eb1b0_0
- typing_extensions=4.9.0=py311h06a4308_0
- tzdata=2023d=h04d1e81_0
- urllib3=1.26.18=py311h06a4308_0
- utf8proc=2.6.1=h27cfd23_0
- wheel=0.41.2=py311h06a4308_0
- xxhash=0.8.0=h7f8727e_3
- xz=5.4.5=h5eee18b_0
- yaml=0.2.5=h7b6447c_0
- yarl=1.9.3=py311h5eee18b_0
- zipp=3.17.0=py311h06a4308_0
- zlib=1.2.13=h5eee18b_0
- zstd=1.5.5=hc292b87_0
- pip:
- annotated-types==0.6.0
- anyio==4.2.0
- grpcio==1.60.0
- grpcio-tools==1.60.0
- h11==0.14.0
- h2==4.1.0
- hpack==4.0.0
- httpcore==1.0.2
- httpx==0.26.0
- hyperframe==6.0.1
- portalocker==2.8.2
- protobuf==4.25.2
- pydantic==2.5.3
- pydantic-core==2.14.6
- qdrant-client==1.7.0
- sniffio==1.3.0
prefix: /home/codespace/miniconda3/envs/SLM