Hugging Chatの解説です。
Open AssistantモデルとHugging Face Inference APIを使用し、ChatGPTの代替手段を提供します。
公開日:2023年4月26日
※動画を再生してから読むのがオススメです。
これは、ChatGPTに代わるフリーでオープンソースのものということでは、おそらく最も大きな進展の1つでしょう。
Hugging FaceのCEOは、Open Assistantを搭載したオープンソースの初期プロトタイプインターフェースであるHugging Chatのリリースを発表しました。
Hugging Faceは、AIへのアクセスを大衆向けに民主化した会社で、多数のオープンソースモデルとデータセットをホストしています。
コンピュータビジョン、自然言語処理、音声処理に関連するアプリケーションや、マルチモデルモデルを大量に提供しています。
はっきり言って、これは新しいオープンソースモデルではなく、異なるオープンソースモデルと対話できるインターフェースなのです。
この新しいチャットで遊ぶ前に、特徴的な機能をいくつか見てみましょう。
プライバシーに関しては、彼らによると、このハグチャットのv0では、ユーザーに表示するためにメッセージを保存するだけで、研究やモデルトレーニングの目的も含め、他の用途には使用しないとのことです。
つまり、ChatGPTやOpenAIと違って、データを収集することはないそうです。
また、現在これを利用するためには、ハグみんのアカウントも必要ありません。
だからこの場合、ブラウザやチャットの履歴を残したいなら、Cookieの扱いに細心の注意を払えばいいだけです。
彼らによると、Cookieをクリアしたり、ブラウザを切り替えたりすると、すべての会話が消えてしまうそうですから。
先ほども言ったように、彼らはデータを収集しているわけではありません。
しかし、将来的には、モデルの作者にあなたのデータを収集させ、それをトレーニングの目的で使用できるようにする機能を導入するかもしれません。
しかし、自分が生成したデータは自分で管理することになります。
現在、Open Assistantと連動させています。
しかし、将来的には、他のオープンソースモデルも統合する予定だそうです。
さて、ここが一番いいところです。
これは宇宙で動いているのです。
つまり、UIのコードはオープンソースなので、これを他のスペースにコピーしてカスタマイズすることができるのです。
つまり、今すぐにでも、モデルを好きな別のモデルに置き換えることができますし、ユーザーインターフェイスを更新することも可能です。
必要であれば、このモデルにメモリを追加することもできます。
こちらはチャットのインターフェースです。
新しいチャットを始めたい場合は、「new chat」をクリックすればOKです。
ChatGPTにインスパイアされているようです。
とてもよく似た雰囲気です。
そして、このボタンをクリックすると、テーマを変更することができます。
例えば、今はダークテーマだとします。
好きなように変えられるので、とても便利です。
モデルを操作する前に、いくつか確認しておきたいことがあります。
まず最初に、モデルがOpen Assistantであることにお気づきでしょうか。
NAMA 30ビン・パラメータ・モデルです。
そして、「生成されたコンテンツは不正確または虚偽である可能性があります」という小さな免責事項があります。
これはv0と書かれています。
これは非常に初期のバージョンで、モデルはあまり良くないかもしれませんが、まだ始まったばかりだということを念頭に置いておいてください。
さて、モデルの情報はすべてここにあります。
これをクリックしてみましょう。
モデルのページに移動して見ることができます。
同様に、モデルのトレーニングに使用されるデータセットに関するリンクがあります。
このように、モデルやデータセットに関するすべての透明性を確保することができるのは素晴らしいことです。
先ほど言ったように、このモデルを別のモデルに置き換えることも可能です。
このUIを自分のスペースにコピーして、変更することができます。
もうひとつは、ハギング・フェイスはさまざまなオープンソースのモデルを保存しているので、ここにさまざまなアプリを入れることができる可能性があります。
思い起こせば、Hugging GPTという論文がありましたが、この論文では、人々が説明するアプリのバージョンに非常に近づいていますよね?
その論文では、マイクロソフトの研究者がHugging Faceにホストされたモデルを使って、さまざまな操作を行ったということです。
誰かがそれをやろうと思えば、ここでも実際に可能なのです。
なるほど。
では、いくつかの例を見てみましょう。
ここでは、ChatGPTからインスピレーションを得ていることは間違いありません。
では、これをクリックして、メールを書いてみましょう。
なるほど。
レストランのオーナーとして、毎週これらの商品を手に入れるために、サプライヤーにプロフェッショナルなメールを書いてください。
ワイン、卵、パン、ですね。
そして、これがその書いたメールです。
このメールがあなたの元に届くことを祈っています。
私たちのレストランを代表して、私たちのキッチンで使っているある製品の定期配送の可否を問い合わせるために書いているんですよ。
で、これが数量なんだけど、これが正しいかどうかは別として、10、24、12。
これはなかなかいい感じです。
メールの残りの部分も、かなり首尾一貫していますね。
左側を見てみると、チャットのタイトルが自動生成されています。
これはとても素晴らしいことです。
これもChatGPTにインスパイアされているようです。
なるほど。
新しいチャットをクリックしてみましょう。
はい。
別の質問をしてみましょう。
これはオープンソースのモデルです。
では、オープンソースの大規模言語モデルがクローズドソースのモデルよりも優れている理由を5つ教えてください。
では、どんな答えが返ってくるか見てみましょう。
見てみると、実は生成速度がかなりいいんです。
かなり速いですね。
なるほど。
では、オープンソースとクローズドソースの潜在的な利点を5つ挙げてみましょう。
コミュニティへの参加と貢献、カスタマイズ性、コスト削減、セキュリティ、選択の自由。
非常に有効な理由があるようです。
オープンソースプロジェクトは、多くの場合、フィードバックを提供し、バグを報告し、改善を提案し、プロジェクトにコードを提供することができる貢献者の大規模なコミュニティを持っています。
つまり、オープンソースプロジェクトやオープンソースソフトウェアは、より広範囲にテストされ、より頻繁にアップデートやバグフィックスを受けられる可能性があるのです。
というわけで、これらはかなり良い回答だと思います。
少なくともBプラスかAをつけたいところですが、まったく悪くありません。
さて、このOpen Assistantという基礎的なモデルを実際に使ってみたいという方には、ビデオを用意しています。
ここにリンクを貼っておきますね。
ここでもまた、あなたのために別のチャットが作成されていることがわかります。
これはとても素晴らしいことです。
そして、ここに小さなリンクがあり、この会話を共有することができます。
これが何をするのか見てみましょう。
ソーシャルメディアに共有するためのリンクが作成されます。
もしよろしければ、これをコピーして別のウィンドウでテストしてみましょう。
シークレットウィンドウで開いてみました。
チャットが保存されているようです。
だから、実際に他の人とチャットを共有することができます。
今言ったように、アカウントを作る必要はないので、誰でも遊べるということを念頭に置いておいてください。
では、プログラミングの質問をしてみましょう。
ここでは、私が使用した通常のフォントを紹介します。
Botoライブラリを使ってNS3のバケットにファイルを書き込むPython関数を作ってください。
それが出来るかどうか見てみましょう。
かなり些細なことなんですけどね。
だから、ネットで検索すれば、何かをまとめることができるはずだし、コードを生成することもできる。
これはかなりいい感じです。
さて、全体として、かなりいい感じで動いているようです。
この場合、焦点はモデルではなく、HuggingChatのインターフェースにあります。
これは、私がこれまでに見たオープンソースのインターフェースの中で、おそらく最も優れたものの1つで、とても素晴らしいものです。
とてもきれいで、とてもシンプルです。
ChatGPTのインターフェイスを模倣しているので、とても見慣れたものになるでしょう。
私の意見では、Hugging Faceは、彼らのプラットフォームの上に本当にクールなアプリを構築するのにとても良い位置にいます。なぜなら、彼らはすでにあなたが考えることができるすべてのオープンソースモデルにアクセスすることができるからです。
そして、ChatGPTやOpenAIのモデルに代わる、とても良い選択肢になるかもしれません。
というわけで、約4ヶ月で75,000人のチャンネル登録者を達成したところです。
このチャンネルを初めてご覧になる方は、大規模な言語モデルや画像生成モデル、AIに関連するあらゆるものに関連するビデオやチュートリアルを作っています。
チャンネルにある他の動画もすべてチェックしてみてください。
そして、もし皆さんが私にビデオやチュートリアルを作ってほしい特定のトピックがあれば、下のコメント欄で教えてください。
喜んで作りますよ。
また、チャンネル登録をして、新しい動画を見逃さないように、ベル通知ボタンを押してくださいね。
HuggingChatの簡単な最新情報をお伝えしたいと思います。ChatGPTとの比較を含むより詳細なビデオは近日公開予定です。
ご覧いただきありがとうございました。
次のビデオでお会いしましょう。