GithubHelp home page GithubHelp logo

llmupscaling's Introduction

LLMUpScaling

本项目旨在收集最全的从SLM到LLM的UpScaling方法

名词解释

缩写 全程
SLM small language model
LLM large language model
UpScaling 在Gopher的文章中也称reverse distillatio

函数列表

method 对应文件 方案说明
concat concat_diff_layers.py 把两个slm的不同层合并为一个llm
linear interpolation linear_inter_layers.py 通过线性插值的方式把slm扩充为llm
random initialize random_add_layers.py 初始化需要扩充的层数并拼接在现有slm之中
add_width add_width_layers.py 扩充slm的hidden_size从而达到llm的参数量

Reference

  1. 《SOLAR 10.7B: Scaling Large Language Models with Simple yet Effective Depth Up-Scaling 》
  2. 《Scaling Language Models: Methods, Analysis & Insights from Training Gopher》

Todo 列表

  • 增加以上函数的jupyter文件;
  • 增加对应py文件;
  • 增加对应原理图;
  • 增加训练框架;
  • 发布7B-70B模型在huggingface上

最新更新于 2024.01.07

llmupscaling's People

Contributors

haoyawhl avatar

Stargazers

 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.