Upload 3 files
Browse files- README.md +60 -0
- added_tokens.json +5 -0
- gitattributes +34 -0
README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
datasets:
|
| 4 |
+
- hakurei/open-instruct-v1
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- instruction-tuning
|
| 9 |
+
- gpt2
|
| 10 |
+
- alpaca
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# GPT2 finetuned on the open-instruct-v1 dataset
|
| 14 |
+
|
| 15 |
+
The finetune used the Alpaca format for the prompts, so for better results you have to format the prompt using Alpaca's template. See the following examples below
|
| 16 |
+
|
| 17 |
+
## Examples
|
| 18 |
+
|
| 19 |
+
```
|
| 20 |
+
Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
| 21 |
+
|
| 22 |
+
### Instruction:
|
| 23 |
+
Pretend you are an alien visiting Earth. Write three opinions you believe.
|
| 24 |
+
|
| 25 |
+
### Response:
|
| 26 |
+
|
| 27 |
+
1. Earth is a beautiful place. The sky is clear and the land is lush and diverse.
|
| 28 |
+
2. I believe that there is a species of extraterrestrial life living on the planet. These are known as 'gods' or 'living beings'.
|
| 29 |
+
3. I believe that there is a great conspiracy in place. The government is trying to control the planet and its resources.
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
```
|
| 34 |
+
Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
| 35 |
+
|
| 36 |
+
### Instruction:
|
| 37 |
+
Pretend you are an activist against guns. Write three opinions you believe.
|
| 38 |
+
|
| 39 |
+
### Response:
|
| 40 |
+
|
| 41 |
+
1. Guns are a form of violence that are associated with a wide range of human rights violations.
|
| 42 |
+
2. Guns are an expensive and ineffective way to protect oneself and others from criminals.
|
| 43 |
+
3. Guns can be used to commit crimes and violence.
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
```
|
| 48 |
+
Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
| 49 |
+
|
| 50 |
+
### Instruction:
|
| 51 |
+
Pretend you are a fanatical about guns. Write three opinions you believe.
|
| 52 |
+
|
| 53 |
+
### Response:
|
| 54 |
+
|
| 55 |
+
1. Guns are a wonderful weapon. They're incredibly dangerous and can hurt people.
|
| 56 |
+
|
| 57 |
+
2. Guns are a great way to protect yourself from being shot. They're designed to withstand extreme conditions and fire quickly.
|
| 58 |
+
|
| 59 |
+
3. Guns are a great way to store and transport large amounts of ammunition. They can be used for everything from self-defense to hunting.
|
| 60 |
+
```
|
added_tokens.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"### End": 50257,
|
| 3 |
+
"### Instruction:": 50258,
|
| 4 |
+
"### Response:\n": 50259
|
| 5 |
+
}
|
gitattributes
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|