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

Support for 70b by updating ctransformers #12

Open
thirtysix opened this issue Jul 29, 2023 · 0 comments
Open

Support for 70b by updating ctransformers #12

thirtysix opened this issue Jul 29, 2023 · 0 comments

Comments

@thirtysix
Copy link

You can use the 70b parameter model now as well, here is how I accomplished it:

  1. Downloaded the 70b parameter model I wanted from https://huggingface.co/TheBloke/Llama-2-70B-Chat-GGML/tree/main. In my case, I chose 'llama-2-70b-chat.ggmlv3.q5_K_M.bin'. None of my runs so far have used much more than 6-8GB of RAM. You need to modify the 'config/config.yml' to point to your newly downloaded model.

  2. Updated the CTransformers package to the latest version which adds support for 70b (ctransformers-0.2.15 or higher):
    poetry run pip install ctransformers --upgrade

  3. I also updated langchain (and I had done this first but I'm not sure it's required):
    poetry run pip install langchain --upgrade

Now it runs! Much slower (<1 minute became almost 10min).

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