poisson-fish
commited on
Commit
•
cdc42ef
1
Parent(s):
487aa23
create readme
Browse files
README.md
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
datasets:
|
3 |
+
- stingning/ultrachat
|
4 |
+
---
|
5 |
+
|
6 |
+
This is [openbmb/UltraLM-13b](https://huggingface.co/openbmb/UltraLM-13b) recovered with [huggyllama/llama-13b](https://huggingface.co/huggyllama/llama-13b) and quantized to 4bit GPTQ with the following config:
|
7 |
+
```python
|
8 |
+
quantize_config = BaseQuantizeConfig(
|
9 |
+
bits=4,
|
10 |
+
group_size=32,
|
11 |
+
desc_act=True,
|
12 |
+
)
|
13 |
+
```
|
14 |
+
# Original Model Card:
|
15 |
+
|
16 |
+
# UltraLM-13b
|
17 |
+
|
18 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
19 |
+
|
20 |
+
This is UltraLM-13b delta weights, a chat language model trained upon [UltraChat](https://github.com/thunlp/UltraChat)
|
21 |
+
|
22 |
+
|
23 |
+
## Model Details
|
24 |
+
|
25 |
+
### Model Description
|
26 |
+
|
27 |
+
<!-- Provide a longer summary of what this model is. -->
|
28 |
+
|
29 |
+
The model is fine-tuned based on LLaMA-13b with a multi-turn chat-format template as below
|
30 |
+
|
31 |
+
```
|
32 |
+
User: instruction 1<eos_token>
|
33 |
+
Assistant: response 1<eos_token>
|
34 |
+
User: instruction 2<eos_token>
|
35 |
+
Assistant: response 2<eos_token>
|
36 |
+
...
|
37 |
+
```
|
38 |
+
|
39 |
+
- **License:** UltraLM is based on LLaMA and should be used under LLaMA's [model license](https://github.com/facebookresearch/llama/blob/main/MODEL_CARD.md).
|
40 |
+
- **Finetuned from model:** LLaMA-13b
|
41 |
+
- **Finetuned on data:** [UltraChat](https://github.com/thunlp/UltraChat)
|
42 |
+
|
43 |
+
### Model Sources
|
44 |
+
|
45 |
+
<!-- Provide the basic links for the model. -->
|
46 |
+
|
47 |
+
- **Repository:** [UltraChat](https://github.com/thunlp/UltraChat)
|
48 |
+
- **Paper:** [arxiv](https://arxiv.org/abs/2305.14233)
|
49 |
+
- **Demo:** [More Information Needed]
|
50 |
+
|
51 |
+
## Uses
|
52 |
+
|
53 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
54 |
+
To use this model, you need to [recover](https://github.com/thunlp/UltraChat/tree/main/UltraLM) the full model from the delta weights and perform inference following the template below:
|
55 |
+
|
56 |
+
```
|
57 |
+
[Optional]User: system prompt<eos_token>
|
58 |
+
User: user input<eos_token>
|
59 |
+
Assistant:
|
60 |
+
```
|