Code Monkey home page Code Monkey logo

Comments (5)

loofahcus avatar loofahcus commented on May 30, 2024 4

We adopt llama2 model architecture, but the layernorm's names are different for our experiment purpose.
You can refer to https://huggingface.co/01-ai/Yi-6B/blob/main/modeling_yi.py & https://huggingface.co/01-ai/Yi-6B/blob/main/config.json, and the technique report is in preparation.

from yi.

loofahcus avatar loofahcus commented on May 30, 2024 1

If you don't mind a follow-up question, this is just a base model, so there's no prompt format or anything like that to take into consideration. Is that correct?

I was able to successfully quantize it to GGUF and run inference but the results I got are a bit strange.

Yes, it's just a base model. What's your prompt? We can study this case together.

from yi.

KerfuffleV2 avatar KerfuffleV2 commented on May 30, 2024

Thanks for the answer! If it's just the names that are different compared to LLaMA2 then it should be pretty easy to add support in llama.cpp (my main interest). GGUF support should help your model get more exposure as well.

from yi.

KerfuffleV2 avatar KerfuffleV2 commented on May 30, 2024

If you don't mind a follow-up question, this is just a base model, so there's no prompt format or anything like that to take into consideration. Is that correct?

I was able to successfully quantize it to GGUF and run inference but the results I got are a bit strange.

from yi.

KerfuffleV2 avatar KerfuffleV2 commented on May 30, 2024

What's your prompt? We can study this case together.

Thanks for the reply. I'll make a question in Discussions instead of continuing here so you can keep your issues on topic. (This one can be closed if you want.)


(Edit)
For further discussion: #5

from yi.

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.