1 Star 1 Fork 0

笑遥浪子 / zero_nlp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

zero to nlp

特点

  1. 注重中文的nlp建设
  2. 基于transformers库
  3. 每一个项目,都具有数据、模型训练、部署等模块
  4. 提供公开的数据
  5. 开箱即用,保证代码都是可跑通,替换数据即可训练出自己的模型
  6. transformers库的源码级介绍
  7. 基于pytorch,不用tensorflow
  8. 模型方面,只介绍大模型,不再介绍传统文本模型
  9. 每一个项目,都会给出相关的坑和注意事项

目录

模型训练

中文名称 文件夹名称 数据 数据清洗 大模型 模型部署 图解
中文文本分类 chinese_classifier ☑️
中文gpt2 chinese_gpt2 ☑️
中文clip chinese_clip ☑️
图像生成中文文本 VisionEncoderDecoderModel ☑️
vit核心源码介绍 vit model ☑️ ☑️ ☑️ ☑️
训练Thu-ChatGlm-6b simple_thu_chatglm6b ☑️

数据流程图解

我一直觉得,数据流程通过图解的形式表达出来,其实是最清楚的,因此我都会尽可能的把每一个任务的都图解出来。

文本分类数据图解

中文gpt2

中文clip

model

图像生成中文文本

model

vit 源码

MIT License Copyright (c) 2023 yuanz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

fork https://github.com/yuanzhoulvpi2017/zero_nlp 展开 收起
Python 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/xiaoyaolangzi/zero_nlp.git
git@gitee.com:xiaoyaolangzi/zero_nlp.git
xiaoyaolangzi
zero_nlp
zero_nlp
main

搜索帮助