Thanabordee commited on
Commit
5b64c5c
1 Parent(s): fc0a1df

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +43 -0
README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - th
4
+ - en
5
+ license: apache-2.0
6
+ library_name: transformers
7
+ tags:
8
+ - openthaigpt
9
+ - llama
10
+ - llama-cpp
11
+ - gguf-my-repo
12
+ pipeline_tag: text-generation
13
+ ---
14
+
15
+ # Thanabordee/openthaigpt-1.0.0-7b-chat-Q5_K_M-GGUF
16
+ This model was converted to GGUF format from [`openthaigpt/openthaigpt-1.0.0-7b-chat`](https://huggingface.co/openthaigpt/openthaigpt-1.0.0-7b-chat) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
17
+ Refer to the [original model card](https://huggingface.co/openthaigpt/openthaigpt-1.0.0-7b-chat) for more details on the model.
18
+ ## Use with llama.cpp
19
+
20
+ Install llama.cpp through brew.
21
+
22
+ ```bash
23
+ brew install ggerganov/ggerganov/llama.cpp
24
+ ```
25
+ Invoke the llama.cpp server or the CLI.
26
+
27
+ CLI:
28
+
29
+ ```bash
30
+ llama-cli --hf-repo Thanabordee/openthaigpt-1.0.0-7b-chat-Q5_K_M-GGUF --model openthaigpt-1.0.0-7b-chat.Q5_K_M.gguf -p "The meaning to life and the universe is"
31
+ ```
32
+
33
+ Server:
34
+
35
+ ```bash
36
+ llama-server --hf-repo Thanabordee/openthaigpt-1.0.0-7b-chat-Q5_K_M-GGUF --model openthaigpt-1.0.0-7b-chat.Q5_K_M.gguf -c 2048
37
+ ```
38
+
39
+ 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.
40
+
41
+ ```
42
+ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m openthaigpt-1.0.0-7b-chat.Q5_K_M.gguf -n 128
43
+ ```