maxent-ai / converse

Conversational text Analysis using various NLP techniques
Apache License 2.0
178 stars 19 forks source link

Notebook issue - basic usage notebook #10

Open mq-datascienceschool opened 1 year ago

mq-datascienceschool commented 1 year ago

Uploading Notebook issue.mp4

mq-datascienceschool commented 1 year ago

https://user-images.githubusercontent.com/89654328/215312494-d06c19c8-68eb-488c-9458-bc821590e928.mp4

wjlgatech commented 1 year ago

Hi sir, Thanks for making the package available. I had some issues installing the package on Colab notebook. How do you fix it?

!pip install pyconverse

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. ipython 7.9.0 requires jedi>=0.10, which is not installed. en-core-web-sm 3.4.1 requires spacy<3.5.0,>=3.4.0, but you have spacy 2.3.5 which is incompatible. confection 0.0.4 requires srsly<3.0.0,>=2.4.0, but you have srsly 1.0.6 which is incompatible. Successfully installed attrs-20.3.0 catalogue-1.0.2 huggingface-hub-0.12.0 keybert-0.5.0 markdown-it-py-2.1.0 mdurl-0.1.2 nltk-3.6.5 plac-1.1.3 pyconverse-0.1.0 pygments-2.14.0 rich-13.3.1 sacremoses-0.0.53 scikit-learn-1.0.1 sentence-transformers-2.1.0 sentencepiece-0.1.97 spacy-2.3.5 srsly-1.0.6 thinc-7.4.6 tokenizers-0.10.3 transformers-4.11.0

from pyconverse import Callyzer, SpeakerStats

ModuleNotFoundError Traceback (most recent call last) in 2 from pprint import pprint 3 ----> 4 from pyconverse import Callyzer, SpeakerStats 5 from pyconverse import SemanticTextSegmentation, ZeroShotTopicFinder, TranscriptSummarization

9 frames /usr/local/lib/python3.8/dist-packages/sentence_transformers/util.py in 402 from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE 403 from huggingface_hub import HfApi, hf_hub_url, cached_download --> 404 from huggingface_hub.snapshot_download import REPO_ID_SEPARATOR 405 import fnmatch 406

ModuleNotFoundError: No module named 'huggingface_hub.snapshot_download'


NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the "Open Examples" button below.