Giter Club home page Giter Club logo

Comments (5)

LoganDark avatar LoganDark commented on May 31, 2024 1

Most implementations with this model of encoding, decoding, and reverse prompt (myself included) are incorrect

Hm, why, given that official tokenizers Python library is used? Or do you mean only these if statements like some_byte_sequence in string?

implementers forget that sometimes encode(str1) + encode(str2) != encode (str1 + str2)

from rwkv.cpp.

walkrunning avatar walkrunning commented on May 31, 2024 1

usually it means the model has decided you have reached [endoftext]

Haha, da Lao. I think you are right.

from rwkv.cpp.

BlinkDL avatar BlinkDL commented on May 31, 2024

usually it means the model has decided you have reached [endoftext]

from rwkv.cpp.

LoganDark avatar LoganDark commented on May 31, 2024

Most implementations with this model of encoding, decoding, and reverse prompt (myself included) are incorrect. Implementations of encoding will become almost correct with World's greedy tokenizer, but decoding and reverse prompt will still be buggy. I hope to document how to do this properly in the future

from rwkv.cpp.

saharNooby avatar saharNooby commented on May 31, 2024

Most implementations with this model of encoding, decoding, and reverse prompt (myself included) are incorrect

Hm, why, given that official tokenizers Python library is used? Or do you mean only these if statements like some_byte_sequence in string?

from rwkv.cpp.

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.