├── .gitignore ├── LICENSE ├── README.md ├── alpaca_combined_hf └── 合并大模型位置.txt ├── data └── 样例.json ├── finetune.py ├── finetune.sh ├── inference_hf.py ├── inference_hf.sh ├── metrics.py ├── scripts ├── chinese_sp.model ├── merge_llama_with_chinese_lora_to_hf.py └── merge_tokenizers.py ├── test.py └── utils ├── README.md ├── __init__.py ├── callbacks.py └── prompter.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/README.md -------------------------------------------------------------------------------- /alpaca_combined_hf/合并大模型位置.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/样例.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/data/样例.json -------------------------------------------------------------------------------- /finetune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/finetune.py -------------------------------------------------------------------------------- /finetune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/finetune.sh -------------------------------------------------------------------------------- /inference_hf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/inference_hf.py -------------------------------------------------------------------------------- /inference_hf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/inference_hf.sh -------------------------------------------------------------------------------- /metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/metrics.py -------------------------------------------------------------------------------- /scripts/chinese_sp.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/scripts/chinese_sp.model -------------------------------------------------------------------------------- /scripts/merge_llama_with_chinese_lora_to_hf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/scripts/merge_llama_with_chinese_lora_to_hf.py -------------------------------------------------------------------------------- /scripts/merge_tokenizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/scripts/merge_tokenizers.py -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/test.py -------------------------------------------------------------------------------- /utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/utils/README.md -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/callbacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/utils/callbacks.py -------------------------------------------------------------------------------- /utils/prompter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhangnn520/chinese_llama_alpaca_lora/HEAD/utils/prompter.py --------------------------------------------------------------------------------