Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLMキャッチアップ12/16 #26

Open
Eigo-Mt-Fuji opened this issue Dec 16, 2023 · 2 comments
Open

LLMキャッチアップ12/16 #26

Eigo-Mt-Fuji opened this issue Dec 16, 2023 · 2 comments

Comments

@Eigo-Mt-Fuji
Copy link
Owner

Eigo-Mt-Fuji commented Dec 16, 2023

背景

・プロンプトテンプレート 
・OpenAI API  github.com/go-openapi
    Audio
    Chat
    Embeddings
    Fine-tuning
    Files
    Images
    Models
    Moderations
・Langchain github.com/tmc/langchaingo
・VectorStore github.com/weaviate/weaviate github.com/weaviate/weaviate-go-client
・Git操作
@Eigo-Mt-Fuji
Copy link
Owner Author

Eigo-Mt-Fuji commented Dec 16, 2023

LangChain is a framework for developing applications powered by language models. It enables applications that

  • Are context-aware(コンテキスト検出)
    • connect a language model to sources of context
      • prompt instructions
      • few shot examples
      • content to ground its response in
  • Reason(推論)
    • rely on a language model to reason
    • about how to answer based on provided context, what actions to take, etc.

@Eigo-Mt-Fuji
Copy link
Owner Author

  • ローカルLLMのメリットを説明する上で、OpenAI APIの制約を考えるとプロンプトの挙動が仕様変更によって上手く動かなくなるリスクがあります。モデルのバージョン固定も限定的であり、例えばOpenAI APIには「gpt-3.5-turbo-0613」という今年6月にリリースされたモデルは利用期限が2024年の6月13日と、一年程度しか使えません。
    つまり、提供されたAPIを通じてLLMを使う場合、提供者側のリリースに左右される。一方、ローカルLLMはファイルとして公開されたモデルをダウンロードして利用する(その気になれば10年間利用することも理論上は可能)

  • ただし、一般的にAPIサービスよりも性能は下がる(ほんと?) 計算資源を沢山使う(どの程度) スケール難易度が高い(小規模な環境であれば使えるかも)

  • 費用の問題を解決すれば、適用可能なシーンがあるかもしれない。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant