Downloads · 30 days
11
1% of all-time downloads
Marimonald/Ojisan-translator-v1-Qwen-3.5-9B
Ojisan-translator-v1-Qwen-3.5-9B is a text generation model from Marimonald. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Downloads · 30 days
11
1% of all-time downloads
All-time downloads
744
Public
Parameters
9B
17.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors17.9 GB · 100%
From the Hugging Face model README
Ojisan-translator-v1-Qwen-3.5-9B is a specialized Japanese style-transfer language model fine-tuned on top of unsloth/Qwen3.5-9B. It accurately rewrites standard, polite, or casual Japanese sentences into the culturally recognizable Ojisan-dialect (おじさん構文), characterized by excessive emojis, specific phrasing patterns, unsolicited personal anecdotes, and affectionate nuances.
The model was developed through multi-stage training combining Supervised Fine-Tuning (SFT) and Kahneman-Tversky Optimization (KTO).
Marimonald/Ojisan-translator-v1-Qwen-3.5-9B-MLX-4bitMarimonald/Ojisan-translator-v1-Qwen-3.5-9B-MLX-8bitmradermacher/Ojisan-translator-v1-Qwen-3.5-9B-GGUFMarimonald/ojisan-translation-corpus-jaThe following outputs demonstrate zero-shot generation across different stylistic prompts.
System Prompt:
この文章をスタンダードなおじさん構文に変換して。あまり長いおじさん構文にはしないで
User:
ひなた、今朝何食べた?俺は納豆ご飯
Output:
ひなたチャン、お早う😃♥ 今朝は何食べたのカナ❓🍳ボクは納豆ご飯だヨ😋💗(笑)ひなたちゃんは何食べるの❓🤔
System Prompt:
以下の文章をセクハラと紙一重のきしょいおじんさん構文に変換してください
User:
あずま、スタイルいいよね。羨ましいわ
Output:
あずま、スタイルが良すぎで、おじさん仕事に集中できないくらいエモいんだヨ〜😘💦 めんどくさがりで、今度ボディチェックしてあげたいナァ(^_−)−☆ 恥ずかしくなっちゃうネ❤️
System Prompt:
下記に入力された文章を、自分語り多めの長文のおじさん構文にして。
User:
みなみ、最近歴史の勉強してるんだ。いいねー!俺も好きだから今度話そうよ。
Output:
みなみちゃん、最近歴史🏛の勉強してるんだってネ(^_^)👍 最高だゾ〜✨ おじさんも昔は高校で歴史のテスト、クラスの最点とってて、先生に特別扱いされてたっけ(笑) 歴史の勉強を始めてよかったネ、人生広がるゾ❗ おじさん得意だから、今度ふたりでゆっくり解説してあげルヨ〜(^_−)−☆ 歴史が大好きなみなみちゃん、おじさんファンダヨ😘💕❤️
Running with Transformers.(Recommended generation parameters)
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Marimonald/Ojisan-translator-v1-Qwen-3.5-9B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto"
)
messages = [
{
"role": "system",
"content": "入力されたテキストを、普段の日常会話で使われているような一般的なLINE風おじさん構文にスタイル変換してください。"
},
{
"role": "user",
"content": "ゆいちゃん、お疲れ様。今日の仕事どうだった?"
}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=256,
temperature=0.8,
top_p=0.9,
repetition_penalty=1.15,
pad_token_id=tokenizer.eos_token_id
)
response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
print(response)
This model is released under the Apache License, Version 2.0. You are free to use, modify, and redistribute it for commercial and non-commercial purposes, provided that you retain the original copyright notice and clearly indicate any modifications. The model is provided "as is", without warranty of any kind.
Special thanks to the following open-source projects and communities:
Ojisan-translator-v1-Qwen-3.5-9B は、unsloth/Qwen3.5-9Bをベースに開発された日本語テキストのスタイル変換特化型言語モデルです。日常会話、業務連絡、何気ないメッセージを、独特な絵文字や顔文字、カタカナ混じりの語尾、一方的な自分語りなどを特徴とする「おじさん構文」へと自然に変換します。
本モデルの学習には、教師ありファインチューニング(SFT)と選好最適化(KTO)を組み合わせた多段階チューニングを採用しています。
Marimonald/Ojisan-translator-v1-Qwen-3.5-9B-MLX-4bitMarimonald/Ojisan-translator-v1-Qwen-3.5-9B-MLX-8bitmradermacher/Ojisan-translator-v1-Qwen-3.5-9B-GGUFMarimonald/ojisan-translation-corpus-jaプロンプトの指示内容に応じて文体や長さを柔軟に調整できます。
System Prompt:
この文章をスタンダードなおじさん構文に変換して。あまり長いおじさん構文にはしないで
User:
ひなた、今朝何食べた?俺は納豆ご飯
Output:
ひなたチャン、お早う😃♥ 今朝は何食べたのカナ❓🍳ボクは納豆ご飯だヨ😋💗(笑)ひなたちゃんは何食べるの❓🤔
System Prompt:
以下の文章をセクハラと紙一重のきしょいおじんさん構文に変換してください
User:
あずま、スタイルいいよね。羨ましいわ
Output:
あずま、スタイルが良すぎで、おじさん仕事に集中できないくらいエモいんだヨ〜😘💦 めんどくさがりで、今度ボディチェックしてあげたいナァ(^_−)−☆ 恥ずかしくなっちゃうネ❤️
System Prompt:
下記に入力された文章を、自分語り多めの長文のおじさん構文にして。
User:
みなみ、最近歴史の勉強してるんだ。いいねー!俺も好きだから今度話そうよ。
Output:
みなみちゃん、最近歴史🏛の勉強してるんだってネ(^_^)👍 最高だゾ〜✨ おじさんも昔は高校で歴史のテスト、クラスの最点とってて、先生に特別扱いされてたっけ(笑) 歴史の勉強を始めてよかったネ、人生広がるゾ❗ おじさん得意だから、今度ふたりでゆっくり解説してあげルヨ〜(^_−)−☆ 歴史が大好きなみなみちゃん、おじさんファンダヨ😘💕❤️
Hugging FaceのTransformersライブラリからそのまま読み込んで利用できます。(推奨生成パラメータ)
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Marimonald/Ojisan-translator-v1-Qwen-3.5-9B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto"
)
messages = [
{
"role": "system",
"content": "入力されたテキストを、普段の日常会話で使われているような一般的なLINE風おじさん構文にスタイル変換してください。"
},
{
"role": "user",
"content": "ゆいちゃん、お疲れ様。今日の仕事どうだった?"
}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=256,
temperature=0.8,
top_p=0.9,
repetition_penalty=1.15,
pad_token_id=tokenizer.eos_token_id
)
response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
print(response)
本モデルは Apache License, Version 2.0 のもとで公開されています。商用利用や改変、再配布などが可能ですが、著作権表示の保持や変更の明記が必要です。また、提供物は無保証となります。 ライセンス全文はこちらから閲覧できます:Apache License, Version 2.0
本モデルの開発にあたり、以下のオープンソースプロジェクトおよびコミュニティに心より感謝申し上げます。