{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"This notebook just illustrates how to utilise the pip wheels from the downloaded. \nHere's the link to the pip wheels which you can use in order to make use of sentence transformers : [Sentence_Transformers_Pip_Wheels](https://www.kaggle.com/code/harshitkmr/sentence-transformers-pip-wheels)\n\nYou can use this is in your inference code and have the internet disabled to use Sentence Transformers","metadata":{}},{"cell_type":"markdown","source":"## Sentence Transformers","metadata":{}},{"cell_type":"code","source":"!pip install sentence_transformers --no-index --find-links=file:////kaggle/input/sentence-transformers-pip-wheels/sentence_transformers","metadata":{"execution":{"iopub.status.busy":"2023-07-22T08:56:38.122183Z","iopub.execute_input":"2023-07-22T08:56:38.122708Z","iopub.status.idle":"2023-07-22T08:56:51.854933Z","shell.execute_reply.started":"2023-07-22T08:56:38.122669Z","shell.execute_reply":"2023-07-22T08:56:51.853301Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## Import","metadata":{}},{"cell_type":"code","source":"import sentence_transformers\nsentence_transformers.__version__","metadata":{"execution":{"iopub.status.busy":"2023-07-22T08:56:51.858015Z","iopub.execute_input":"2023-07-22T08:56:51.858925Z","iopub.status.idle":"2023-07-22T08:56:51.867124Z","shell.execute_reply.started":"2023-07-22T08:56:51.858869Z","shell.execute_reply":"2023-07-22T08:56:51.866000Z"},"trusted":true},"execution_count":null,"outputs":[]}]}