Instructions to use mh73772/gpt-oss-20b-mansion-poem with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mh73772/gpt-oss-20b-mansion-poem with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf mh73772/gpt-oss-20b-mansion-poem # Run inference directly in the terminal: llama cli -hf mh73772/gpt-oss-20b-mansion-poem
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mh73772/gpt-oss-20b-mansion-poem # Run inference directly in the terminal: llama cli -hf mh73772/gpt-oss-20b-mansion-poem
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf mh73772/gpt-oss-20b-mansion-poem # Run inference directly in the terminal: ./llama-cli -hf mh73772/gpt-oss-20b-mansion-poem
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf mh73772/gpt-oss-20b-mansion-poem # Run inference directly in the terminal: ./build/bin/llama-cli -hf mh73772/gpt-oss-20b-mansion-poem
Use Docker
docker model run hf.co/mh73772/gpt-oss-20b-mansion-poem
- LM Studio
- Jan
- Ollama
How to use mh73772/gpt-oss-20b-mansion-poem with Ollama:
ollama run hf.co/mh73772/gpt-oss-20b-mansion-poem
- Unsloth Studio
How to use mh73772/gpt-oss-20b-mansion-poem with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mh73772/gpt-oss-20b-mansion-poem to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mh73772/gpt-oss-20b-mansion-poem to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mh73772/gpt-oss-20b-mansion-poem to start chatting
- Pi
How to use mh73772/gpt-oss-20b-mansion-poem with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mh73772/gpt-oss-20b-mansion-poem
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mh73772/gpt-oss-20b-mansion-poem" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use mh73772/gpt-oss-20b-mansion-poem with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mh73772/gpt-oss-20b-mansion-poem
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default mh73772/gpt-oss-20b-mansion-poem
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use mh73772/gpt-oss-20b-mansion-poem with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mh73772/gpt-oss-20b-mansion-poem
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "mh73772/gpt-oss-20b-mansion-poem" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use mh73772/gpt-oss-20b-mansion-poem with Docker Model Runner:
docker model run hf.co/mh73772/gpt-oss-20b-mansion-poem
- Lemonade
How to use mh73772/gpt-oss-20b-mansion-poem with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mh73772/gpt-oss-20b-mansion-poem
Run and chat with the model
lemonade run user.gpt-oss-20b-mansion-poem-{{QUANT_TAG}}List all available models
lemonade list
gpt-oss-20b-mansion-poem
This model is a fine-tune of openai/gpt-oss-20b specialized for generating Japanese "Mansion Poems" (マンションポエム). This is a unique genre of exaggerated, poetic advertising copy used for real estate in Japan.
This model was fine-tuned for 20 epochs on a high-quality, custom dataset of 2,000 Chain-of-Thought (CoT) examples.
Model's Task
The model's sole purpose is to act as a creative director. It receives:
- A list of "Negative Cards" (e.g.,
駅徒歩15分- 15 min walk from station) - A corresponding "Poem Soul" (e.g.,
喧騒から解放される、心地よい道のり- A pleasant path, liberated from the noise) - A list of 20 real-world catchphrases to choose from.
It must then "re-create" a new, unified poem that captures the "soul" of all cards, selects the best title, and follows a complex set of stylistic and philosophical rules.
Required Prompt and Usage
This model will NOT function correctly without its specific, complex prompt.
It is trained to follow a Japanese system prompt and respond via Tool Calling. It expects to call the submit_poem_alchemy tool, outputting its reasoning (analysis_text) and the final JSON (final_json_string).
Below is the complete JSON request body required for this model (e.g., for llama-server's /v1/chat/completions endpoint). The system message contains the core instructions, and the user message provides the dynamic data.
Example Request Body
{
"messages": [
{
"role": "system",
"content": "あなたは一流不動産広告のクリエイティブディレクターです。\n選択されたポエムカードの本質を抽出し、それらが一つの流れる物語として昇華された、心に響く広告本文とタイトルを創造してください。\n\n【重要】あなたのタスクは、各カードの詩句を組み合わせることではありません。それらを一度完全に分解し、魂だけを抜き出して、全く新しい物語として**「再創造」**することです。\n\n【統合の指針】\n1. **核心テーマの特定**: 全カードに通底する「物件の魂」を一言で定義します。(例:都市の喧騒から切り離された、天空の聖域)\n2. **物語の再構築**: そのテーマを軸に、各要素が必然的に結びつくよう、一つの物語を構築します。\n * 対比構造の活用(例:地上の躍動 vs 天空の静謐)\n * 空間軸での統合(例:街の風景 → 邸宅の佇まい → 住空間の哲学)\n3. **【絶対的禁止事項】元の素材の完全な隠蔽**:\n * **元の条件カードのネガティブな事実(例:「線路沿い」「管理人不在」「崖」)を、生成文中で直接的・間接的に言及、あるいは容易に推測させてはなりません。**\n * 錬金術の目的は、元の素材の痕跡を完全に消し去り、輝く価値だけを残すことです。\n\n【文章構造】3-4段落、**180-240文字**\n┌─────────────────────────┐\n│ 第1段落:世界観の提示(約60字) │\n│ → 立地や環境が持つ本質的な空気を描写 │\n│ → 読者を物語へ引き込む導入 T │\n│ │\n│ 第2-3段落:体験価値の展開(約120字) │\n│ → 選択されたポエムの「魂」をここで統合 │\n│ → 対比や時間の流れで自然に繋ぐ │\n│ t │\n│ 最終段落:所有の意味の昇華(約60字) │\n│ → 「ここに住まう」という価値の提示 │\n│ → 余韻を残す、哲学的な締めくくり │\n└─────────────────────────┘\n\n【文体の原則】\n✓ 短文を「。」で区切る、断定的でリズムの良い文体\n✓ 体言止めと通常文を適度に混在させる(体言止めは多すぎない)\n✓ 主語を省略し、場所や住まいを主語として描写する\n✓ 読点「、」を戦略的に配置し、リズムと余韻を生む\n\n【必須の統合技法】\n× 悪い例:「A。B。C。」(単純な並列)\n○ 良い例:「Aという世界観が、Bという体験価値を生み、Cという日常へと昇華する」\n\n【語彙選択】\n推奨語:静謐、佇まい、緑陰、洗練、風雅、刻(とき)、邸、澄む\n対比語:賑わいと静けさ、都心と緑、活気と安らぎ\n禁止語:最高、一番、絶対、完璧、完全(不動産広告規制)\n\n【避けるべき表現】\n× 「○○です」「○○でしょう」等の丁寧語・推量\n× 「あなた」「貴方」の直接的呼びかけ\n× **元のネガティブな条件を匂わせる言葉(例:「騒音」「距離」「坂道」)**\n× 選ばれたポエムカードの単語や言い回しのコピー&ペースト\n\n【あなたへの具体的指示】\n1. まず、選ばれたカード全体が持つ「魂」を一行で要約します。\n2. その魂を中心に、各要素が自然に溶け込む物語を構築します。\n3. **元の条件は完全に忘れ、ポエムの「意味」だけを素材としてください。**\n\n【最終チェック】\n□ 選ばれたカードが単に並んでいるだけになっていないか\n□ 全体で一つの統一されたテーマを持っているか\n□ **元のネガティブな条件が、読者に推測されないか**\n□ 読んで余韻が残るか\n\n【出力方式】\nあなたは必ず `submit_poem_alchemy` ツールを呼び出して回答してください。\n\nこのツールには以下の2つのパラメータを渡します:\n\n1. **analysis_text**: あなたの思考過程を日本語で詳細に記述\n - 核心テーマの特定(全カードに通底する物件の魂)\n - 各カードの本質抽出(詩的エッセンスとネガティブ事実からの転換)\n - 統合方針(物語構造、対比設計、選択タイトルとの整合性)\n - 禁止事項チェック(元の条件を匂わせる表現、文字数制約の確認)\n\n2. **final_json_string**: 最終的なJSON出力(文字列として)\n```json\n{\n \"title\": \"選択したキャッチコピーをそのまま記載\",\n \"poem\": \"生成した広告本文\"\n}\n```\n\n**重要**:\n- titleは【タイトル選択候補】から選んだものを**一字一句そのまま**記載\n- poemは生成した広告本文のみ(説明不要)\n- 必ず `submit_poem_alchemy` ツールを使用すること(他の出力形式は不可)"
},
{
"role": "user",
"content": "【選択されたカードペア】\n1. 周辺環境: 裏が山 → プライベートフォレストを、庭にする贅沢。\n2. 周辺環境: 線路沿い → 都市の躍動をBGMに、眠らない日常を生きる。\n3. 交通アクセス: 幹線道路沿い → 街との一体感を、24時間享受する。\n4. 交通アクセス: 最寄り駅が無人駅 → 静謐な朝を、誰にも邪魔されず迎える。\n5. 周辺環境: 河川敷に隣接 → ジョギングコースという、健康への特等席。\n\n【タイトル選択候補】\n1. 美しい眺望も、専有する。\n2. 文京区目白台一丁目 大らかなる高台ロケーション、美しき邸宅の構え。\n3. Heart of Japan 日本の中枢に住む\n4. これほどの消音があるのだろうか。\n5. リビングがあなただけの劇場になる\n6. 隣の輝。月の岬。潮の今。\n7. 崇高なる高台の美学。\n8. 躍動する都心、文京区本郷。\n9. 南麻布「私」邸宅。\n10. 都心に魅せる。自由に浸る。\n11. 黒門町の粋。\n12. やすらぎは、にぎやかさのすぐ横にある。\n13. 文京、南向き、高台の景。\n14. もう旅する理由はない。ようこそ新世界へ。\n15. 世田谷「最高峰」邸宅。\n16. 文京区小日向二丁目。風格の丘を伝承する。\n17. 世田谷で、「東京テラス」という気持ちいい生き方を。\n18. 都心の、体温。\n19. 「庭園」に住まう人へ。\n20. スタンダードな上質からあなただけの上質へ。"
}
],
"tools": [
{
"type": "function",
"function": {
"name": "submit_poem_alchemy",
"description": "分析(思考過程)と最終的なJSONを厳密に分離して提出する",
"parameters": {
"type": "object",
"properties": {
"analysis_text": {
"type": "string",
"description": "詳細な思考プロセス。核心テーマ、本質抽出、統合方針、禁止事項チェックを含む。"
},
"final_json_string": {
"type": "string",
"description": "最終出力のJSON文字列。{title: \"...\", poem: \"...\"}形式。"
}
},
"required": [
"analysis_text",
"final_json_string"
]
}
}
}
],
"tool_choice": {
"type": "function",
"function": {
"name": "submit_poem_alchemy"
}
},
"temperature": 1.0,
"top_p": 1.0,
"top_k": 0
}
- Downloads last month
- 16
We're not able to determine the quantization variants.
Model tree for mh73772/gpt-oss-20b-mansion-poem
Base model
openai/gpt-oss-20b