Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no module named Casalioy #116

Open
2 of 5 tasks
abcnow opened this issue Oct 22, 2023 · 0 comments
Open
2 of 5 tasks

no module named Casalioy #116

abcnow opened this issue Oct 22, 2023 · 0 comments

Comments

@abcnow
Copy link

abcnow commented Oct 22, 2023

.env

Generic

MODEL_N_CTX=1024
TEXT_EMBEDDINGS_MODEL=sentence-transformers/all-MiniLM-L6-v2
TEXT_EMBEDDINGS_MODEL_TYPE=HF # LlamaCpp or HF
USE_MLOCK=true

Ingestion

PERSIST_DIRECTORY=db
DOCUMENTS_DIRECTORY=source_documents
INGEST_CHUNK_SIZE=500
INGEST_CHUNK_OVERLAP=50

Generation

MODEL_TYPE=LlamaCpp # GPT4All or LlamaCpp
MODEL_PATH=eachadea/ggml-vicuna-7b-1.1/ggml-vic7b-q5_1.bin
MODEL_TEMP=0.8
MODEL_STOP=[STOP]
CHAIN_TYPE=stuff
N_RETRIEVE_DOCUMENTS=100 # How many documents to retrieve from the db
N_FORWARD_DOCUMENTS=6 # How many documents to forward to the LLM, chosen among those retrieved

Python version

3.11.5

System

14.0 (23A344

CASALIOY version

v0.1.1 ->https://github.com/su77ungr/CASALIOY/tree/gguf-fix

Information

  • The official example scripts
  • My own modified scripts

Related Components

  • Document ingestion
  • GUI
  • Prompt answering

Reproduction

python ingest.py --device_type mps
Traceback (most recent call last):
File "/Users/ac/Documents/mc2/projects/casalioygpt/casapoetry/casalioygpt/casalioy/ingest.py", line 26, in
from load_env import chunk_overlap, chunk_size, documents_directory, get_embedding_model, ingest_n_threads, persist_directory
File "/Users/ac/Documents/mc2/projects/casalioygpt/casapoetry/casalioygpt/casalioy/load_env.py", line 9, in
from casalioy.utils import download_if_repo
ModuleNotFoundError: No module named 'casalioy'
(base)

Expected behavior

it should start ingesting files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant