You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the below error when trying to run the first code snippet in README. The error originates from the import statement - from deepsearch_glm.nlp_utils import init_nlp_model, print_on_shell - see below for more details.
ModuleNotFoundError Traceback (most recent call last)
Cell In[1], [line 2](vscode-notebook-cell:?execution_count=1&line=2)
[1](vscode-notebook-cell:?execution_count=1&line=1) from deepsearch_glm.utils.load_pretrained_models import load_pretrained_nlp_models
----> [2](vscode-notebook-cell:?execution_count=1&line=2) from deepsearch_glm.nlp_utils import init_nlp_model, print_on_shell
File [~/miniconda3/envs/deepsearch-glm/lib/python3.12/site-packages/deepsearch_glm/nlp_utils.py:20](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/abhi-ibm/deepsearch-rag/notebooks/~/miniconda3/envs/deepsearch-glm/lib/python3.12/site-packages/deepsearch_glm/nlp_utils.py:20)
[16](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/abhi-ibm/deepsearch-rag/notebooks/~/miniconda3/envs/deepsearch-glm/lib/python3.12/site-packages/deepsearch_glm/nlp_utils.py:16) from tabulate import tabulate
[18](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/abhi-ibm/deepsearch-rag/notebooks/~/miniconda3/envs/deepsearch-glm/lib/python3.12/site-packages/deepsearch_glm/nlp_utils.py:18) from deepsearch_glm.utils.ds_utils import get_scratch_dir
---> [20](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/abhi-ibm/deepsearch-rag/notebooks/~/miniconda3/envs/deepsearch-glm/lib/python3.12/site-packages/deepsearch_glm/nlp_utils.py:20) from deepsearch_glm.andromeda_nlp import nlp_model
[21](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/abhi-ibm/deepsearch-rag/notebooks/~/miniconda3/envs/deepsearch-glm/lib/python3.12/site-packages/deepsearch_glm/nlp_utils.py:21) #import andromeda_nlp
[23](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/abhi-ibm/deepsearch-rag/notebooks/~/miniconda3/envs/deepsearch-glm/lib/python3.12/site-packages/deepsearch_glm/nlp_utils.py:23) def create_nlp_dir(tdir=None):
ModuleNotFoundError: No module named 'deepsearch_glm.andromeda_nlp'
The text was updated successfully, but these errors were encountered:
abhiojha8
changed the title
Not able to import andromeda_nlp module
Unable to import andromeda_nlp module
Feb 21, 2024
I am getting the below error when trying to run the first code snippet in README. The error originates from the import statement -
from deepsearch_glm.nlp_utils import init_nlp_model, print_on_shell
- see below for more details.The text was updated successfully, but these errors were encountered: