-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
+++ | ||
title = "Artificial" | ||
summary = "How to get Llama up and running?" | ||
date = 2024-12-18T08:10:34+01:00 | ||
draft = false | ||
tags = ['AI',] | ||
+++ | ||
I've watched a lot about **AI** but only saw random results until I decided to go as low-level as possible. | ||
|
||
For starters grab a copy of [Llama Cpp](https://github.com/ggerganov/llama.cpp.git) with `git clone https://github.com/ggerganov/llama.cpp.git`. | ||
Then compile it (you'll need [CMake](https://cmake.org/)) witb `cd llama.cpp/; cmake -B build; cmake --build build --config Release`. | ||
|
||
Now just get any **GGUF** model from [Huggingface](https://huggingface.co/models?library=gguf), download it and use it with `./build/bin/llama-cli -m your_model.gguf -p "I believe the meaning of life is" -n 128` | ||
|
||
or, if your computer can take it, talk with it using `./build/bin/llama-cli -m your_model.gguf -cnv -n 128`. |