Git Product home page Git Product logo

Comments (7)

whalygood avatar whalygood commented on July 30, 2024

Screenshot of the issue (incomprehensible, gibberish output)

gibberish ollama

from genai-stack.

jexp avatar jexp commented on July 30, 2024

Can you share the PDF you used?

from genai-stack.

whalygood avatar whalygood commented on July 30, 2024

Sure, the PDF files I tested with were:
https://delcode.delaware.gov/title8/Title8.pdf
https://constitutioncenter.org/media/files/constitution.pdf

from genai-stack.

jexp avatar jexp commented on July 30, 2024

What kind of machine do you have and do you use a local LLM (which one did you use) or OpenAI?
It could be that your GPU is too small for the local models?
Can you try with OpenAI?

from genai-stack.

whalygood avatar whalygood commented on July 30, 2024

The machine I have is Macbook Air M1 8GB, and I'm using the llama2 model with Ollama 0.1.23.
The local model does work properly when conversing with it directly using ollama run llama2, but are you suggesting that my system resources are insufficient to use the local model with embeddings?
Using the same stack, I tested with OpenAI on a separate Windows machine, which does work.

from genai-stack.

wolfieorama avatar wolfieorama commented on July 30, 2024

image

Tested it on Macbook pro M3 18GB and it worked with the same doc

from genai-stack.

whalygood avatar whalygood commented on July 30, 2024

Closing the issue as I can confirm that it works on an Ubuntu VM with 17GB of RAM and 4 cores / 8 threads (Ryzen 7 5000 series). A little bit of a shame it won't work with the base M1 configuration as I was hoping to see how it'd perform on ARM, but understandable.

from genai-stack.

Related Issues (20)

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.