File size: 2,289 Bytes
c5614ce
 
 
 
146baf4
 
c5614ce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146baf4
c5614ce
146baf4
c5614ce
 
 
b88981a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206e196
b88981a
 
 
206e196
f73efd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
datasets:
- OpenAssistant/oasst1
pipeline_tag: text-generation
license: apache-2.0
---

# 🚀 Falcon-7b-chat-oasst1

Falcon-7b-chat-oasst1 is a chatbot-like model for dialogue generation. It was built by fine-tuning [Falcon-7B](https://huggingface.co/tiiuae/falcon-7b) on the [OpenAssistant/oasst1](https://huggingface.co/datasets/OpenAssistant/oasst1) dataset. This repo only includes the LoRA adapters from fine-tuning with 🤗's [peft](https://github.com/huggingface/peft) package. 

## Model Summary

- **Model Type:** Causal decoder-only
- **Language(s):** English
- **Base Model:** [Falcon-7B](https://huggingface.co/tiiuae/falcon-7b) (License: [Apache 2.0](https://huggingface.co/tiiuae/falcon-7b#license))
- **Dataset:** [OpenAssistant/oasst1](https://huggingface.co/datasets/OpenAssistant/oasst1) (License: [Apache 2.0](https://huggingface.co/datasets/OpenAssistant/oasst1/blob/main/LICENSE))
- **License(s):** Apache 2.0 inherited from "Base Model" and "Dataset"

## Model Details

The model was fine-tuned in 8-bit precision using 🤗 `peft` adapters, `transformers`, and `bitsandbytes`. Training relied on a method called "Low Rank Adapters" ([LoRA](https://arxiv.org/pdf/2106.09685.pdf)), specifically the [QLoRA](https://arxiv.org/abs/2305.14314) variant.

### Model Date

July 3, 2023

## Quick Start

To prompt the chat model, use the following format:

```
<human>: [Instruction]
<bot>:
```

### Example Dialogue 1

**Prompter**:
```
"""<human>: A law suit has been filed against me by a Fodd Giant, Nestle, on reviewing their product 'Maggie' on YouTube. 
You need to act as my lawyer. Write a letter to District Judge defending my case.
<bot>:"""
```

**Falcon-7b-chat-oasst1**:
```
Dear District Judge,

I am writing to you in response to the law suit filed by the Food Giant, Nestle, against me on reviewing their product 'Maggie' on YouTube.

I would like to state that I have not violated any laws or regulations by reviewing the product on my YouTube channel. I have followed all the guidelines and regulations set by the Food and Drug Administration (FDA) and the Federal Trade Commission (FTC) when reviewing products.

I believe that my review of the product was fair and accurate, and I have not made any false or misleading statements about the product.
```