タイトル : Ollama で gpt-oss-20b の最初の一歩 gpt-oss を試す 2025
更新日 : 2025-08-09
カテゴリ : AI、IA、数理
タグ :
llm   
python   

gpt-oss を試す

質問します

run でモデル名を指定します。 https://ollama.com/library/gpt-oss:20b

モデルを最初に使う時に pullも行われます。

$ ollama run gpt-oss:20b
pulling manifest 
pulling b112e727c6f1: 100% ▕██████████████████▏  13 GB                         
pulling 51468a0fd901: 100% ▕██████████████████▏ 7.4 KB                         
pulling f60356777647: 100% ▕██████████████████▏  11 KB                         
pulling d8ba2f9a17b3: 100% ▕██████████████████▏   18 B                         
pulling 8d6fddaf04b2: 100% ▕██████████████████▏  489 B                         
verifying sha256 digest 
writing manifest 
success 
>>> perlとrubyの将来性は?
Thinking...
The user asks in Japanese: "perlとrubyの将来性は?" They want to know the 
future prospects of Perl and Ruby. We should answer in Japanese, giving an 
overview of both languages, current status, use cases, community, industry 
trends, etc. Possibly mention that Perl is older, used in system admin, 
older code base, still used in some domains like bioinformatics, etc. 
Ruby, especially Ruby on Rails, had popularity, but has waned, but still 
used in web dev, startup, etc. Also mention alternative languages like 
Python, JavaScript, etc.

Also talk about how Perl's usage is declining but still in maintenance of 
legacy systems; Ruby's usage maybe stable but some shift to other 
frameworks, but still used. Talk about future: both languages may see 
niche use; Perl's community is smaller, but still robust in certain 
domains. Ruby's ecosystem has matured, but new frameworks like Hanami, 
Ruby 3+ improvements. Emphasize that neither language is dead; they have 
their own strengths.

Also mention language features: Ruby 3.1 with concurrency, improved 
performance, etc. Perl 5.38 with new features, but still heavy.

Also mention that Perl's future is more about maintainers of existing 
code, whereas Ruby's future is about evolving frameworks and performance.

We can also mention that other languages may supplant them: Python for 
scripting, Go for system, etc. Provide advice on learning, if they want to 
invest in future.

Ok, produce a comprehensive answer in Japanese, covering both languages, 
trends, communities, industries, use cases, and the likely future. Mention 
statistics if possible.

The answer should be fairly long, but not too long. Probably around 
800-1200 words.

Also mention that both languages are open source, with strong communities, 
but not as popular as Python or JavaScript.

Ok, let's draft.
...done thinking.

## PerlとRubyの「将来性」― 2025年時点での現状と展望

これ以降180行程、見事な回答が日本語で続く

すごいな~感心します

/byeで抜けます。pullされたので、listコマンドでモデルが表示されます。

>>> /bye
$ ollama list
NAME           ID              SIZE     MODIFIED       
gpt-oss:20b    f2b8351c629c    13 GB    11 minutes ago    
$

ちなみに。Rubyの Hanamiってなんだ? 有望そうな回答ですね

> **結論**  
> Ruby は「Web アプリ開発」=「高速開発と堅牢性」のバランスで強いポジション
を保ち続けます。特に **Ruby 3 でのパフォーマンス改善** と **クラウド環境との
親和性** が将来性を押し上げる要因です。Rails が主流であっても、Hanami などの
軽量フレームワークに移行するケースが増える可能性もあります。