AlessandroBaragona commited on
Commit
f7a1ed2
1 Parent(s): 500bed3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +149 -0
README.md ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - it
5
+ library_name: transformers
6
+ base_model: DeepMount00/Llama-3.1-8b-ITA
7
+ tags:
8
+ - llama-cpp
9
+ - gguf-my-repo
10
+ model-index:
11
+ - name: Llama-3.1-8b-ITA
12
+ results:
13
+ - task:
14
+ type: text-generation
15
+ name: Text Generation
16
+ dataset:
17
+ name: IFEval (0-Shot)
18
+ type: HuggingFaceH4/ifeval
19
+ args:
20
+ num_few_shot: 0
21
+ metrics:
22
+ - type: inst_level_strict_acc and prompt_level_strict_acc
23
+ value: 79.17
24
+ name: strict accuracy
25
+ source:
26
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=DeepMount00/Llama-3.1-8b-ITA
27
+ name: Open LLM Leaderboard
28
+ - task:
29
+ type: text-generation
30
+ name: Text Generation
31
+ dataset:
32
+ name: BBH (3-Shot)
33
+ type: BBH
34
+ args:
35
+ num_few_shot: 3
36
+ metrics:
37
+ - type: acc_norm
38
+ value: 30.93
39
+ name: normalized accuracy
40
+ source:
41
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=DeepMount00/Llama-3.1-8b-ITA
42
+ name: Open LLM Leaderboard
43
+ - task:
44
+ type: text-generation
45
+ name: Text Generation
46
+ dataset:
47
+ name: MATH Lvl 5 (4-Shot)
48
+ type: hendrycks/competition_math
49
+ args:
50
+ num_few_shot: 4
51
+ metrics:
52
+ - type: exact_match
53
+ value: 10.88
54
+ name: exact match
55
+ source:
56
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=DeepMount00/Llama-3.1-8b-ITA
57
+ name: Open LLM Leaderboard
58
+ - task:
59
+ type: text-generation
60
+ name: Text Generation
61
+ dataset:
62
+ name: GPQA (0-shot)
63
+ type: Idavidrein/gpqa
64
+ args:
65
+ num_few_shot: 0
66
+ metrics:
67
+ - type: acc_norm
68
+ value: 5.03
69
+ name: acc_norm
70
+ source:
71
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=DeepMount00/Llama-3.1-8b-ITA
72
+ name: Open LLM Leaderboard
73
+ - task:
74
+ type: text-generation
75
+ name: Text Generation
76
+ dataset:
77
+ name: MuSR (0-shot)
78
+ type: TAUR-Lab/MuSR
79
+ args:
80
+ num_few_shot: 0
81
+ metrics:
82
+ - type: acc_norm
83
+ value: 11.4
84
+ name: acc_norm
85
+ source:
86
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=DeepMount00/Llama-3.1-8b-ITA
87
+ name: Open LLM Leaderboard
88
+ - task:
89
+ type: text-generation
90
+ name: Text Generation
91
+ dataset:
92
+ name: MMLU-PRO (5-shot)
93
+ type: TIGER-Lab/MMLU-Pro
94
+ config: main
95
+ split: test
96
+ args:
97
+ num_few_shot: 5
98
+ metrics:
99
+ - type: acc
100
+ value: 31.96
101
+ name: accuracy
102
+ source:
103
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=DeepMount00/Llama-3.1-8b-ITA
104
+ name: Open LLM Leaderboard
105
+ ---
106
+
107
+ # AlessandroBaragona/Llama-3.1-8b-ITA-Q5_K_M-GGUF
108
+ This model was converted to GGUF format from [`DeepMount00/Llama-3.1-8b-ITA`](https://huggingface.co/DeepMount00/Llama-3.1-8b-ITA) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
109
+ Refer to the [original model card](https://huggingface.co/DeepMount00/Llama-3.1-8b-ITA) for more details on the model.
110
+
111
+ ## Use with llama.cpp
112
+ Install llama.cpp through brew (works on Mac and Linux)
113
+
114
+ ```bash
115
+ brew install llama.cpp
116
+
117
+ ```
118
+ Invoke the llama.cpp server or the CLI.
119
+
120
+ ### CLI:
121
+ ```bash
122
+ llama-cli --hf-repo AlessandroBaragona/Llama-3.1-8b-ITA-Q5_K_M-GGUF --hf-file llama-3.1-8b-ita-q5_k_m.gguf -p "The meaning to life and the universe is"
123
+ ```
124
+
125
+ ### Server:
126
+ ```bash
127
+ llama-server --hf-repo AlessandroBaragona/Llama-3.1-8b-ITA-Q5_K_M-GGUF --hf-file llama-3.1-8b-ita-q5_k_m.gguf -c 2048
128
+ ```
129
+
130
+ 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.
131
+
132
+ Step 1: Clone llama.cpp from GitHub.
133
+ ```
134
+ git clone https://github.com/ggerganov/llama.cpp
135
+ ```
136
+
137
+ 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).
138
+ ```
139
+ cd llama.cpp && LLAMA_CURL=1 make
140
+ ```
141
+
142
+ Step 3: Run inference through the main binary.
143
+ ```
144
+ ./llama-cli --hf-repo AlessandroBaragona/Llama-3.1-8b-ITA-Q5_K_M-GGUF --hf-file llama-3.1-8b-ita-q5_k_m.gguf -p "The meaning to life and the universe is"
145
+ ```
146
+ or
147
+ ```
148
+ ./llama-server --hf-repo AlessandroBaragona/Llama-3.1-8b-ITA-Q5_K_M-GGUF --hf-file llama-3.1-8b-ita-q5_k_m.gguf -c 2048
149
+ ```