ybelkada commited on
Commit
959a11d
·
verified ·
1 Parent(s): e004080

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +87 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - falcon3
6
+ - falcon_mamba
7
+ base_model: tiiuae/Falcon3-Mamba-7B-Base
8
+ ---
9
+
10
+ # Falcon3-Mamba-7B-Base-GGUF
11
+
12
+ Tired of needing massive GPUs just to experiment with the latest Large Language Models? Wish you could run powerful LLMs locally on your laptop or even your phone? This GGUF model makes it possible!
13
+
14
+ Falcon3-Mamba-7B-Base-GGUF is designed for efficient inference on consumer-grade hardware. It leverages the GGUF format for optimal performance, allowing you to experience the power of LLMs without the need for expensive hardware.
15
+
16
+ Whether you're a student, hobbyist, or developer, this model opens up a world of possibilities for exploring natural language processing, text generation, and AI-powered applications right at your fingertips.
17
+
18
+
19
+ ## Getting started
20
+
21
+ ### 1. Download GGUF models from hugging face
22
+ First, download the model from Hugging Face. You can use the `huggingface_hub` library or download it manually:
23
+
24
+ ```bash
25
+ pip install huggingface_hub
26
+ huggingface-cli download {model_name}
27
+ ```
28
+
29
+ This will download the model to your current directory. Make sure to replace {model_name} with the actual username and model name from your Hugging Face repository.
30
+
31
+ ## 2. Install llama.cpp
32
+
33
+ You have several options for installing llama.cpp:
34
+
35
+ **1. Build from source:**
36
+
37
+ This gives you the most flexibility and control. Follow the instructions in the llama.cpp repository to build from source:
38
+
39
+ ```bash
40
+ git clone https://github.com/ggerganov/llama.cpp
41
+ cd llama.cpp
42
+ cmake -B build
43
+ cmake --build build --config Release
44
+ ```
45
+ For more information about how to build llama.cpp from source please refere to llama.cpp documentation on how to build from source: **[llama.cpp build from source](https://github.com/ggerganov/llama.cpp/blob/master/docs/build.md)**.
46
+
47
+ **2. Download pre-built binaries:**
48
+
49
+ If you prefer a quicker setup, you can download pre-built binaries for your operating system. Check the llama.cpp repository for available binaries.
50
+
51
+ **3. Use Docker:**
52
+
53
+ For a more contained environment, you can use the official llama.cpp Docker image. Refer to the llama.cpp documentation for instructions on how to use the Docker image.
54
+
55
+ For detailed instructions and more information, please check the llama.cpp documentation on docker: **[llama.cpp docker](https://github.com/ggerganov/llama.cpp/blob/master/docs/docker.mdg)**.
56
+
57
+
58
+ ### 3. Start playing with your model
59
+ - <details open>
60
+ <summary>Run simple text completion</summary>
61
+
62
+ ```bash
63
+ llama-cli -m {path-to-gguf-model} -p "I believe the meaning of life is" -n 128
64
+ ```
65
+
66
+ </details>
67
+
68
+ - <details>
69
+ <summary>Run in conversation mode</summary>
70
+
71
+ ```bash
72
+ llama-cli -m {path-to-gguf-model} -p "You are a helpful assistant" -cnv -co
73
+ </details>
74
+ ```
75
+
76
+ # Citation
77
+
78
+ If Falcon3 family were helpful to your work, feel free to give us a cite.
79
+
80
+ ```
81
+ @misc{Falcon3,
82
+ title = {The Falcon 3 family of Open Models},
83
+ author = {TII Team},
84
+ month = {December},
85
+ year = {2024}
86
+ }
87
+ ```