Skip to content

'Llama' object has no attribute 'n_embd' #5

@louisdeb

Description

@louisdeb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions