This repository has been archived by the owner on Feb 11, 2024. It is now read-only.
Releases: Yukaryavka/rinna_gpt-neox_ggml-lora
Releases · Yukaryavka/rinna_gpt-neox_ggml-lora
v1.0.0
v0.1.0
merge_gptneox_lora.py - 初版 v0.1.0 プレリリース
リファレンス
※マージスクリプトを公開しましたが、マージモデルの検証進行中です。正しくマージできているかどうかや既知の問題といった全容をまだ把握出来ていません。
問題報告やディスカッションを行いたい方は"issues"もしくは"discussions"をご利用ください。
- コマンドライン例
python3 merge_gptneox_lora.py base_model_name lora_model_name output_dir
-
base_model_name
LoRAをマージするベースモデル名・ディレクトリパス・huggingFaceリポジトリ名を定義する。 / 例: rinna/japanese-gpt-neox-3.6b-instruction-sft -
lora_model_name
ベースモデルにマージするLoRAモデルのディレクトリパスを定義する。(基本的には "adapter_model.bin" と "adapter_config.json" が格納されているディレクトリへのパスを設定する) -
output_dir
ベースモデルとLoRAモデルがマージされたpytorch_model.binとconfig.json郡を格納するディレクトリを定義する。