jayakody2000lk commited on
Commit
3166078
·
verified ·
1 Parent(s): e65811c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +79 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: DISLab/SummLlama3.2-3B
4
+ pipeline_tag: summarization
5
+ widget:
6
+ - text: '<|begin_of_text|><|start_header_id|>user<|end_header_id|>
7
+
8
+ Below is an instruction that describes a task. Write a response that appropriately
9
+ completes the request.
10
+
11
+
12
+ ### Instruction:
13
+
14
+ Please summarize the input documnet.
15
+
16
+
17
+ ### Input:
18
+
19
+ The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey
20
+ building, and the tallest structure in Paris. Its base is square, measuring 125
21
+ metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed
22
+ the Washington Monument to become the tallest man-made structure in the world,
23
+ a title it held for 41 years until the Chrysler Building in New York City was
24
+ finished in 1930. It was the first structure to reach a height of 300 metres.
25
+ Due to the addition of a broadcasting aerial at the top of the tower in 1957,
26
+ it is now taller than the Chrysler Building by 5.2 metres (17 ft). Excluding transmitters,
27
+ the Eiffel Tower is the second tallest free-standing structure in France after
28
+ the Millau Viaduct.
29
+
30
+
31
+ ### Response:<|eot_id|>'
32
+ tags:
33
+ - llama-cpp
34
+ - gguf-my-repo
35
+ ---
36
+
37
+ # jayakody2000lk/SummLlama3.2-3B-Q5_K_M-GGUF
38
+ This model was converted to GGUF format from [`DISLab/SummLlama3.2-3B`](https://huggingface.co/DISLab/SummLlama3.2-3B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
39
+ Refer to the [original model card](https://huggingface.co/DISLab/SummLlama3.2-3B) for more details on the model.
40
+
41
+ ## Use with llama.cpp
42
+ Install llama.cpp through brew (works on Mac and Linux)
43
+
44
+ ```bash
45
+ brew install llama.cpp
46
+
47
+ ```
48
+ Invoke the llama.cpp server or the CLI.
49
+
50
+ ### CLI:
51
+ ```bash
52
+ llama-cli --hf-repo jayakody2000lk/SummLlama3.2-3B-Q5_K_M-GGUF --hf-file summllama3.2-3b-q5_k_m.gguf -p "The meaning to life and the universe is"
53
+ ```
54
+
55
+ ### Server:
56
+ ```bash
57
+ llama-server --hf-repo jayakody2000lk/SummLlama3.2-3B-Q5_K_M-GGUF --hf-file summllama3.2-3b-q5_k_m.gguf -c 2048
58
+ ```
59
+
60
+ 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.
61
+
62
+ Step 1: Clone llama.cpp from GitHub.
63
+ ```
64
+ git clone https://github.com/ggerganov/llama.cpp
65
+ ```
66
+
67
+ 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).
68
+ ```
69
+ cd llama.cpp && LLAMA_CURL=1 make
70
+ ```
71
+
72
+ Step 3: Run inference through the main binary.
73
+ ```
74
+ ./llama-cli --hf-repo jayakody2000lk/SummLlama3.2-3B-Q5_K_M-GGUF --hf-file summllama3.2-3b-q5_k_m.gguf -p "The meaning to life and the universe is"
75
+ ```
76
+ or
77
+ ```
78
+ ./llama-server --hf-repo jayakody2000lk/SummLlama3.2-3B-Q5_K_M-GGUF --hf-file summllama3.2-3b-q5_k_m.gguf -c 2048
79
+ ```