alexedelsburg
commited on
Commit
•
a86d125
1
Parent(s):
5975c2d
Initial readme
Browse filesUsed template from TheBloke. Need to fix URL
README.md
CHANGED
@@ -1,3 +1,83 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- totally-not-an-llm/sharegpt-hyperfiltered-3k
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
library_name: transformers
|
8 |
+
pipeline_tag: text-generation
|
9 |
---
|
10 |
+
|
11 |
+
# Puma 3B - GGUF
|
12 |
+
- Model creator: [Bohan Du](https://huggingface.co/acrastt)
|
13 |
+
- Original model: [Puma 3B](https://huggingface.co/acrastt/puma-3b)
|
14 |
+
|
15 |
+
<!-- description start -->
|
16 |
+
## Description
|
17 |
+
|
18 |
+
This repo contains GGUF format model files for [acrastt's Puma 3B](https://huggingface.co/acrastt/puma-3b).
|
19 |
+
|
20 |
+
<!-- description end -->
|
21 |
+
<!-- README_GGUF.md-about-gguf start -->
|
22 |
+
### About GGUF
|
23 |
+
|
24 |
+
GGUF is a new format introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp. GGUF offers numerous advantages over GGML, such as better tokenisation, and support for special tokens. It is also supports metadata, and is designed to be extensible.
|
25 |
+
|
26 |
+
Here is an incomplate list of clients and libraries that are known to support GGUF:
|
27 |
+
|
28 |
+
* [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
|
29 |
+
* [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI, with many features and powerful extensions. Supports GPU acceleration.
|
30 |
+
* [KoboldCpp](https://github.com/LostRuins/koboldcpp), a fully featured web UI, with GPU accel across all platforms and GPU architectures. Especially good for story telling.
|
31 |
+
* [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration.
|
32 |
+
* [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with many interesting and unique features, including a full model library for easy model selection.
|
33 |
+
* [Faraday.dev](https://faraday.dev/), an attractive and easy to use character-based chat GUI for Windows and macOS (both Silicon and Intel), with GPU acceleration.
|
34 |
+
* [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
|
35 |
+
* [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
|
36 |
+
* [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
|
37 |
+
|
38 |
+
<!-- README_GGUF.md-about-gguf end -->
|
39 |
+
<!-- repositories-available start -->
|
40 |
+
|
41 |
+
## Prompt template: Human-Response
|
42 |
+
|
43 |
+
```
|
44 |
+
### HUMAN:
|
45 |
+
{prompt}
|
46 |
+
|
47 |
+
### RESPONSE:
|
48 |
+
```
|
49 |
+
|
50 |
+
## How to run in `llama.cpp`
|
51 |
+
|
52 |
+
I use the following command line; adjust for your tastes and needs:
|
53 |
+
|
54 |
+
```
|
55 |
+
./main -m ./models/${MODEL} \
|
56 |
+
--color \
|
57 |
+
--ctx_size 2048 \
|
58 |
+
-n -1 \
|
59 |
+
-ngl 1 \
|
60 |
+
-ins -b 256 \
|
61 |
+
--top_k 10000 \
|
62 |
+
--temp 0.2 \
|
63 |
+
--repeat_penalty 1.1 \
|
64 |
+
-t 8
|
65 |
+
```
|
66 |
+
Change `-t 10` to the number of physical CPU cores you have. For example if your system has 8 cores/16 threads, use `-t 8`.
|
67 |
+
|
68 |
+
Remove `-ngl 1` if you don't have GPU acceleration.
|
69 |
+
|
70 |
+
Change `-ctx_size 2048` to the desired sequence length for this model. For example, `-c 4096` for a Llama 2 model. For models that use RoPE, add `--rope-freq-base 10000 --rope-freq-scale 0.5` for doubled context, or `--rope-freq-base 10000 --rope-freq-scale 0.25` for 4x context.
|
71 |
+
|
72 |
+
For other parameters and how to use them, please refer to [the llama.cpp documentation](https://github.com/ggerganov/llama.cpp/blob/master/examples/main/README.md)
|
73 |
+
|
74 |
+
## Provided files
|
75 |
+
|
76 |
+
| Name | Quant method | Bits | Size | Max RAM required | Use case |
|
77 |
+
| ---- | ---- | ---- | ---- | ---- | ----- |
|
78 |
+
| [puma-3b.q4_1.gguf](https://huggingface.co/TheBloke/Puma-3b-GGML/blob/main/puma-3b.ggmlv3.q4_1.bin) | q4_1 | 4 | 2.14 GB| 4.64 GB | Original quant method, 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
|
79 |
+
|
80 |
+
## Thanks
|
81 |
+
|
82 |
+
- to [Bohan Du](https://huggingface.co/acrastt) for the Puma model
|
83 |
+
- to [TheBloke](https://huggingface.co/TheBloke) for all the quantized models and this model card template
|