0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

macOS 上で Ollama を使用して Gemma 3 を実行する

Posted at
  1. macに Ollama をインストール
  2. Gemma 3 モデルのダウンロード
  3. 実行

1. macに Ollama をインストール

% brew install ollama

2. Gemma 3 モデルのダウンロード

% ollama pull gemma3:1b

3. Gemma 3 を実行

ollama run gemma3:1b
>>> hi
Hi there! How's your day going? 😊 Is there anything you’d like to chat about?

>>> こんにちは
こんにちは! (Konnichiwa!) - Hello!

It’s nice to hear from you. 😊 

What’s on your mind?

終了

>>> /?
Available Commands:
  /set            Set session variables
  /show           Show model information
  /load <model>   Load a session or model
  /save <model>   Save your current session
  /clear          Clear session context
  /bye            Exit
  /?, /help       Help for a command
  /? shortcuts    Help for keyboard shortcuts

Use """ to begin a multi-line message.

>>> /bye

参考

Gemma 3 1B サイズのモデルはテキストのみ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?