Code Monkey home page Code Monkey logo

erudito's Introduction

contributions welcome

🦙 ERUDITO: Easy API/CLI to ask questions about your documentation

Logo generated by Stable Diffusion V2

FastAPI/Typer application that uses LlamaCpp and GPT4All to answer questions about your data. Everything runs locally.

Note that this is only a toy repository to experiment and play with all these new big LLMs.

erudito's People

Contributors

adriacabeza avatar gukoff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

erudito's Issues

Re-build documentation

Documentation that is published on the github pages website is out-of-sync with the actual state of the docs/ folder.

For example the command for running the fastapi server on the website is wrong and it's corrected in the main branch of this repository.

'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.

Unable to load lora-quantize-model

I have been trying to test this but the application is unable to load the model throwing out the following error. I am using quantised lora model from gpt4all repo for testing on a wsl distribution on windows 11 with a .txt data in data folder and the model in the model folder. I am using the following command

python -m src.ingest data/ models/gpt4all/gpt4all-lora-quantized.bin

It throws out following error

Model Path= models/gpt4all/gpt4all-lora-quantized.bin
llama.cpp: loading model from models/gpt4all/gpt4all-lora-quantized.bin
error loading model: llama.cpp: tensor '�~5��x�{�d��HuV' should not be 131072-dimensional
llama_init_from_file: failed to load model

Any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.