fernandoruiz commited on
Commit
ee850cb
·
verified ·
1 Parent(s): 0915c75

Upload README.md with huggingface_hub

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