Wednesday, June 1, 2022

Creating environment and kernel for sentence_transformers

ENV.YML File

name: sentence_transformers channels: - conda-forge dependencies: - python=3.9 - pip - pandas - openpyxl - ipykernel - jupyter - tensorflow - pip: - sentence-transformers

Installation Logs

(base) C:\Users\Ashish Jain\OneDrive\Desktop\jupyter\sentence_encoding_transformers>conda env create -f env.yml Collecting package metadata (repodata.json): done Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 4.11.0 latest version: 4.13.0 Please update conda by running $ conda update -n base conda Downloading and Extracting Packages qt-main-5.15.2 | 67.6 MB | #### | 100% nltk-3.6.7 | 1.1 MB | #### | 100% gst-plugins-base-1.1 | 2.2 MB | #### | 100% pip-22.1.2 | 1.5 MB | #### | 100% libclang-13.0.1 | 23.7 MB | #### | 100% gstreamer-1.18.5 | 2.1 MB | #### | 100% lz4-c-1.9.3 | 135 KB | #### | 100% toml-0.10.2 | 18 KB | #### | 100% pyqt-5.15.4 | 4.7 MB | #### | 100% libogg-1.3.4 | 34 KB | #### | 100% sip-6.5.1 | 417 KB | #### | 100% pcre-8.45 | 518 KB | #### | 100% zstd-1.5.2 | 1008 KB | #### | 100% gettext-0.19.8.1 | 4.9 MB | #### | 100% pyqt5-sip-12.9.0 | 72 KB | #### | 100% sentence-transformer | 82 KB | #### | 100% libglib-2.70.2 | 3.1 MB | #### | 100% libvorbis-1.3.7 | 267 KB | #### | 100% Preparing transaction: done Verifying transaction: done Executing transaction: / Enabling notebook extension jupyter-js-widgets/extension... - Validating: ok done # # To activate this environment, use # # $ conda activate sentence_transformers # # To deactivate an active environment, use # # $ conda deactivate (base) C:\Users\Ashish Jain\OneDrive\Desktop\jupyter\sentence_encoding_transformers>conda activate sentence_transformers (sentence_transformers) C:\Users\Ashish Jain\OneDrive\Desktop\jupyter\sentence_encoding_transformers>python -m ipykernel install --user --name sentence_transformers Installed kernelspec sentence_transformers in C:\Users\Ashish Jain\AppData\Roaming\jupyter\kernels\sentence_transformers (sentence_transformers) C:\Users\Ashish Jain\OneDrive\Desktop\jupyter\sentence_encoding_transformers>
Tags: Machine Learning, Natural Language Processing, Python, Technology

No comments:

Post a Comment