NikolayKozloff commited on
Commit
4fa6934
·
verified ·
1 Parent(s): a2d8728

Upload README.md with huggingface_hub

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