eyassa commited on
Commit
1c75c78
·
verified ·
1 Parent(s): 9799756

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
+ language:
4
+ - en
5
+ - es
6
+ - fr
7
+ - de
8
+ - it
9
+ - pt
10
+ - pl
11
+ - nl
12
+ - tr
13
+ - ja
14
+ - vi
15
+ - ru
16
+ - id
17
+ - ar
18
+ - cs
19
+ - ro
20
+ - sv
21
+ - el
22
+ - uk
23
+ - zh
24
+ - hu
25
+ - da
26
+ - 'no'
27
+ - hi
28
+ - fi
29
+ - bg
30
+ - ko
31
+ - sk
32
+ - th
33
+ - he
34
+ - ca
35
+ - lt
36
+ - fa
37
+ - ms
38
+ - sl
39
+ - lv
40
+ - mr
41
+ - bn
42
+ - sq
43
+ - cy
44
+ - be
45
+ - ml
46
+ - kn
47
+ - mk
48
+ - ur
49
+ - fy
50
+ - te
51
+ - eu
52
+ - sw
53
+ - so
54
+ - sd
55
+ - uz
56
+ - co
57
+ - hr
58
+ - gu
59
+ - ce
60
+ - eo
61
+ - jv
62
+ - la
63
+ - zu
64
+ - mn
65
+ - si
66
+ - ga
67
+ - ky
68
+ - tg
69
+ - my
70
+ - km
71
+ - mg
72
+ - pa
73
+ - sn
74
+ - ha
75
+ - ht
76
+ - su
77
+ - gd
78
+ - ny
79
+ - ps
80
+ - ku
81
+ - am
82
+ - ig
83
+ - lo
84
+ - mi
85
+ - nn
86
+ - sm
87
+ - yi
88
+ - st
89
+ - tl
90
+ - xh
91
+ - yo
92
+ - af
93
+ - ta
94
+ - tn
95
+ - ug
96
+ - az
97
+ - ba
98
+ - bs
99
+ - dv
100
+ - et
101
+ - gl
102
+ - gn
103
+ - gv
104
+ - hy
105
+ library_name: sentence-transformers
106
+ license: apache-2.0
107
+ pipeline_tag: sentence-similarity
108
+ tags:
109
+ - sentence-transformers
110
+ - sentence-similarity
111
+ - feature-extraction
112
+ - llama-cpp
113
+ - gguf-my-repo
114
+ ---
115
+
116
+ # eyassa/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 eyassa/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 eyassa/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 eyassa/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 eyassa/nomic-embed-text-v2-moe-Q8_0-GGUF --hf-file nomic-embed-text-v2-moe-q8_0.gguf -c 2048
158
+ ```