update minimind2

website
gongjy 2025-02-10 00:22:10 +08:00
parent 707e598b68
commit 9ba14add38
8 changed files with 24 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

BIN
images/minimind2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

View File

@ -5,7 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MiniMind Project</title> <title>MiniMind Project</title>
<!-- 引入 Bootstrap CSS --> <!-- 引入 Bootstrap CSS -->
<link href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/bootstrap/5.1.3/css/bootstrap.min.css" rel="stylesheet"> <link href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/bootstrap/5.1.3/css/bootstrap.min.css"
rel="stylesheet">
<!-- 可选: 引入自定义样式 --> <!-- 可选: 引入自定义样式 -->
<style> <style>
.logo { .logo {
@ -85,28 +86,30 @@
<hr> <hr>
<ul> <ul>
<li>This open-source project aims to train a tiny language model called <strong>MiniMind</strong> from scratch <li>The <strong>MiniMind</strong> series is extremely lightweight, with the smallest version being 1/7000 the
in just 3 hours, with a model size of only 26.88M. size of GPT-3, making it possible to train quickly on even the most ordinary personal GPUs.
</li> </li>
<li><strong>MiniMind</strong> is extremely lightweight, with the smallest version being approximately <span <li>The project also open-sources the minimalist structure of the large model, including extensions for shared
style="white-space: nowrap;">1/7000</span> the size of GPT3, making it possible for even an ordinary mixed experts (MoE), dataset cleaning, pretraining, supervised fine-tuning (SFT), LoRA fine-tuning, direct
personal GPU to perform quick inference and even training. preference optimization (DPO) algorithms, and model distillation algorithms, along with the full code of the
process.
</li> </li>
<li><strong>MiniMind</strong> provides the full-stage code for a simplified large model structure, dataset <li><strong>MiniMind</strong> also expands into vision multimodal VLM: <a
cleaning and preprocessing, supervised pretraining, supervised instruction fine-tuning (SFT), low-rank href="https://github.com/jingyaogong/minimind-v" target="_blank">MiniMind-V</a>.
adaptation (LoRA) fine-tuning, and direct preference alignment with reinforcement learning without rewards
(DPO). It also includes code for expanding to sparse models with mixed experts (MoE) and multi-modal vision
language models (VLM): <a href="https://github.com/jingyaogong/minimind-v">MiniMind-V</a>.
</li> </li>
<li>This is not just an implementation of an open-source model but also a tutorial for getting started with <li>All core algorithm code is reconstructed from scratch using native PyTorch! It does not rely on abstract
large language models (LLM). interfaces provided by third-party libraries.
</li> </li>
<li>We hope this project will serve as an introductory example for researchers, helping them quickly get started <li>This is not only a full-stage open-source reproduction of a large language model but also a tutorial for
and inspiring more exploration and innovation in the LLM field. beginners in LLM.
</li> </li>
<li style="color: #aaa;">To avoid misinterpretation, "fastest 3 hours" means you need a machine with hardware <li>We hope this project will serve as an inspiring example for everyone, helping to enjoy the fun of creation
configuration superior and promoting the progress of the wider AI community!
to mine. Detailed specifications will be provided below. </li>
<li style="color: #aaa;">To avoid misunderstanding, the "2 hours" test is based on NVIDIA 3090 hardware (single
GPU), and the "3
RMB" refers to the GPU server rental cost. Details of the specifications can be found below.
</li> </li>
</ul> </ul>
@ -114,12 +117,13 @@
<div align="center"> <div align="center">
<div class="scroll-container"> <div class="scroll-container">
<img src="./images/streamlit.gif" alt="Streamlit Demo" class="img-fluid mb-4"> <img src="./images/minimind2.gif" alt="Streamlit Demo" class="img-fluid mb-4">
<img src="./images/LLM-structure.png" alt="LLM Structure" class="img-fluid mb-4"> <img src="./images/LLM-structure.png" alt="LLM Structure" class="img-fluid mb-4">
<img src="./images/LLM-structure-moe.png" alt="LLM Structure MOE" class="img-fluid mb-4"> <img src="./images/LLM-structure-moe.png" alt="LLM Structure MOE" class="img-fluid mb-4">
</div> </div>
<br/> <br/>
<a href="https://www.modelscope.cn/studios/gongjy/minimind">ModelScope Online</a> | <a href="https://www.modelscope.cn/studios/gongjy/MiniMind-Reasoning">Online Demo (Inference Model)</a> |
<a href="https://www.modelscope.cn/studios/gongjy/MiniMind">Online Demo (Standard Model)</a> |
<a href="https://www.bilibili.com/video/BV12dHPeqE72/?share_source=copy_web&vd_source=670c2504f88726f8cf4a21ef6147c0e8">Bilibili <a href="https://www.bilibili.com/video/BV12dHPeqE72/?share_source=copy_web&vd_source=670c2504f88726f8cf4a21ef6147c0e8">Bilibili
Video Link</a> Video Link</a>
<br/> <br/>