Back to Chinese Llama Alpaca

笔记本示例 Notebooks

notebooks/README.md

5.02.1 KB
Original Source

笔记本示例 Notebooks

ceval_example_for_chinese_alpaca.ipynb

利用Chinese Alpaca模型解码C-Eval数据集的示例。

Example of decoding C-Eval dataset with Chinese Alpaca.

建议查看Colab上的最新版 / Check latest notebook:<a href="https://colab.research.google.com/drive/12YewimRT7JuqJGOejxN7YG8jq2de4DnF?usp=sharing" target="_parent"></a>

convert_and_quantize_chinese_llama_and_alpaca.ipynb

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/1FnFkyKhrnS7s-2lDDeous-AutdI_SkAd?usp=sharing" target="_parent"></a>

pretrain_chinese_llama_lora.ipynb

Colab上的预训练脚本运行示例(仅供流程参考)。

Example of running pre-training script on Colab.

建议查看最新Wiki教程 / Check latest wiki:中文教程 / English Tutorial

finetune_chinese_alpaca_lora.ipynb

Colab上的指令精调脚本运行示例(仅供流程参考)。

Example of running instruction fine-tuning script on Colab.

建议查看最新Wiki教程 / Check latest wiki:中文教程 / English Tutorial

gradio_web_demo.ipynb

Colab上的Gradio演示示例。

Example of running the Gradio demo on Colab.

在Colab中打开 / Open the notebook in Colab:

legacy/

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

Old notebook. Reference only, will not be updated.