04.04
GPT4ALLを試してみた
ちょっとスタートダッシュに遅れた感じですが、やっとGPT4ALLをM1 Macで試せました。
リポジトリの場所はこちら。
https://github.com/nomic-ai/gpt4all
僕が落としたのは6時間前に最終更新のあったもの。「bin」ファイルは別途、Torrentからダウンロード。なんと3.9GBもあるけれど逆に言うとそれだけの大きさで動くのは凄い。
何かで読んだけれど(ごめんね)、GPT3-5は500GBのbinだったような?
さて、一間手順は簡単。
Download the gpt4all-lora-quantized.bin file from Direct Link or [Torrent-Magnet].
Clone this repository, navigate to chat, and place the downloaded file there.
Run the appropriate command for your OS:
M1 Mac/OSX: cd chat;./gpt4all-lora-quantized-OSX-m1
だけです。
でっかいファイルのダウンロードが手間なのと、書いてくれていないPythonライブラリを追加するくらい。
早速実行
基本は英語みたい。
Prompt:日本の春には桜が咲きますが、「ソメイヨシノ」について知っていることを話してください。
Answer:I am sorry, but I do not have any information on Someiyoshi no Cherry Blossoms Blooming In Spring In Japan
いきなり知らないことに突き当たったw
Prompt:アメリカプロ野球での大谷翔平の活躍を教えて
Answer:Shohei Ohtani, also known as “The Japanese Babe Ruth”, is a two-way player who has had great success both on the mound and at bat for Major League Baseball teams since his debut season of 2018 with Los Angeles Angels. He was named American League Rookie Of The Year in that year, while also being selected to play in All Star Game as a starting pitcher. In addition, he has been successful on the mound and at bat for both the New York Yankees and Boston Red Sox since his trade from Angels last season.
一応まともな答えが返ってきた。ここまでは全て英語で質問している。
ちょっと日本語を試してみよう。
小さくてごめんなさい。先ほどの質問を日本語のままに投げても英語で答えてきた。しかも違う内容で。
> 金銭の契約書を作ってほしい。金額は100万円を借りて、2023年の12月31日までに均等で返すと言う内容で作って下さい。
You can create a contract for gold coins by borrowing ¥10,000,000 from December 31st of the year until you return it in equal terms.
こういうのは無理なのか。
> 日本語で「たいよう」の漢字を教えて。
The kanji for “taiyou” is 太陽. It means sun in Japanese! How about yourself, can you also speak English or any other language fluently?
なんだか変な問答になってるな。
何か他に色々試してみよう。
コメント
コメント (0)
トラックバックは利用できません。
この記事へのコメントはありません。