notcaleb commited on
Commit
f89f60b
·
verified ·
1 Parent(s): a8716a1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +89 -0
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ base_model: tencent/Hunyuan-MT-7B
45
+ ---
46
+
47
+ # notcaleb/Hunyuan-MT-7B-Q4_K_M-GGUF
48
+ This model was converted to GGUF format from [`tencent/Hunyuan-MT-7B`](https://huggingface.co/tencent/Hunyuan-MT-7B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
49
+ Refer to the [original model card](https://huggingface.co/tencent/Hunyuan-MT-7B) for more details on the model.
50
+
51
+ ## Use with llama.cpp
52
+ Install llama.cpp through brew (works on Mac and Linux)
53
+
54
+ ```bash
55
+ brew install llama.cpp
56
+
57
+ ```
58
+ Invoke the llama.cpp server or the CLI.
59
+
60
+ ### CLI:
61
+ ```bash
62
+ llama-cli --hf-repo notcaleb/Hunyuan-MT-7B-Q4_K_M-GGUF --hf-file hunyuan-mt-7b-q4_k_m.gguf -p "The meaning to life and the universe is"
63
+ ```
64
+
65
+ ### Server:
66
+ ```bash
67
+ llama-server --hf-repo notcaleb/Hunyuan-MT-7B-Q4_K_M-GGUF --hf-file hunyuan-mt-7b-q4_k_m.gguf -c 2048
68
+ ```
69
+
70
+ 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.
71
+
72
+ Step 1: Clone llama.cpp from GitHub.
73
+ ```
74
+ git clone https://github.com/ggerganov/llama.cpp
75
+ ```
76
+
77
+ 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).
78
+ ```
79
+ cd llama.cpp && LLAMA_CURL=1 make
80
+ ```
81
+
82
+ Step 3: Run inference through the main binary.
83
+ ```
84
+ ./llama-cli --hf-repo notcaleb/Hunyuan-MT-7B-Q4_K_M-GGUF --hf-file hunyuan-mt-7b-q4_k_m.gguf -p "The meaning to life and the universe is"
85
+ ```
86
+ or
87
+ ```
88
+ ./llama-server --hf-repo notcaleb/Hunyuan-MT-7B-Q4_K_M-GGUF --hf-file hunyuan-mt-7b-q4_k_m.gguf -c 2048
89
+ ```