Giter Site home page Giter Site logo

nai-chonky's Introduction

NAI-chonky (in development)

  • chunking algorithm for NAI modules
  • conversation that made me start this project: https://discord.com/channels/836774308772446268/837402685824565278/1066498372132950087
  • the basic idea is, create module training data in such a way that the module learns that each context starts with metadata
    • simulating having metadata in Memory, in a NovelAI story.
    • the hard part is to create chunks of exactly 256-token-multiples, to have precise control over how each chunk looks.
  • Screenshot_1

progress updates

  • from jan 27th, when thinking about the app:
    • chonky updates 27
  • jan 31st:
    • uploaded main.py, which is the beginning of a refactor.
    • "why on earth would you upload the beginning of a refactor?"
      • "idk."
    • i had a solution with the simplifying assumptions of, "every story is bigger than the total context size, and you only put the part of the story inside the context that fits, and discard the rest".
      • then tried to expand on that solution by removing making the context size bigger than the biggest story (so that the program has to account for multiple stories in a context), but the code was too messy and very frustrating to work with, so i started a refactor.
    • state of classes right now:
      • classes
  • current problem:
    • start of chunk drifts. so each metadata starts with a bracket, which is the start of each chunk. but this is not happening exactly when i tokenize and check the final training data file.
    • image

nai-chonky's People

Contributors

atillayasar avatar

Watchers

 avatar

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.