Views
No views yet

[!NOTE] 如果沒有使用到模型訓練功能或著非 NVIDIA 顯卡用戶可只安裝前三項即可。
[!TIP] 請按照當前 PyTorch 支援安裝對應的 CUDA 版本。
[!IMPORTANT] 此為必要步驟。
1git clone https://github.com/AmanoShizukikun/Nagato-Sakura-Language-Model.git
2cd Nagato-Sakura-Language-Model
3pip install -r requirements.txtpython train.pypython inference.py --mode interactive --model_path 你的模型資料夾路徑
python inference.py --mode web --model_path 你的模型資料夾路徑python tools/web_demo_flask.py --model_path 你的模型資料夾路徑