erudito
erudito copied to clipboard
'Llama' object has no attribute 'n_embd'
Running python -m src.ingest
hit an error on ingest.py
:
39: embeddings = np.empty((len(chunks), llama.n_embd()))
AttributeError: 'Llama' object has no attribute 'n_embd'
I'm not sure why, because this shows the definition of n_embd
. However, updating to llama-cpp-python==0.2.11
in requirements.lock resolved the problem.