sizrox commited on
Commit
821ec66
1 Parent(s): c204f40

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +113 -0
README.md ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - multilingual
4
+ - ar
5
+ - bg
6
+ - ca
7
+ - cs
8
+ - da
9
+ - de
10
+ - el
11
+ - en
12
+ - es
13
+ - et
14
+ - fa
15
+ - fi
16
+ - fr
17
+ - gl
18
+ - gu
19
+ - he
20
+ - hi
21
+ - hr
22
+ - hu
23
+ - hy
24
+ - id
25
+ - it
26
+ - ja
27
+ - ka
28
+ - ko
29
+ - ku
30
+ - lt
31
+ - lv
32
+ - mk
33
+ - mn
34
+ - mr
35
+ - ms
36
+ - my
37
+ - nb
38
+ - nl
39
+ - pl
40
+ - pt
41
+ - ro
42
+ - ru
43
+ - sk
44
+ - sl
45
+ - sq
46
+ - sr
47
+ - sv
48
+ - th
49
+ - tr
50
+ - uk
51
+ - ur
52
+ - vi
53
+ license: apache-2.0
54
+ library_name: sentence-transformers
55
+ tags:
56
+ - sentence-transformers
57
+ - feature-extraction
58
+ - sentence-similarity
59
+ - transformers
60
+ - llama-cpp
61
+ - gguf-my-repo
62
+ language_bcp47:
63
+ - fr-ca
64
+ - pt-br
65
+ - zh-cn
66
+ - zh-tw
67
+ pipeline_tag: sentence-similarity
68
+ base_model: sentence-transformers/paraphrase-multilingual-mpnet-base-v2
69
+ ---
70
+
71
+ # sizrox/paraphrase-multilingual-mpnet-base-v2-Q8_0-GGUF
72
+ This model was converted to GGUF format from [`sentence-transformers/paraphrase-multilingual-mpnet-base-v2`](https://huggingface.co/sentence-transformers/paraphrase-multilingual-mpnet-base-v2) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
73
+ Refer to the [original model card](https://huggingface.co/sentence-transformers/paraphrase-multilingual-mpnet-base-v2) for more details on the model.
74
+
75
+ ## Use with llama.cpp
76
+ Install llama.cpp through brew (works on Mac and Linux)
77
+
78
+ ```bash
79
+ brew install llama.cpp
80
+
81
+ ```
82
+ Invoke the llama.cpp server or the CLI.
83
+
84
+ ### CLI:
85
+ ```bash
86
+ llama-cli --hf-repo sizrox/paraphrase-multilingual-mpnet-base-v2-Q8_0-GGUF --hf-file paraphrase-multilingual-mpnet-base-v2-q8_0.gguf -p "The meaning to life and the universe is"
87
+ ```
88
+
89
+ ### Server:
90
+ ```bash
91
+ llama-server --hf-repo sizrox/paraphrase-multilingual-mpnet-base-v2-Q8_0-GGUF --hf-file paraphrase-multilingual-mpnet-base-v2-q8_0.gguf -c 2048
92
+ ```
93
+
94
+ 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.
95
+
96
+ Step 1: Clone llama.cpp from GitHub.
97
+ ```
98
+ git clone https://github.com/ggerganov/llama.cpp
99
+ ```
100
+
101
+ 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).
102
+ ```
103
+ cd llama.cpp && LLAMA_CURL=1 make
104
+ ```
105
+
106
+ Step 3: Run inference through the main binary.
107
+ ```
108
+ ./llama-cli --hf-repo sizrox/paraphrase-multilingual-mpnet-base-v2-Q8_0-GGUF --hf-file paraphrase-multilingual-mpnet-base-v2-q8_0.gguf -p "The meaning to life and the universe is"
109
+ ```
110
+ or
111
+ ```
112
+ ./llama-server --hf-repo sizrox/paraphrase-multilingual-mpnet-base-v2-Q8_0-GGUF --hf-file paraphrase-multilingual-mpnet-base-v2-q8_0.gguf -c 2048
113
+ ```