Lkdosth commited on
Commit
bf92e71
·
verified ·
1 Parent(s): cc08165

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +90 -0
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - translation
5
+ - llama-cpp
6
+ - gguf-my-repo
7
+ language:
8
+ - zh
9
+ - en
10
+ - fr
11
+ - pt
12
+ - es
13
+ - ja
14
+ - tr
15
+ - ru
16
+ - ar
17
+ - ko
18
+ - th
19
+ - it
20
+ - de
21
+ - vi
22
+ - ms
23
+ - id
24
+ - tl
25
+ - hi
26
+ - pl
27
+ - cs
28
+ - nl
29
+ - km
30
+ - my
31
+ - fa
32
+ - gu
33
+ - ur
34
+ - te
35
+ - mr
36
+ - he
37
+ - bn
38
+ - ta
39
+ - uk
40
+ - bo
41
+ - kk
42
+ - mn
43
+ - ug
44
+ license: apache-2.0
45
+ base_model: tencent/Hy-MT2-7B
46
+ ---
47
+
48
+ # Lkdosth/Hy-MT2-7B-Q4_K_M-GGUF
49
+ This model was converted to GGUF format from [`tencent/Hy-MT2-7B`](https://huggingface.co/tencent/Hy-MT2-7B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
50
+ Refer to the [original model card](https://huggingface.co/tencent/Hy-MT2-7B) for more details on the model.
51
+
52
+ ## Use with llama.cpp
53
+ Install llama.cpp through brew (works on Mac and Linux)
54
+
55
+ ```bash
56
+ brew install llama.cpp
57
+
58
+ ```
59
+ Invoke the llama.cpp server or the CLI.
60
+
61
+ ### CLI:
62
+ ```bash
63
+ llama-cli --hf-repo Lkdosth/Hy-MT2-7B-Q4_K_M-GGUF --hf-file hy-mt2-7b-q4_k_m.gguf -p "The meaning to life and the universe is"
64
+ ```
65
+
66
+ ### Server:
67
+ ```bash
68
+ llama-server --hf-repo Lkdosth/Hy-MT2-7B-Q4_K_M-GGUF --hf-file hy-mt2-7b-q4_k_m.gguf -c 2048
69
+ ```
70
+
71
+ 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.
72
+
73
+ Step 1: Clone llama.cpp from GitHub.
74
+ ```
75
+ git clone https://github.com/ggerganov/llama.cpp
76
+ ```
77
+
78
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
79
+ ```
80
+ cd llama.cpp && LLAMA_CURL=1 make
81
+ ```
82
+
83
+ Step 3: Run inference through the main binary.
84
+ ```
85
+ ./llama-cli --hf-repo Lkdosth/Hy-MT2-7B-Q4_K_M-GGUF --hf-file hy-mt2-7b-q4_k_m.gguf -p "The meaning to life and the universe is"
86
+ ```
87
+ or
88
+ ```
89
+ ./llama-server --hf-repo Lkdosth/Hy-MT2-7B-Q4_K_M-GGUF --hf-file hy-mt2-7b-q4_k_m.gguf -c 2048
90
+ ```