Skip to content

Instantly share code, notes, and snippets.

@gpsnmeajp
Last active December 28, 2025 14:14
Show Gist options
  • Select an option

  • Save gpsnmeajp/960f3fa62b7a64fcb401a28a186b02f5 to your computer and use it in GitHub Desktop.

Select an option

Save gpsnmeajp/960f3fa62b7a64fcb401a28a186b02f5 to your computer and use it in GitHub Desktop.
transformers gpt-oss:20b t=0.3
$ TRITON_PTXAS_PATH=/usr/local/cuda/bin/ptxas python main.py
/home/gpsnmeajp/work/gptosstest/env/lib/python3.12/site-packages/torch/cuda/__init__.py:283: UserWarning:
    Found GPU0 NVIDIA GB10 which is of cuda capability 12.1.
    Minimum and Maximum cuda capability supported by this version of PyTorch is
    (8.0) - (12.0)

  warnings.warn(
Fetching 41 files: 100%|████████████████████████████████████████████████████████████████████████| 41/41 [00:00<00:00, 15017.59it/s]
Fetching 41 files: 100%|████████████████████████████████████████████████████████████████████████| 41/41 [00:00<00:00, 17419.62it/s]
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████████| 3/3 [01:12<00:00, 24.23s/it]
analysisThe user wants a story with a resident doctor (研修医) as the protagonist. They didn't specify length, but likely a short story. Should be in Japanese. They want a story. We need to create a narrative about a resident doctor, maybe dealing with challenges, learning, etc. We can incorporate medical details, emotional aspects, maybe a particular case. The story should be engaging. Let's write a short story in Japanese, maybe 800-1200 characters? They didn't specify length, but we can aim for a decent length, maybe 1000-1500 characters. We'll include the protagonist's name, maybe "佐藤健太" or something. The story can be about a night shift, a difficult case, learning to balance life, etc. Let's craft a narrative with some introspection. We'll make it a bit poetic. We'll show the protagonist's growth. We'll keep it in Japanese. We'll avoid too many medical jargon, but some can be included. We'll mention the hospital, the ward, the colleagues. We'll show a turning point: maybe a patient who is a child, or an elderly patient, or a trauma. The protagonist learns empathy. We'll end with a hopeful note.

Let's write.assistantfinal**研修医の夜**

佐藤健太は、まだ研修医としての初めての夜勤を迎えていた。
病棟の灯りは薄暗く、ベッド横のモニターが青白い光を放っている。
「今日も頑張ろう」と自分に言い聞かせ、彼は手術室へと向かった。

手術室に入ると、先輩医師の鈴木先生が静かに手術を監督していた。
「健太、手術の流れを覚えているか?」
「はい、先生。手術前に確認したい点が…」
鈴木先生は微笑み、手術の手順を一つひとつ丁寧に説明した。
健太はその説明を聞きながら、心の中で「自分もいつかこういう手術をできるんだ」と思った。

手術が終わると、彼は病棟へ戻った。
そこには、胸を痛めて入院したばかりの高齢女性、田中さんがいた。
「先生、痛いです…」
田中さんの声は震えていた。
健太は彼女の手を取り、優しく声をかけた。「大丈夫です。痛みを和らげるために、少し薬を投与しますね。」
薬を投与した後、田中さんは少し笑顔を見せた。
「ありがとう、若い先生。」
その言葉に、健太は胸が熱くなるのを感じた。

その夜、健太は病棟のベッドサイドで、数人の患者と向き合いながら、医師としての責任と使命を改めて実感した。
「患者の痛みを和らげること、命を守ること、そして何よりも信頼を築くことが大切だ」と自分に言い聞かせた。

夜が明ける頃、健太は病棟を出ると、外の空気が少しずつ温かくなっているのを感じた。
彼は深呼吸をし、心の中で「今日も学び、成長できた」と静かに呟いた。

研修医としての道は長い。
だが、彼は今、患者一人ひとりと向き合うことで、少しずつ自分の医療の在り方を見つけていくのだった。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment