hellork commited on
Commit
acd15b6
1 Parent(s): 5eac8f4

Upload README.md with huggingface_hub

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