Git Product home page Git Product logo

Comments (6)

guinmoon avatar guinmoon commented on July 17, 2024 2

To support metal, I need to update the sources of llama. When I do this I will try to load openllama with metal.

from llmfarm.

laosuan avatar laosuan commented on July 17, 2024

Got it, built with metal support seem need a lot of work.

I found the following program commands on https://github.com/ggerganov/llama.cpp, Can I put this model(openllmplayground/openalpaca_3b_600bt_preview) quantize in this way?

# convert the 7B model to ggml FP16 format
python3 convert.py models/7B/
# quantize the model to 4-bits (using q4_0 method)
./quantize ./models/7B/ggml-model-f16.bin ./models/7B/ggml-model-q4_0.bin q4_0

from llmfarm.

guinmoon avatar guinmoon commented on July 17, 2024

there is a quantizatized model that works fine with this application

from llmfarm.

laosuan avatar laosuan commented on July 17, 2024

Thanks, I tried these code, it worked. but I found a little problem:
It does not support generate according to history of conversation.

By the way, I rec
ommend an excellent mini model: https://twitter.com/erhartford/status/1672672018779766784

from llmfarm.

guinmoon avatar guinmoon commented on July 17, 2024

Thanks for the tip, good model. I'm working on context support like interactive mode in llama.cpp

from llmfarm.

aehlke avatar aehlke commented on July 17, 2024

Please update llama.cpp again - they've recently landed improvements for OpenML + Metal together for the fastest perf yet

from llmfarm.

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.