このページでは,Alpaca.cpp のインストールと動作確認を行う. 公式ページの手順に従う. 利用条件は,利用者で確認すること.
【目次】
大規模言語モデルの一種. Stanford Alpaca の派生である.
【関連する外部ページ】
【サイト内の関連ページ】
Windows での Git のインストール: 別ページ »で説明
【関連する外部ページ】
Git の公式ページ: https://git-scm.com/
【サイト内の関連ページ】
Windows での cmake のインストール: 別ページ »で説明
【関連する外部ページ】
cmake の公式ダウンロードページ: https://cmake.org/download/
Windows での Visual Studio Community 2022 のインストール: 別ページ »で説明
Visual Studio Community 2022 に, Build Tools for Visual Studio 2022の機能が含まれている.
Windows での Build Tools for Visual Studio 2022 (ビルドツール for Visual Studio 2022) のインストール: 別ページ »で説明
【関連する外部ページ】
コマンドプロンプトを管理者として実行: 別ページ »で説明
次のコマンドを実行.
cd %HOMEPATH% rmdir /s /q alpaca.cpp git clone --recursive https://github.com/antimatter15/alpaca.cpp
次のコマンドを実行.
cd %HOMEPATH% cd alpaca.cpp rmdir /s /q build mkdir build cd build cmake .. cmake --build . --config RELEASE
エラーメッセージが出ていないこと.
cd %HOMEPATH% cd alpaca.cpp cd build cd release curl -o ggml-alpaca-7b-q4.bin -C - https://gateway.estuary.tech/gw/ipfs/QmQ1bf2BTnYxq73MFJWu1B7bQ2UD6qG7D7YDCxhTndVkPC
次のコマンドを実行.
英語での対話ができるようである.
cd %HOMEPATH% cd alpaca.cpp cd build cd release .\chat.exe