Code Monkey home page Code Monkey logo

jiou-llm's Introduction

SD-Trainer

JiOu-LLM: 基于llama2的奇偶数判别模型

环境配置

  • Python >= 3.8
  • Pytorch >= 2.2

其他依赖:tqdm(进度条)和gradio(webui)

pip install tqdm gradio

推理

WebUI模式:

SD-Trainer

运行 webui.py

命令行模式:

运行 inference.py

训练

运行 train.py

模型信息

model Params Accuracy(0-99999)
base.pt 13.66M 99.9997%

注:本模型将silu激活函数换成snakebeta激活函数以更好地捕获周期特征,其余部分与llama2保持一致。

TODO

本人对大语言模型了解不多,若有任何疑问或者优化方案,欢迎提issue或pr

  • 训练精度更高的模型

参考

gpt-fast

transformers

nano-GPT

fish-speech

gpt-sovits

snake

HierSpeechpp

jiou-llm's People

Contributors

kdaip avatar

Stargazers

 avatar  avatar zhangmuzhi avatar  avatar

Watchers

 avatar  avatar

Forkers

lxysl

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.