benvezzani commited on
Commit
ac470e6
·
verified ·
1 Parent(s): b4c18ee

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +158 -0
README.md ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: nomic-ai/nomic-embed-text-v2-moe
3
+ library_name: sentence-transformers
4
+ pipeline_tag: sentence-similarity
5
+ tags:
6
+ - sentence-transformers
7
+ - sentence-similarity
8
+ - feature-extraction
9
+ - llama-cpp
10
+ - gguf-my-repo
11
+ license: apache-2.0
12
+ language:
13
+ - en
14
+ - es
15
+ - fr
16
+ - de
17
+ - it
18
+ - pt
19
+ - pl
20
+ - nl
21
+ - tr
22
+ - ja
23
+ - vi
24
+ - ru
25
+ - id
26
+ - ar
27
+ - cs
28
+ - ro
29
+ - sv
30
+ - el
31
+ - uk
32
+ - zh
33
+ - hu
34
+ - da
35
+ - 'no'
36
+ - hi
37
+ - fi
38
+ - bg
39
+ - ko
40
+ - sk
41
+ - th
42
+ - he
43
+ - ca
44
+ - lt
45
+ - fa
46
+ - ms
47
+ - sl
48
+ - lv
49
+ - mr
50
+ - bn
51
+ - sq
52
+ - cy
53
+ - be
54
+ - ml
55
+ - kn
56
+ - mk
57
+ - ur
58
+ - fy
59
+ - te
60
+ - eu
61
+ - sw
62
+ - so
63
+ - sd
64
+ - uz
65
+ - co
66
+ - hr
67
+ - gu
68
+ - ce
69
+ - eo
70
+ - jv
71
+ - la
72
+ - zu
73
+ - mn
74
+ - si
75
+ - ga
76
+ - ky
77
+ - tg
78
+ - my
79
+ - km
80
+ - mg
81
+ - pa
82
+ - sn
83
+ - ha
84
+ - ht
85
+ - su
86
+ - gd
87
+ - ny
88
+ - ps
89
+ - ku
90
+ - am
91
+ - ig
92
+ - lo
93
+ - mi
94
+ - nn
95
+ - sm
96
+ - yi
97
+ - st
98
+ - tl
99
+ - xh
100
+ - yo
101
+ - af
102
+ - ta
103
+ - tn
104
+ - ug
105
+ - az
106
+ - ba
107
+ - bs
108
+ - dv
109
+ - et
110
+ - gl
111
+ - gn
112
+ - gv
113
+ - hy
114
+ ---
115
+
116
+ # benvezzani/nomic-embed-text-v2-moe-Q8_0-GGUF
117
+ This model was converted to GGUF format from [`nomic-ai/nomic-embed-text-v2-moe`](https://huggingface.co/nomic-ai/nomic-embed-text-v2-moe) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
118
+ Refer to the [original model card](https://huggingface.co/nomic-ai/nomic-embed-text-v2-moe) for more details on the model.
119
+
120
+ ## Use with llama.cpp
121
+ Install llama.cpp through brew (works on Mac and Linux)
122
+
123
+ ```bash
124
+ brew install llama.cpp
125
+
126
+ ```
127
+ Invoke the llama.cpp server or the CLI.
128
+
129
+ ### CLI:
130
+ ```bash
131
+ llama-cli --hf-repo benvezzani/nomic-embed-text-v2-moe-Q8_0-GGUF --hf-file nomic-embed-text-v2-moe-q8_0.gguf -p "The meaning to life and the universe is"
132
+ ```
133
+
134
+ ### Server:
135
+ ```bash
136
+ llama-server --hf-repo benvezzani/nomic-embed-text-v2-moe-Q8_0-GGUF --hf-file nomic-embed-text-v2-moe-q8_0.gguf -c 2048
137
+ ```
138
+
139
+ 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.
140
+
141
+ Step 1: Clone llama.cpp from GitHub.
142
+ ```
143
+ git clone https://github.com/ggerganov/llama.cpp
144
+ ```
145
+
146
+ 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).
147
+ ```
148
+ cd llama.cpp && LLAMA_CURL=1 make
149
+ ```
150
+
151
+ Step 3: Run inference through the main binary.
152
+ ```
153
+ ./llama-cli --hf-repo benvezzani/nomic-embed-text-v2-moe-Q8_0-GGUF --hf-file nomic-embed-text-v2-moe-q8_0.gguf -p "The meaning to life and the universe is"
154
+ ```
155
+ or
156
+ ```
157
+ ./llama-server --hf-repo benvezzani/nomic-embed-text-v2-moe-Q8_0-GGUF --hf-file nomic-embed-text-v2-moe-q8_0.gguf -c 2048
158
+ ```