6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Google Gemma-7bを試しました。

Last updated at Posted at 2024-02-25

先週Googleが商用利用可能なOSSLLM「Gemma」を公開しました。
Hugging Faceが公開したベンチマークスコアによると、Mistral-7BやPHI-2を上回っています。

image.png

私も試してみました。
英語のモデルですが、まずは日本語で質問してみることにしました。
「エネルギー業界の最適化ユースケースを教えて」と質問したところ、複数回試した結果、最も良い回答は以下となります。質問は理解しましたが、回答は英語、日本語、韓国語が混在している状態でした。

image.png

英語で聞いたら特に問題なく回答が生成されました。

image.png

あと日本語で質問すると、時々”RuntimeError: probability tensor contains either inf, nan or element < 0”のエラーが発生します。調べてみたところ、パラメーターの設定が原因のようですが、質問の文面を少し変更するとエラーがなくなることもあります。やはり日本語支援しないためにエラーが頻発する傾向にあるようです。

他にも色々基本的な質問を試しましたが、試した感想としては、Mistral-7bと大きな違いを感じることはありませんでした。
ただ、今後Gemmaを基にした日本語の継続学習LLMやfinetuningモデルも公開されると思いますので、それには期待しています。

⇩Huggingfaceで簡単にfine-tuningもできますので、次回試してみたいと思います。

興味ある方:

6
6
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
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?