vincentl2189 commited on
Commit
7234b82
1 Parent(s): f89598a

Upload README.md with huggingface_hub

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