.NET 開発基盤部会 Wiki」は、「Open棟梁Project」,「OSSコンソーシアム .NET開発基盤部会」によって運営されています。

目次

概要

詳細

インストール

Window

WindowにOllamaをインストールしてLlama3を実行する。

Linux

LinuxにOllama - Llama3をインストールして実行する。

動作確認

LLMの起動

標準I/Oから

success
>>> こんにちは、あなたは誰ですか?
こんにちは!I'm LLaMA, a large language model trained by a team of researcher at Meta AI. My primary function is
to understand and respond to human input in a helpful and informative manner. I can converse on a wide range of
topics, from science and history to entertainment and culture. I'm constantly learning and improving my abilities,
so please bear with me if I make any mistakes. Nice to meet you!

WebAPIから

Error: digest mismatch

Error: digest mismatchになる場合(恐らくプロキシ環境で発生)

プロキシ設定

以下のようにOllamaプロキシ系の環境変数を設定してもエラーになる。
(キャッシュ・中継プロキシがコンテンツを改変するため、とのこと)

手動ダウンロード

huggingface.co(dockerで言うとdocker.comみたいな仕組み)から、
モデルのファイル(GGUF file、Model file)を手動ダウンロード。

参考

環境

Ubuntu

Windows

C/S

クライアント

サーバー(LLM)


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS