Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- ru
|
4 |
+
library_name: sentence-transformers
|
5 |
+
tags:
|
6 |
+
- sentence-transformers
|
7 |
+
- sentence-similarity
|
8 |
+
- feature-extraction
|
9 |
+
- llama-cpp
|
10 |
+
- gguf-my-repo
|
11 |
+
widget: []
|
12 |
+
pipeline_tag: sentence-similarity
|
13 |
+
license: apache-2.0
|
14 |
+
datasets:
|
15 |
+
- deepvk/ru-HNP
|
16 |
+
- deepvk/ru-WANLI
|
17 |
+
- Shitao/bge-m3-data
|
18 |
+
- RussianNLP/russian_super_glue
|
19 |
+
- reciTAL/mlsum
|
20 |
+
- Milana/russian_keywords
|
21 |
+
- IlyaGusev/gazeta
|
22 |
+
- d0rj/gsm8k-ru
|
23 |
+
- bragovo/dsum_ru
|
24 |
+
- CarlBrendt/Summ_Dialog_News
|
25 |
+
base_model: deepvk/USER-bge-m3
|
26 |
+
---
|
27 |
+
|
28 |
+
# alela32/USER-bge-m3-Q8_0-GGUF
|
29 |
+
This model was converted to GGUF format from [`deepvk/USER-bge-m3`](https://huggingface.co/deepvk/USER-bge-m3) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
30 |
+
Refer to the [original model card](https://huggingface.co/deepvk/USER-bge-m3) for more details on the model.
|
31 |
+
|
32 |
+
## Use with llama.cpp
|
33 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
34 |
+
|
35 |
+
```bash
|
36 |
+
brew install llama.cpp
|
37 |
+
|
38 |
+
```
|
39 |
+
Invoke the llama.cpp server or the CLI.
|
40 |
+
|
41 |
+
### CLI:
|
42 |
+
```bash
|
43 |
+
llama-cli --hf-repo alela32/USER-bge-m3-Q8_0-GGUF --hf-file user-bge-m3-q8_0.gguf -p "The meaning to life and the universe is"
|
44 |
+
```
|
45 |
+
|
46 |
+
### Server:
|
47 |
+
```bash
|
48 |
+
llama-server --hf-repo alela32/USER-bge-m3-Q8_0-GGUF --hf-file user-bge-m3-q8_0.gguf -c 2048
|
49 |
+
```
|
50 |
+
|
51 |
+
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.
|
52 |
+
|
53 |
+
Step 1: Clone llama.cpp from GitHub.
|
54 |
+
```
|
55 |
+
git clone https://github.com/ggerganov/llama.cpp
|
56 |
+
```
|
57 |
+
|
58 |
+
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).
|
59 |
+
```
|
60 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
61 |
+
```
|
62 |
+
|
63 |
+
Step 3: Run inference through the main binary.
|
64 |
+
```
|
65 |
+
./llama-cli --hf-repo alela32/USER-bge-m3-Q8_0-GGUF --hf-file user-bge-m3-q8_0.gguf -p "The meaning to life and the universe is"
|
66 |
+
```
|
67 |
+
or
|
68 |
+
```
|
69 |
+
./llama-server --hf-repo alela32/USER-bge-m3-Q8_0-GGUF --hf-file user-bge-m3-q8_0.gguf -c 2048
|
70 |
+
```
|