Adapters
Safetensors
mistral
chemistry
biology
climate
science
philosophy
nature
ecology
biomimicry
fauna
flora
4-bit precision
gptq
TheBloke commited on
Commit
90cab43
1 Parent(s): b45fc43

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +429 -0
README.md ADDED
@@ -0,0 +1,429 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Severian/ANIMA-Phi-Neptune-Mistral-7B
3
+ datasets:
4
+ - Severian/Biomimicry
5
+ - emrgnt-cmplxty/sciphi-textbooks-are-all-you-need
6
+ - fmars/wiki_stem
7
+ - fblgit/tree-of-knowledge
8
+ - Severian/Bio-Design-Process
9
+ inference: false
10
+ library_name: adapter-transformers
11
+ license: mit
12
+ model_creator: Severian
13
+ model_name: Anima Phi Neptune Mistral 7B
14
+ model_type: mistral
15
+ prompt_template: '[INST] {prompt} [/INST]
16
+
17
+ '
18
+ quantized_by: TheBloke
19
+ tags:
20
+ - chemistry
21
+ - biology
22
+ - climate
23
+ - science
24
+ - philosophy
25
+ - nature
26
+ - ecology
27
+ - biomimicry
28
+ - fauna
29
+ - flora
30
+ ---
31
+
32
+ <!-- header start -->
33
+ <!-- 200823 -->
34
+ <div style="width: auto; margin-left: auto; margin-right: auto">
35
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
36
+ </div>
37
+ <div style="display: flex; justify-content: space-between; width: 100%;">
38
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
39
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
40
+ </div>
41
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
42
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
43
+ </div>
44
+ </div>
45
+ <div style="text-align:center; margin-top: 0em; margin-bottom: 0em"><p style="margin-top: 0.25em; margin-bottom: 0em;">TheBloke's LLM work is generously supported by a grant from <a href="https://a16z.com">andreessen horowitz (a16z)</a></p></div>
46
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
47
+ <!-- header end -->
48
+
49
+ # Anima Phi Neptune Mistral 7B - GPTQ
50
+ - Model creator: [Severian](https://huggingface.co/Severian)
51
+ - Original model: [Anima Phi Neptune Mistral 7B](https://huggingface.co/Severian/ANIMA-Phi-Neptune-Mistral-7B)
52
+
53
+ <!-- description start -->
54
+ ## Description
55
+
56
+ This repo contains GPTQ model files for [Severian's Anima Phi Neptune Mistral 7B](https://huggingface.co/Severian/ANIMA-Phi-Neptune-Mistral-7B).
57
+
58
+ Multiple GPTQ parameter permutations are provided; see Provided Files below for details of the options provided, their parameters, and the software used to create them.
59
+
60
+ <!-- description end -->
61
+ <!-- repositories-available start -->
62
+ ## Repositories available
63
+
64
+ * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/ANIMA-Phi-Neptune-Mistral-7B-AWQ)
65
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ)
66
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GGUF)
67
+ * [Severian's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/Severian/ANIMA-Phi-Neptune-Mistral-7B)
68
+ <!-- repositories-available end -->
69
+
70
+ <!-- prompt-template start -->
71
+ ## Prompt template: INST
72
+
73
+ ```
74
+ [INST] {prompt} [/INST]
75
+
76
+ ```
77
+
78
+ <!-- prompt-template end -->
79
+
80
+
81
+ <!-- README_GPTQ.md-provided-files start -->
82
+ ## Provided files, and GPTQ parameters
83
+
84
+ Multiple quantisation parameters are provided, to allow you to choose the best one for your hardware and requirements.
85
+
86
+ Each separate quant is in a different branch. See below for instructions on fetching from different branches.
87
+
88
+ Most GPTQ files are made with AutoGPTQ. Mistral models are currently made with Transformers.
89
+
90
+ <details>
91
+ <summary>Explanation of GPTQ parameters</summary>
92
+
93
+ - Bits: The bit size of the quantised model.
94
+ - GS: GPTQ group size. Higher numbers use less VRAM, but have lower quantisation accuracy. "None" is the lowest possible value.
95
+ - Act Order: True or False. Also known as `desc_act`. True results in better quantisation accuracy. Some GPTQ clients have had issues with models that use Act Order plus Group Size, but this is generally resolved now.
96
+ - Damp %: A GPTQ parameter that affects how samples are processed for quantisation. 0.01 is default, but 0.1 results in slightly better accuracy.
97
+ - GPTQ dataset: The calibration dataset used during quantisation. Using a dataset more appropriate to the model's training can improve quantisation accuracy. Note that the GPTQ calibration dataset is not the same as the dataset used to train the model - please refer to the original model repo for details of the training dataset(s).
98
+ - Sequence Length: The length of the dataset sequences used for quantisation. Ideally this is the same as the model sequence length. For some very long sequence models (16+K), a lower sequence length may have to be used. Note that a lower sequence length does not limit the sequence length of the quantised model. It only impacts the quantisation accuracy on longer inference sequences.
99
+ - ExLlama Compatibility: Whether this file can be loaded with ExLlama, which currently only supports Llama models in 4-bit.
100
+
101
+ </details>
102
+
103
+ | Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc |
104
+ | ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- |
105
+ | [main](https://huggingface.co/TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ/tree/main) | 4 | 128 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 4.16 GB | Yes | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. |
106
+ | [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ/tree/gptq-4bit-32g-actorder_True) | 4 | 32 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 4.57 GB | Yes | 4-bit, with Act Order and group size 32g. Gives highest possible inference quality, with maximum VRAM usage. |
107
+ | [gptq-8bit--1g-actorder_True](https://huggingface.co/TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ/tree/gptq-8bit--1g-actorder_True) | 8 | None | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 7.52 GB | No | 8-bit, with Act Order. No group size, to lower VRAM requirements. |
108
+ | [gptq-8bit-128g-actorder_True](https://huggingface.co/TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ/tree/gptq-8bit-128g-actorder_True) | 8 | 128 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 7.68 GB | No | 8-bit, with group size 128g for higher inference quality and with Act Order for even higher accuracy. |
109
+ | [gptq-8bit-32g-actorder_True](https://huggingface.co/TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ/tree/gptq-8bit-32g-actorder_True) | 8 | 32 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 8.17 GB | No | 8-bit, with group size 32g and Act Order for maximum inference quality. |
110
+ | [gptq-4bit-64g-actorder_True](https://huggingface.co/TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ/tree/gptq-4bit-64g-actorder_True) | 4 | 64 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 4.29 GB | Yes | 4-bit, with Act Order and group size 64g. Uses less VRAM than 32g, but with slightly lower accuracy. |
111
+
112
+ <!-- README_GPTQ.md-provided-files end -->
113
+
114
+ <!-- README_GPTQ.md-download-from-branches start -->
115
+ ## How to download, including from branches
116
+
117
+ ### In text-generation-webui
118
+
119
+ To download from the `main` branch, enter `TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ` in the "Download model" box.
120
+
121
+ To download from another branch, add `:branchname` to the end of the download name, eg `TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ:gptq-4bit-32g-actorder_True`
122
+
123
+ ### From the command line
124
+
125
+ I recommend using the `huggingface-hub` Python library:
126
+
127
+ ```shell
128
+ pip3 install huggingface-hub
129
+ ```
130
+
131
+ To download the `main` branch to a folder called `ANIMA-Phi-Neptune-Mistral-7B-GPTQ`:
132
+
133
+ ```shell
134
+ mkdir ANIMA-Phi-Neptune-Mistral-7B-GPTQ
135
+ huggingface-cli download TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ --local-dir ANIMA-Phi-Neptune-Mistral-7B-GPTQ --local-dir-use-symlinks False
136
+ ```
137
+
138
+ To download from a different branch, add the `--revision` parameter:
139
+
140
+ ```shell
141
+ mkdir ANIMA-Phi-Neptune-Mistral-7B-GPTQ
142
+ huggingface-cli download TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ --revision gptq-4bit-32g-actorder_True --local-dir ANIMA-Phi-Neptune-Mistral-7B-GPTQ --local-dir-use-symlinks False
143
+ ```
144
+
145
+ <details>
146
+ <summary>More advanced huggingface-cli download usage</summary>
147
+
148
+ If you remove the `--local-dir-use-symlinks False` parameter, the files will instead be stored in the central Huggingface cache directory (default location on Linux is: `~/.cache/huggingface`), and symlinks will be added to the specified `--local-dir`, pointing to their real location in the cache. This allows for interrupted downloads to be resumed, and allows you to quickly clone the repo to multiple places on disk without triggering a download again. The downside, and the reason why I don't list that as the default option, is that the files are then hidden away in a cache folder and it's harder to know where your disk space is being used, and to clear it up if/when you want to remove a download model.
149
+
150
+ The cache location can be changed with the `HF_HOME` environment variable, and/or the `--cache-dir` parameter to `huggingface-cli`.
151
+
152
+ For more documentation on downloading with `huggingface-cli`, please see: [HF -> Hub Python Library -> Download files -> Download from the CLI](https://huggingface.co/docs/huggingface_hub/guides/download#download-from-the-cli).
153
+
154
+ To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
155
+
156
+ ```shell
157
+ pip3 install hf_transfer
158
+ ```
159
+
160
+ And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
161
+
162
+ ```shell
163
+ mkdir ANIMA-Phi-Neptune-Mistral-7B-GPTQ
164
+ HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ --local-dir ANIMA-Phi-Neptune-Mistral-7B-GPTQ --local-dir-use-symlinks False
165
+ ```
166
+
167
+ Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
168
+ </details>
169
+
170
+ ### With `git` (**not** recommended)
171
+
172
+ To clone a specific branch with `git`, use a command like this:
173
+
174
+ ```shell
175
+ git clone --single-branch --branch gptq-4bit-32g-actorder_True https://huggingface.co/TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ
176
+ ```
177
+
178
+ Note that using Git with HF repos is strongly discouraged. It will be much slower than using `huggingface-hub`, and will use twice as much disk space as it has to store the model files twice (it stores every byte both in the intended target folder, and again in the `.git` folder as a blob.)
179
+
180
+ <!-- README_GPTQ.md-download-from-branches end -->
181
+ <!-- README_GPTQ.md-text-generation-webui start -->
182
+ ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
183
+
184
+ Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
185
+
186
+ It is strongly recommended to use the text-generation-webui one-click-installers unless you're sure you know how to make a manual install.
187
+
188
+ 1. Click the **Model tab**.
189
+ 2. Under **Download custom model or LoRA**, enter `TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ`.
190
+ - To download from a specific branch, enter for example `TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ:gptq-4bit-32g-actorder_True`
191
+ - see Provided Files above for the list of branches for each option.
192
+ 3. Click **Download**.
193
+ 4. The model will start downloading. Once it's finished it will say "Done".
194
+ 5. In the top left, click the refresh icon next to **Model**.
195
+ 6. In the **Model** dropdown, choose the model you just downloaded: `ANIMA-Phi-Neptune-Mistral-7B-GPTQ`
196
+ 7. The model will automatically load, and is now ready for use!
197
+ 8. If you want any custom settings, set them and then click **Save settings for this model** followed by **Reload the Model** in the top right.
198
+ * Note that you do not need to and should not set manual GPTQ parameters any more. These are set automatically from the file `quantize_config.json`.
199
+ 9. Once you're ready, click the **Text Generation tab** and enter a prompt to get started!
200
+
201
+ <!-- README_GPTQ.md-text-generation-webui end -->
202
+
203
+ <!-- README_GPTQ.md-use-from-tgi start -->
204
+ ## Serving this model from Text Generation Inference (TGI)
205
+
206
+ It's recommended to use TGI version 1.1.0 or later. The official Docker container is: `ghcr.io/huggingface/text-generation-inference:1.1.0`
207
+
208
+ Example Docker parameters:
209
+
210
+ ```shell
211
+ --model-id TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ --port 3000 --quantize awq --max-input-length 3696 --max-total-tokens 4096 --max-batch-prefill-tokens 4096
212
+ ```
213
+
214
+ Example Python code for interfacing with TGI (requires huggingface-hub 0.17.0 or later):
215
+
216
+ ```shell
217
+ pip3 install huggingface-hub
218
+ ```
219
+
220
+ ```python
221
+ from huggingface_hub import InferenceClient
222
+
223
+ endpoint_url = "https://your-endpoint-url-here"
224
+
225
+ prompt = "Tell me about AI"
226
+ prompt_template=f'''[INST] {prompt} [/INST]
227
+ '''
228
+
229
+ client = InferenceClient(endpoint_url)
230
+ response = client.text_generation(prompt,
231
+ max_new_tokens=128,
232
+ do_sample=True,
233
+ temperature=0.7,
234
+ top_p=0.95,
235
+ top_k=40,
236
+ repetition_penalty=1.1)
237
+
238
+ print(f"Model output: {response}")
239
+ ```
240
+ <!-- README_GPTQ.md-use-from-tgi end -->
241
+ <!-- README_GPTQ.md-use-from-python start -->
242
+ ## How to use this GPTQ model from Python code
243
+
244
+ ### Install the necessary packages
245
+
246
+ Requires: Transformers 4.33.0 or later, Optimum 1.12.0 or later, and AutoGPTQ 0.4.2 or later.
247
+
248
+ ```shell
249
+ pip3 install transformers optimum
250
+ pip3 install auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/ # Use cu117 if on CUDA 11.7
251
+ ```
252
+
253
+ If you have problems installing AutoGPTQ using the pre-built wheels, install it from source instead:
254
+
255
+ ```shell
256
+ pip3 uninstall -y auto-gptq
257
+ git clone https://github.com/PanQiWei/AutoGPTQ
258
+ cd AutoGPTQ
259
+ git checkout v0.4.2
260
+ pip3 install .
261
+ ```
262
+
263
+ ### You can then use the following code
264
+
265
+ ```python
266
+ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
267
+
268
+ model_name_or_path = "TheBloke/ANIMA-Phi-Neptune-Mistral-7B-GPTQ"
269
+ # To use a different branch, change revision
270
+ # For example: revision="gptq-4bit-32g-actorder_True"
271
+ model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
272
+ device_map="auto",
273
+ trust_remote_code=False,
274
+ revision="main")
275
+
276
+ tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
277
+
278
+ prompt = "Tell me about AI"
279
+ prompt_template=f'''[INST] {prompt} [/INST]
280
+ '''
281
+
282
+ print("\n\n*** Generate:")
283
+
284
+ input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
285
+ output = model.generate(inputs=input_ids, temperature=0.7, do_sample=True, top_p=0.95, top_k=40, max_new_tokens=512)
286
+ print(tokenizer.decode(output[0]))
287
+
288
+ # Inference can also be done using transformers' pipeline
289
+
290
+ print("*** Pipeline:")
291
+ pipe = pipeline(
292
+ "text-generation",
293
+ model=model,
294
+ tokenizer=tokenizer,
295
+ max_new_tokens=512,
296
+ do_sample=True,
297
+ temperature=0.7,
298
+ top_p=0.95,
299
+ top_k=40,
300
+ repetition_penalty=1.1
301
+ )
302
+
303
+ print(pipe(prompt_template)[0]['generated_text'])
304
+ ```
305
+ <!-- README_GPTQ.md-use-from-python end -->
306
+
307
+ <!-- README_GPTQ.md-compatibility start -->
308
+ ## Compatibility
309
+
310
+ The files provided are tested to work with AutoGPTQ, both via Transformers and using AutoGPTQ directly. They should also work with [Occ4m's GPTQ-for-LLaMa fork](https://github.com/0cc4m/KoboldAI).
311
+
312
+ [ExLlama](https://github.com/turboderp/exllama) is compatible with Llama and Mistral models in 4-bit. Please see the Provided Files table above for per-file compatibility.
313
+
314
+ [Huggingface Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference) is compatible with all GPTQ models.
315
+ <!-- README_GPTQ.md-compatibility end -->
316
+
317
+ <!-- footer start -->
318
+ <!-- 200823 -->
319
+ ## Discord
320
+
321
+ For further support, and discussions on these models and AI in general, join us at:
322
+
323
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
324
+
325
+ ## Thanks, and how to contribute
326
+
327
+ Thanks to the [chirper.ai](https://chirper.ai) team!
328
+
329
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
330
+
331
+ I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training.
332
+
333
+ If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
334
+
335
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
336
+
337
+ * Patreon: https://patreon.com/TheBlokeAI
338
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
339
+
340
+ **Special thanks to**: Aemon Algiz.
341
+
342
+ **Patreon special mentions**: Pierre Kircher, Stanislav Ovsiannikov, Michael Levine, Eugene Pentland, Andrey, 준교 김, Randy H, Fred von Graf, Artur Olbinski, Caitlyn Gatomon, terasurfer, Jeff Scroggin, James Bentley, Vadim, Gabriel Puliatti, Harry Royden McLaughlin, Sean Connelly, Dan Guido, Edmond Seymore, Alicia Loh, subjectnull, AzureBlack, Manuel Alberto Morcote, Thomas Belote, Lone Striker, Chris Smitley, Vitor Caleffi, Johann-Peter Hartmann, Clay Pascal, biorpg, Brandon Frisco, sidney chen, transmissions 11, Pedro Madruga, jinyuan sun, Ajan Kanaga, Emad Mostaque, Trenton Dambrowitz, Jonathan Leane, Iucharbius, usrbinkat, vamX, George Stoitzev, Luke Pendergrass, theTransient, Olakabola, Swaroop Kallakuri, Cap'n Zoog, Brandon Phillips, Michael Dempsey, Nikolai Manek, danny, Matthew Berman, Gabriel Tamborski, alfie_i, Raymond Fosdick, Tom X Nguyen, Raven Klaugh, LangChain4j, Magnesian, Illia Dulskyi, David Ziegler, Mano Prime, Luis Javier Navarrete Lozano, Erik Bjäreholt, 阿明, Nathan Dryer, Alex, Rainer Wilmers, zynix, TL, Joseph William Delisle, John Villwock, Nathan LeClaire, Willem Michiel, Joguhyik, GodLy, OG, Alps Aficionado, Jeffrey Morgan, ReadyPlayerEmma, Tiffany J. Kim, Sebastain Graf, Spencer Kim, Michael Davis, webtim, Talal Aujan, knownsqashed, John Detwiler, Imad Khwaja, Deo Leter, Jerry Meng, Elijah Stavena, Rooh Singh, Pieter, SuperWojo, Alexandros Triantafyllidis, Stephen Murray, Ai Maven, ya boyyy, Enrico Ros, Ken Nordquist, Deep Realms, Nicholas, Spiking Neurons AB, Elle, Will Dee, Jack West, RoA, Luke @flexchar, Viktor Bowallius, Derek Yates, Subspace Studios, jjj, Toran Billups, Asp the Wyvern, Fen Risland, Ilya, NimbleBox.ai, Chadd, Nitin Borwankar, Emre, Mandus, Leonard Tan, Kalila, K, Trailburnt, S_X, Cory Kujawski
343
+
344
+
345
+ Thank you to all my generous patrons and donaters!
346
+
347
+ And thank you again to a16z for their generous grant.
348
+
349
+ <!-- footer end -->
350
+
351
+ # Original model card: Severian's Anima Phi Neptune Mistral 7B
352
+
353
+ # ANIMA-Phi-Neptune-Mistral-7B: Biomimicry Enhanced LLM
354
+
355
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/JZH6p50t_j3-OUph4Wq6y.png" width="500">
356
+
357
+ ## Overview
358
+
359
+ **ANIMA** (Advanced Nature Inspired Multidisciplinary Assistant) is an expert in various scientific disciplines, including but not limited to biomimicry, biology, and environmental science.
360
+
361
+ ---
362
+
363
+ ## Model Description
364
+
365
+ ANIMA is fine-tuned on a rich dataset encompassing:
366
+
367
+ - 4,000+ Nature-Biomimicry examples
368
+ - 60k Biomimicry Design Process examples
369
+ - 600k STEM facts from Wikipedia
370
+ - Science/Philosophy focused 'All-You-Need-Is-Textbooks' dataset
371
+ - Additional Tree of Knowledge + Biomimicry data combined fine-tuning
372
+
373
+ The model aims to assist users in solving problems using nature-inspired strategies and concepts.
374
+
375
+ ### Special Features
376
+
377
+ - **Multi-disciplinary Expertise**: Knowledge across various scientific and philosophical domains.
378
+ - **Biomimicry Design Process**: Incorporates a dataset generated by Mistral and Minotaur-15B. The dataset was then intricately processed by a real person to ensure factuality and grounding.
379
+
380
+ ---
381
+
382
+ ## Datasets
383
+
384
+ - `Severian/Biomimicry` (1st Fine-Tune)
385
+ - `emrgnt-cmplxty/sciphi-textbooks-are-all-you-need` (2nd Fine-Tune)
386
+ - `Severian/Bio-Design-Process` & `fmars/wiki_stem` (3rd Fine-Tune)
387
+ - `fblgit/tree-of-knowledge & `Severian/Biomimicry` (4th Fine-Tune)
388
+ - Combined all previous datasets into one giant dataset for a quick fine-tuning for a total of 730k data points (5th Fine-Tune)
389
+
390
+ ## Training Stages
391
+
392
+ 1. **Base Model**: `ehartford/dolphin-2.0-mistral-7b`
393
+ 2. **1st Fine-Tune**: `ANIMA-Echo-Mistral-7B-v1` - 1 Epoch x 5hrs on 1 x T4 Small
394
+ 3. **2nd Fine-Tune**: `ANIMA-Phi-Neptune-Mistral-v1`-: 1 Epoch x 1hr on 1 x A100
395
+ 4. **3rd Fine-Tune**: `ANIMA-Phi-Neptune-Mistral-7B-v2` - 1 Epoch x 1hr on 1 x A100
396
+ 5. **4th Fine-Tune**: 'ANIMA-Phi-Neptune-Mistral-7B-v3' - 1 Epoch x 1hr on 1 x A100
397
+ 6. **5th Fine-Tune**: 'ANIMA-Phi-Neptune-Mistral-7B-v4' - 1 Epoch x 15mins on 1 x A100
398
+
399
+ ---
400
+
401
+ ## 📝 Usage
402
+
403
+ ANIMA is designed around the Biomimicry Design Process to guide users in solving problems through biomimicry. For more information and examples, please visit [Biomimicry Design Process](https://toolbox.biomimicry.org/methods/process/).
404
+
405
+ ## 🏁 Benchmarks
406
+
407
+ - Average - 62.22
408
+ - ARC - 56.83
409
+ - HellaSwag - 78.82
410
+ - MMLU - 53.84
411
+ - TruthfulQA - 59.40
412
+
413
+ ---
414
+
415
+ - **EXAMPLE OUTPUT**
416
+
417
+ [INST] How can biomimicry help in water purification? [/INST]
418
+
419
+ Biomimicry involves taking inspiration from natural processes and organisms to solve human problems. In the context of water purification, biomimicry can help develop sustainable and efficient methods for cleaning water. One specific example of a nature-inspired strategy to solve this problem is the use of biofiltration, which involves using microorganisms to remove pollutants from water.
420
+
421
+ Biofiltration has been successfully applied to the removal of various contaminants, including heavy metals, organic pollutants, and pathogens. For example, a study by Zhang et al. (2011) demonstrated that a mixed culture of Pseudomonas putida and Bacillus subtilis could effectively remove lead and cadmium from contaminated water. The researchers found that the biofilm formed by the mixed culture had a higher removal efficiency than that formed by either species alone. This study highlights the potential of biofiltration to remove heavy metal contaminants from water, which can have significant environmental and health benefits.
422
+
423
+ In summary, biomimicry can help in water purification by providing insights into natural processes and organisms that can inspire the development of sustainable and efficient methods for cleaning water. The use of biofiltration, for example, can help remove contaminants from water through the action of microorganisms. Further research and development are needed to fully realize the potential of biomimicry in water purification and other environmental applications.
424
+
425
+ ---
426
+
427
+ ## 📜 License
428
+
429
+ This project is licensed under MIT