Dears,
I am trying to run finetune_embedding.ipynb
(Google Colab )
from llama and when I execute this below cells
train_nodes = load_corpus(TRAIN_FILES, verbose=True)
val_nodes = load_corpus(VAL_FILES, verbose=True)
I got this errorā¦I did not change any thing from the original ipynb fileā¦
any help pleaseā¦I am stock with this error
Loading files [ā./data/10k/lyft_2021.pdfā]
ModuleNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/llama_index/core/readers/file/base.py in _try_loading_included_file_formats()
24 try:
ā> 25 from llama_index.readers.file import (
26 DocxReader,
ModuleNotFoundError: No module named āllama_index.readersā
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
4 frames
/usr/local/lib/python3.10/dist-packages/llama_index/core/readers/file/base.py in _try_loading_included_file_formats()
37 ) # pants: no-infer-dep
38 except ImportError:
ā> 39 raise ImportError(āllama-index-readers-file
package not foundā)
40
41 default_file_reader_cls: Dict[str, Type[BaseReader]] = {
ImportError: llama-index-readers-file
package not found
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.
[