readme : update with CMake and windows example (#748)

* README: Update with CMake and windows example

* README: update with code-review for cmake build
This commit is contained in:
Adithya Balaji 2023-04-05 16:36:12 +02:00 committed by GitHub
parent 88ed5761b8
commit 594cc95fab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,6 +145,13 @@ git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp cd llama.cpp
make make
#For Windows and CMake, use the following command instead:
cd <path_to_llama_folder>
mkdir build
cd build
cmake ..
cmake --build . --config Release
# obtain the original LLaMA model weights and place them in ./models # obtain the original LLaMA model weights and place them in ./models
ls ./models ls ./models
65B 30B 13B 7B tokenizer_checklist.chk tokenizer.model 65B 30B 13B 7B tokenizer_checklist.chk tokenizer.model