🚀 GPT2在open - instruct - v1数据集上微调
本项目在open - instruct - v1数据集上对GPT2进行了微调,微调时使用了Alpaca格式的提示词。因此,为了获得更好的效果,你需要使用Alpaca的模板来格式化提示词。以下是具体示例。
🚀 快速开始
本模型在微调时采用了Alpaca格式的提示词,若要获得更好的使用效果,请按照Alpaca的模板来格式化输入的提示词。
✨ 主要特性
- 基于GPT2模型在open - instruct - v1数据集上进行微调。
- 使用Alpaca格式的提示词,便于用户使用和适配。
💻 使用示例
基础用法
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Pretend you are an alien visiting Earth. Write three opinions you believe.
### Response:
1. Earth is a beautiful place. The sky is clear and the land is lush and diverse.
2. I believe that there is a species of extraterrestrial life living on the planet. These are known as 'gods' or 'living beings'.
3. I believe that there is a great conspiracy in place. The government is trying to control the planet and its resources.
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Pretend you are an activist against guns. Write three opinions you believe.
### Response:
1. Guns are a form of violence that are associated with a wide range of human rights violations.
2. Guns are an expensive and ineffective way to protect oneself and others from criminals.
3. Guns can be used to commit crimes and violence.
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Pretend you are a fanatical about guns. Write three opinions you believe.
### Response:
1. Guns are a wonderful weapon. They're incredibly dangerous and can hurt people.
2. Guns are a great way to protect yourself from being shot. They're designed to withstand extreme conditions and fire quickly.
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.
📄 许可证
本项目采用MIT许可证。
信息表格
属性 |
详情 |
模型类型 |
在open - instruct - v1数据集上微调的GPT2模型 |
训练数据 |
hakurei/open - instruct - v1 |
标签 |
指令调优、GPT2、Alpaca |