NikolayKozloff commited on
Commit
483bc2e
·
verified ·
1 Parent(s): 2558ea2

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: kyutai/helium-1-2b
3
+ language:
4
+ - bg
5
+ - cs
6
+ - da
7
+ - de
8
+ - el
9
+ - en
10
+ - es
11
+ - et
12
+ - fi
13
+ - fr
14
+ - ga
15
+ - hr
16
+ - hu
17
+ - it
18
+ - lt
19
+ - lv
20
+ - mt
21
+ - nl
22
+ - pl
23
+ - pt
24
+ - ro
25
+ - sk
26
+ - sl
27
+ - sv
28
+ library_name: transformers
29
+ license: cc-by-sa-4.0
30
+ pipeline_tag: text-generation
31
+ tags:
32
+ - llama-cpp
33
+ - gguf-my-repo
34
+ ---
35
+
36
+ # NikolayKozloff/helium-1-2b-Q8_0-GGUF
37
+ This model was converted to GGUF format from [`kyutai/helium-1-2b`](https://huggingface.co/kyutai/helium-1-2b) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
38
+ Refer to the [original model card](https://huggingface.co/kyutai/helium-1-2b) for more details on the model.
39
+
40
+ ## Use with llama.cpp
41
+ Install llama.cpp through brew (works on Mac and Linux)
42
+
43
+ ```bash
44
+ brew install llama.cpp
45
+
46
+ ```
47
+ Invoke the llama.cpp server or the CLI.
48
+
49
+ ### CLI:
50
+ ```bash
51
+ llama-cli --hf-repo NikolayKozloff/helium-1-2b-Q8_0-GGUF --hf-file helium-1-2b-q8_0.gguf -p "The meaning to life and the universe is"
52
+ ```
53
+
54
+ ### Server:
55
+ ```bash
56
+ llama-server --hf-repo NikolayKozloff/helium-1-2b-Q8_0-GGUF --hf-file helium-1-2b-q8_0.gguf -c 2048
57
+ ```
58
+
59
+ 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.
60
+
61
+ Step 1: Clone llama.cpp from GitHub.
62
+ ```
63
+ git clone https://github.com/ggerganov/llama.cpp
64
+ ```
65
+
66
+ 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).
67
+ ```
68
+ cd llama.cpp && LLAMA_CURL=1 make
69
+ ```
70
+
71
+ Step 3: Run inference through the main binary.
72
+ ```
73
+ ./llama-cli --hf-repo NikolayKozloff/helium-1-2b-Q8_0-GGUF --hf-file helium-1-2b-q8_0.gguf -p "The meaning to life and the universe is"
74
+ ```
75
+ or
76
+ ```
77
+ ./llama-server --hf-repo NikolayKozloff/helium-1-2b-Q8_0-GGUF --hf-file helium-1-2b-q8_0.gguf -c 2048
78
+ ```