Git Product home page Git Product logo

nanogpt-scir's Introduction

项目简介

│  .gitignore   # gitignore文件, 不保存dataset和checkpoint文件夹
│  model.py     # 模型配置类和模型类
│  README.md    # 简介
│  sample.py    # 生成文本用的脚本, 可运行
│  train.py     # 训练模型用的脚本, 可运行
│  utils.py     # 加载训练集
│  vocab.py     # 词典, 及其read和save操作
├─checkpoint    # 用于存放模型的checkpoint
├─dataset       # 用于存放缓存的数据集文本: train.txt, test.txt和字典: vocab.json

项目运行

  • 要训练项目, 可以直接运行train.py
  • 要加载训练好的模型并生成文本, 可以直接运行sample.py

nanogpt-scir's People

Contributors

huiyeruzhou 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.