elsatch commited on
Commit
18200be
1 Parent(s): 74b74c3

Upload README.md with huggingface_hub

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