lianggq commited on
Commit
44d1a1f
1 Parent(s): 27ce50c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +159 -0
README.md ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: harborwater/open-llama-3b-claude-30k
3
+ datasets:
4
+ - Norquinal/claude_multiround_chat_30k
5
+ language:
6
+ - en
7
+ library_name: transformers
8
+ license: apache-2.0
9
+ tags:
10
+ - llama-cpp
11
+ - gguf-my-repo
12
+ model-index:
13
+ - name: open-llama-3b-claude-30k
14
+ results:
15
+ - task:
16
+ type: text-generation
17
+ name: Text Generation
18
+ dataset:
19
+ name: AI2 Reasoning Challenge (25-Shot)
20
+ type: ai2_arc
21
+ config: ARC-Challenge
22
+ split: test
23
+ args:
24
+ num_few_shot: 25
25
+ metrics:
26
+ - type: acc_norm
27
+ value: 41.72
28
+ name: normalized accuracy
29
+ source:
30
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=harborwater/open-llama-3b-claude-30k
31
+ name: Open LLM Leaderboard
32
+ - task:
33
+ type: text-generation
34
+ name: Text Generation
35
+ dataset:
36
+ name: HellaSwag (10-Shot)
37
+ type: hellaswag
38
+ split: validation
39
+ args:
40
+ num_few_shot: 10
41
+ metrics:
42
+ - type: acc_norm
43
+ value: 72.64
44
+ name: normalized accuracy
45
+ source:
46
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=harborwater/open-llama-3b-claude-30k
47
+ name: Open LLM Leaderboard
48
+ - task:
49
+ type: text-generation
50
+ name: Text Generation
51
+ dataset:
52
+ name: MMLU (5-Shot)
53
+ type: cais/mmlu
54
+ config: all
55
+ split: test
56
+ args:
57
+ num_few_shot: 5
58
+ metrics:
59
+ - type: acc
60
+ value: 24.03
61
+ name: accuracy
62
+ source:
63
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=harborwater/open-llama-3b-claude-30k
64
+ name: Open LLM Leaderboard
65
+ - task:
66
+ type: text-generation
67
+ name: Text Generation
68
+ dataset:
69
+ name: TruthfulQA (0-shot)
70
+ type: truthful_qa
71
+ config: multiple_choice
72
+ split: validation
73
+ args:
74
+ num_few_shot: 0
75
+ metrics:
76
+ - type: mc2
77
+ value: 38.46
78
+ source:
79
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=harborwater/open-llama-3b-claude-30k
80
+ name: Open LLM Leaderboard
81
+ - task:
82
+ type: text-generation
83
+ name: Text Generation
84
+ dataset:
85
+ name: Winogrande (5-shot)
86
+ type: winogrande
87
+ config: winogrande_xl
88
+ split: validation
89
+ args:
90
+ num_few_shot: 5
91
+ metrics:
92
+ - type: acc
93
+ value: 66.54
94
+ name: accuracy
95
+ source:
96
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=harborwater/open-llama-3b-claude-30k
97
+ name: Open LLM Leaderboard
98
+ - task:
99
+ type: text-generation
100
+ name: Text Generation
101
+ dataset:
102
+ name: GSM8k (5-shot)
103
+ type: gsm8k
104
+ config: main
105
+ split: test
106
+ args:
107
+ num_few_shot: 5
108
+ metrics:
109
+ - type: acc
110
+ value: 2.2
111
+ name: accuracy
112
+ source:
113
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=harborwater/open-llama-3b-claude-30k
114
+ name: Open LLM Leaderboard
115
+ ---
116
+
117
+ # lianggq/open-llama-3b-claude-30k-Q4_K_M-GGUF
118
+ This model was converted to GGUF format from [`harborwater/open-llama-3b-claude-30k`](https://huggingface.co/harborwater/open-llama-3b-claude-30k) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
119
+ Refer to the [original model card](https://huggingface.co/harborwater/open-llama-3b-claude-30k) for more details on the model.
120
+
121
+ ## Use with llama.cpp
122
+ Install llama.cpp through brew (works on Mac and Linux)
123
+
124
+ ```bash
125
+ brew install llama.cpp
126
+
127
+ ```
128
+ Invoke the llama.cpp server or the CLI.
129
+
130
+ ### CLI:
131
+ ```bash
132
+ llama-cli --hf-repo lianggq/open-llama-3b-claude-30k-Q4_K_M-GGUF --hf-file open-llama-3b-claude-30k-q4_k_m.gguf -p "The meaning to life and the universe is"
133
+ ```
134
+
135
+ ### Server:
136
+ ```bash
137
+ llama-server --hf-repo lianggq/open-llama-3b-claude-30k-Q4_K_M-GGUF --hf-file open-llama-3b-claude-30k-q4_k_m.gguf -c 2048
138
+ ```
139
+
140
+ 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.
141
+
142
+ Step 1: Clone llama.cpp from GitHub.
143
+ ```
144
+ git clone https://github.com/ggerganov/llama.cpp
145
+ ```
146
+
147
+ 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).
148
+ ```
149
+ cd llama.cpp && LLAMA_CURL=1 make
150
+ ```
151
+
152
+ Step 3: Run inference through the main binary.
153
+ ```
154
+ ./llama-cli --hf-repo lianggq/open-llama-3b-claude-30k-Q4_K_M-GGUF --hf-file open-llama-3b-claude-30k-q4_k_m.gguf -p "The meaning to life and the universe is"
155
+ ```
156
+ or
157
+ ```
158
+ ./llama-server --hf-repo lianggq/open-llama-3b-claude-30k-Q4_K_M-GGUF --hf-file open-llama-3b-claude-30k-q4_k_m.gguf -c 2048
159
+ ```