surya-ravindra commited on
Commit
5ec4e01
·
verified ·
1 Parent(s): a1e5857

Upload README.md with huggingface_hub

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