Request it for the seed queue, or get it now with pf download sbintuitions/diafill-sarashina2.2-3b-instruct (CLI guide).
DiaFill is a Japanese dialogue script generation model designed to produce natural, spoken-style dialogue scripts rich in fillers and brief utternaces. Unlike typical assistant models that respond to users, this model is fine-tuned to generate a multi-turn dialogue script between two speakers based on a given scenario (seed data).
This model was fine-tuned on non-public Japanese dialogue script data created as part of the GENIAC (Generative AI Accelerator Challenge) project. The training data itself is not publicly available.
The project is described in the following press release: https://www.softbank.jp/corp/news/press/sbkk/2025/20250213_01/
This model generates a dialogue script based on a "Seed" prompt describing the genre, topic, and speakers.
雑談 (Chit-chat)コールセンター(手続き) (Call Center - Procedure)コールセンター(テクニカルサポート) (Call Center - Technical Support)コールセンター(カスタマーサクセス) (Call Center - Customer Success)雑談.import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, set_seed
model_name = "sbintuitions/diafill-sarashina2.2-3b-instruct"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
set_seed(42)
seed_data = {
"topics": ["家電保証", "修理依頼", "延長保証"],
"genre": "コールセンター(手続き)",
"industry": "家電",
"speaker1_name": "田中",
"speaker2_name": "鈴木",
"speaker1_tone": "フランク",
"speaker2_tone": "丁寧",
"summary": "カスタマーは、家電保証に関する手続きについて問い合わせた。オペレーターが修理依頼や延長保証に関する詳細を案内し、カスタマーは納得して対応を依頼した。",
}
messages = [
{"role": "user", "seed": seed_data},
]
inputs = tokenizer.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt",
).to(model.device)
with torch.no_grad():
outputs = model.generate(
inputs,
max_new_tokens=512,
do_sample=True,
repetition_penalty=1.1,
)
generated_script = tokenizer.decode(
outputs[0][inputs.shape[1] :],
skip_special_tokens=True,
)
print(generated_script)
カスタマー: あもしもし
オペレーター: はい。お電話ありがとうございます。Aモバイル担当の田中でございます。本日はいかがなさいましたか?
カスタマー: はい。えっとーちょっと家電のあのー保証について問い合わせたいんですけれども
オペレーター: かしこまりました。保証でございますね。具体的にはどのような内容でしょうか?
カスタマー: えーっとですね。ま保障は1年
オペレーター: あはい。
カスタマー: 保証されてると思うんですけども、これ例えば壊れたときとかに、どういう手続きしたらいいかっていうのを教えていただきたいです。
オペレーター: かしこまりました。では保証の延長、また故障時の対応についてお知りになられたいとのことですね。かしこまりました。お使いいただいてる端末はAndroidとiPhoneどちらとなりますか。
カスタマー: iPhoneです。
オペレーター: iPhoneでございますね。かしこまりました。では詳しいご案内のために資料を確認して参りますので一旦保留といたします。お切りにならずにお待ちください。
カスタマー: あはい。お願いします。
MIT License
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo sbintuitions/diafill-sarashina2.2-3b-instruct ./model-folderpytorch_model-00001-of-00003.bin 4.7 GiBpytorch_model-00002-of-00003.bin 4.6 GiBpytorch_model-00003-of-00003.bin 3.2 GiBlatest_checkpoint.pt 1.4 KiBsbintuitions/sarashina2.2-3b-instruct-v0.1