Skip to content

Commit

Permalink
Merge pull request #608 from ymcui/low_mem_merge
Browse files Browse the repository at this point in the history
Add memory-efficient merging script
  • Loading branch information
ymcui authored Jun 16, 2023
2 parents acc848d + 25dba18 commit 0c7c092
Show file tree
Hide file tree
Showing 6 changed files with 2,921 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
.DS_Store
*/.DS_Store
*.ipynb
*/*.ipynb
22 changes: 10 additions & 12 deletions notebooks/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
# 笔记本示例 Notebooks

### convert_and_quantize_chinese_llama.ipynb
### convert_and_quantize_chinese_llama_and_alpaca.ipynb

Colab上的转换和量化中文LLaMA/Alpaca的运行示例(仅供流程参考)。
Colab上的转换和量化中文LLaMA/Alpaca(含Plus版本)的运行示例(仅供流程参考)。

Example of conversion and quantization for Chinese LLaMA/Alpaca.

建议查看Colab上的最新版 / Check latest notebook:<a href="https://colab.research.google.com/drive/1Eak6azD3MLeb-YsfbP8UZC8wrL1ddIMI?usp=sharing" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>

### convert_and_quantize_chinese_alpaca_plus.ipynb

Colab上的转换和量化中文Alpaca-Plus的运行示例(仅供流程参考)。

Example of conversion and quantization for Chinese Alpaca-Plus.

建议查看Colab上的最新版 / Check latest notebook:<a href="https://colab.research.google.com/drive/1axIgPoThgm-v3rglmRV9QnhVsJKHsHBj?usp=sharing" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>
建议查看Colab上的最新版 / Check latest notebook:<a href="https://colab.research.google.com/drive/1FnFkyKhrnS7s-2lDDeous-AutdI_SkAd?usp=sharing" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>

### pretrain_chinese_llama_lora.ipynb

Expand All @@ -38,4 +30,10 @@ Colab上的Gradio演示示例。

Example of running the Gradio demo on Colab.

在Colab中打开 / Open the notebook in Colab: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ymcui/Chinese-LLaMA-Alpaca/blob/main/notebooks/gradio_web_demo.ipynb)
在Colab中打开 / Open the notebook in Colab: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ymcui/Chinese-LLaMA-Alpaca/blob/main/notebooks/gradio_web_demo.ipynb)

### legacy/

旧版notebook,供参考,但不会再更新。

Old notebook. Reference only, will not be updated.
Loading

0 comments on commit 0c7c092

Please sign in to comment.