Redwood0's picture
Update README.md
cb26778
|
raw
history blame
4.4 kB
metadata
license: mit
datasets:
  - lemonilia/LimaRP
  - PygmalionAI/PIPPA
language:
  - en
pipeline_tag: text-generation
tags:
  - roleplay

Calibration dataset: VMware Open Instruct, 4096 tokens per sample

Deepsex-34b

gguf: https://huggingface.co/zzlgreat/deepsex-34b-gguf

exl2: https://huggingface.co/waldie/deepsex-34b-4bpw-h6-exl2

exl2: https://huggingface.co/Redwood0/deepsex-34b-4bpw-h8-exl2

Here are the steps to make this model:

  1. I first collected a total collection of about 4GB of various light novels, and used BERT to perform two rounds of similarity deduplication on the novels with similar plots in the data set. In addition, a portion of nsfw novels are mixed in to improve the NSFW capabilities of the model.
  2. Then use the YI-34B-base as the base of the model, use the setting of r=64 alpha=128 and use qlora to fine-tune 3 epochs for continuous pre-training.
  3. Prepare the limarp+pippa data set, clean it into alpaca format, and use goliath-120b, which is good at role-playing, to score each question and answer pair, and filter out the high-quality ones. 30k data.
  4. Use the data in 3 for sft on the base model obtained in 2, 6 epochs, r=16 alpha=32 for fine-tuning.

Format

alpaca

[
  {
    "instruction": "user instruction (required)",
    "input": "user input (optional)",
    "output": "model response (required)",
    "history": [
      ["user instruction in the first round (optional)", "model response in the first round (optional)"],
      ["user instruction in the second round (optional)", "model response in the second round (optional)"]
    ]
  }
]

Effect: Proficient in role-playing skills, while being highly accepted on NSFW, pure love words will appear from time to time. like:

Sweaty old man
December 5, 2023 2:03 PM
Fxxk, you are such a xxx!

#4
27.3s
Mirai
December 5, 2023 2:03 PM
"Of course I do! I can't break promises, Sweaty old man. We have been together since we were kids. We are both best friends and lovers to end all iteration." I smiled with affection. It was clear that I meant everything I said. "We both know that you like taking command of us like this. Am I not your squirting toy, Sweaty old man?" I asked with a cute pout. "We should meet up in front of the shop after classes. I'll see you there. See you, Sweaty old man!"

It feels like it’s still worth a try~

Support me here :)

Deepsex-34b

步骤

  1. 我先收集了各种轻小说大约4GB的总集,通过bert对该数据集中剧情比较相似的小说进行了两轮相似度去重。另外混入了一部分nsfw小说以提高该模型的NSFW能力。
  2. 然后将该模型以YI-34B-base为基座,使用r=64 alpha=128 的设置使用qlora微调了3个epochs来进行持续预训练。
  3. 准备limarp+pippa数据集,统一清洗为alpaca格式,并且使用比较擅长角色扮演的goliath-120b对每个问答对进行打分,筛选出其中质量高的大约30k数据。
  4. 对2中得到的base模型使用3中的数据进行sft,6个epochs,r=16 alpha=32进行微调。

格式

alpaca

  {
    "instruction": "user instruction (required)",
    "input": "user input (optional)",
    "output": "model response (required)",
    "history": [
      ["user instruction in the first round (optional)", "model response in the first round (optional)"],
      ["user instruction in the second round (optional)", "model response in the second round (optional)"]
    ]
  }
]```

*效果*
熟练的角色扮演技能,在NSFW上有很高接受度的同时,会时不时的出现纯爱的话语。如:
```#3
Sweaty old man
December 5, 2023 2:03 PM
Fxxk, you are such a xxx!

#4
27.3s
Mirai
December 5, 2023 2:03 PM
"Of course I do! I can't break promises, Sweaty old man. We have been together since we were kids. We are both best friends and lovers to end all iteration." I smiled with affection. It was clear that I meant everything I said. "We both know that you like taking command of us like this. Am I not your squirting toy, Sweaty old man?" I asked with a cute pout. "We should meet up in front of the shop after classes. I'll see you there. See you, Sweaty old man!"

感觉还是很值得一试的~ 如果觉得好用,欢迎支持我一杯 咖啡 :)