From 7f27812efde6a68f09c914a979ce6ac0d779bb48 Mon Sep 17 00:00:00 2001 From: shuiyu1123 Date: Fri, 12 Jun 2026 15:16:56 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0README=EF=BC=9A=E6=97=A8?= =?UTF-8?q?=E5=9C=A8=E6=9C=80=E5=B0=8F=E8=AE=BE=E5=A4=87=E4=B8=8A=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E7=9A=84=E9=97=B2=E8=81=8A=E5=BF=83=E7=90=86=E6=B2=BB?= =?UTF-8?q?=E7=96=97=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 49 +++++++++++++++++++++---------------------------- README.md | 50 +++++++++++++++++++++----------------------------- 2 files changed, 42 insertions(+), 57 deletions(-) diff --git a/README.en.md b/README.en.md index 24118f4..8f75441 100644 --- a/README.en.md +++ b/README.en.md @@ -1,36 +1,29 @@ # xiaoli-llm-chat #### Description -小狸AI - 自研中文对话大模型 +XiaoliAI - A casual chat & psychological therapy model designed to run on the smallest devices. -#### Software Architecture -Software architecture description +A from-scratch domain-specific Transformer. No pre-trained base model, no fine-tuning, no alignment — train it and talk to it directly. -#### Installation +#### Features +- **Ultra-lightweight**: 13M params, ~20MB footprint +- **From Scratch**: Not based on LLaMA/GPT or any backbone +- **Ready to Use**: No SFT / RLHF needed +- **Safe by Design**: Data-embedded alignment, no harmful outputs +- **Emotional Companion**: Built for conversation, not general tasks -1. xxxx -2. xxxx -3. xxxx +#### Tech Stack +- Architecture: Causal Decoder-Only Transformer (RoPE + RMSNorm + SwiGLU) +- Tokenizer: Character-level (3236 vocab) +- Training: Custom QA data + Astron API distillation -#### Instructions +#### Use Cases +- Child emotional companionship +- Lightweight psychological support +- IoT / Embedded offline chat +- Privacy-focused local conversation -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +#### Performance +- Memory: ~20MB +- Inference: Real-time on CPU (no GPU needed) +- Runs on: Raspberry Pi, phones, smartwatches, low-end PCs \ No newline at end of file diff --git a/README.md b/README.md index 2ced6bc..c91b6b6 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,29 @@ # xiaoli-llm-chat #### 介绍 -小狸AI - 自研中文对话大模型 +小狸AI - 旨在最小设备上运行的闲聊心理治疗模型 -#### 软件架构 -软件架构说明 +从零训练的特化 Transformer,不依赖任何预训练模型,无需微调对齐,训练完可直接对话。 +#### 模型特点 +- **超轻量**: 仅 13M 参数,约 20MB 占用 +- **从零训练**: 不基于 LLaMA/GPT 等任何基座,权重完全随机初始化 +- **开箱即用**: 无需 SFT / RLHF,训练完即可对话 +- **安全可控**: 数据内嵌对齐,天然不输出违规内容 +- **闲聊陪伴**: 专注情感价值,不追求通用能力 -#### 安装教程 +#### 技术栈 +- 架构: Causal Decoder-Only Transformer (RoPE + RMSNorm + SwiGLU) +- 分词: 字符级词表(3236 tokens) +- 训练: 自建问答数据 + Astron API 蒸馏 -1. xxxx -2. xxxx -3. xxxx +#### 使用场景 +- 儿童情感陪伴 +- 轻量级心理倾诉 +- IoT / 嵌入式设备离线对话 +- 隐私安全的本地聊天 -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +#### 性能 +- 内存占用: ~20MB +- 推理速度: CPU 实时(无需 GPU) +- 可运行平台: 树莓派、手机、手表、低端PC \ No newline at end of file