lefromage commited on
Commit
ca0099a
1 Parent(s): 07ef62e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +51 -0
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ tags:
6
+ - llama-cpp
7
+ - gguf-my-repo
8
+ datasets:
9
+ - cerebras/SlimPajama-627B
10
+ - bigcode/starcoderdata
11
+ - HuggingFaceH4/ultrachat_200k
12
+ - HuggingFaceH4/ultrafeedback_binarized
13
+ widget:
14
+ - example_title: Fibonacci (Python)
15
+ messages:
16
+ - role: system
17
+ content: You are a chatbot who can help code!
18
+ - role: user
19
+ content: Write me a function to calculate the first 10 digits of the fibonacci
20
+ sequence in Python and print it out to the CLI.
21
+ ---
22
+
23
+ # lefromage/TinyLlama-1.1B-Chat-v1.0-Q4_K_M-GGUF
24
+ This model was converted to GGUF format from [`TinyLlama/TinyLlama-1.1B-Chat-v1.0`](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
25
+ Refer to the [original model card](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) for more details on the model.
26
+ ## Use with llama.cpp
27
+
28
+ Install llama.cpp through brew.
29
+
30
+ ```bash
31
+ brew install ggerganov/ggerganov/llama.cpp
32
+ ```
33
+ Invoke the llama.cpp server or the CLI.
34
+
35
+ CLI:
36
+
37
+ ```bash
38
+ llama-cli --hf-repo lefromage/TinyLlama-1.1B-Chat-v1.0-Q4_K_M-GGUF --model tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf -p "The meaning to life and the universe is"
39
+ ```
40
+
41
+ Server:
42
+
43
+ ```bash
44
+ llama-server --hf-repo lefromage/TinyLlama-1.1B-Chat-v1.0-Q4_K_M-GGUF --model tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf -c 2048
45
+ ```
46
+
47
+ Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
48
+
49
+ ```
50
+ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf -n 128
51
+ ```