본문 바로가기

[LLM] 자습 중. 참고 목록 모음집 본문

공부

[LLM] 자습 중. 참고 목록 모음집

Savedata 2024. 5. 13. 19:04

랭체인 라이브러리를 이용하여 LLM 모델을 간단히 만들어보기 위해 참고 목록 (삽질 목록)

 

세상에는 많고 많은 예제코드가 있지만 잘 돌아가는 건 한 줌 이더라.

 

목 차

 

1. (믿음직한) 깃허브 코드

2. (감사한) 테디노트님의 무료 전자책

3. (역시) 공식 사이트 예제 및 튜토리얼

4. (뭐..) FM 깃허브

위의 목차를 클릭하면 해당 글로 자동 이동 합니다.

 

1. (믿음직한) 깃허브 코드

깃허브 랭체인 (공식)

https://github.com/langchain-ai/langchain

 

GitHub - langchain-ai/langchain: 🦜🔗 Build context-aware reasoning applications

🦜🔗 Build context-aware reasoning applications. Contribute to langchain-ai/langchain development by creating an account on GitHub.

github.com

 

깃허브 랭체인

https://github.com/wikibook/langchain/tree/master

 

GitHub - wikibook/langchain: 《랭체인 완벽 입문》 예제 코드

《랭체인 완벽 입문》 예제 코드. Contribute to wikibook/langchain development by creating an account on GitHub.

github.com

 

2. (감사한) 테디노트님의 무료 전자책

랭체인노트

CH06: Chains

문서 전체 요약 방법 내용 페이지 https://wikidocs.net/234020

 

03. 문서 전체 요약(Stuff Documents Chain)

.custom { background-color: #008d8d; color: white; padding: 0.25em 0.5…

wikidocs.net

CH07: Document Loader

논문 데이터 불러오기 (PDF 데이터 불러오기) https://wikidocs.net/233820

 

01. 논문(arxiv)

.custom { background-color: #008d8d; color: white; padding: 0.25em …

wikidocs.net

CH10: VectorStore

벡터 저장소 관련 내용 https://wikidocs.net/234013

 

01. 벡터저장소(VectorStore) 사용법 톺아보기

.custom { background-color: #008d8d; color: white; padding: 0.25em 0.5…

wikidocs.net

CH12: RAG (Retrieval Augemented Generation)

RAG 기법에 대한 설명 https://wikidocs.net/234008

 

01. 기본내용 - 네이버 뉴스기사 QA 봇

.custom { background-color: #008d8d; color: white; padding: 0.25em 0.5…

wikidocs.net

CH13: LCEL (LangChain Expression Language)

LCEL 문법에 관한 정리 https://wikidocs.net/235580

 

01. RunnablePassthrough: 데이터 전달

.custom { background-color: #008d8d; color: white; padding: 0.25em 0.5…

wikidocs.net

 

3. (역시) 공식 사이트 예제 및 튜토리얼

OpenAI 랭체인 예제코드

https://github.com/openai/openai-cookbook/blob/main/examples/How_to_build_a_tool-using_agent_with_Langchain.ipynb

 

openai-cookbook/examples/How_to_build_a_tool-using_agent_with_Langchain.ipynb at main · openai/openai-cookbook

Examples and guides for using the OpenAI API. Contribute to openai/openai-cookbook development by creating an account on GitHub.

github.com

 

LangChain 공식 튜토리얼 메뉴얼

https://python.langchain.com/docs/get_started/quickstart/

 

Quickstart | 🦜️🔗 LangChain

In this quickstart we'll show you how to:

python.langchain.com

 

4. (뭐..) FM 깃허브

라마 모델 깃허브

https://github.com/ollama/ollama-python

 

GitHub - ollama/ollama-python: Ollama Python library

Ollama Python library. Contribute to ollama/ollama-python development by creating an account on GitHub.

github.com

 

OpenAI 깃허브

https://github.com/openai

 

OpenAI

OpenAI has 168 repositories available. Follow their code on GitHub.

github.com

 


업무망 분리로 인터넷으로 바로 작업할 수 없는 회사 환경 탓에 집에서 구축하여 이리저리 뻘짓을 해보는 중.

Trial and error를 반복하며 벽돌 한 장씩! (부실공사!🤣)

 


RAG 기법 이미지

 

LangChain 구조

RAG (Retrieval-Augmented Generation)

대규모 언어 모델의 출력을 최적화하여 응답을 생성하기 전에 학습 데이터 소스 외부의 신뢰할 수 있는 지식 베이스를 참조하도록 하는 프로세스. LLM을 학습시키지 않고 이용하는 방식이기에 비용 효율적인 기법이다.

'공부' 카테고리의 다른 글

[LLM] Ollama Local 설치  (0) 2024.05.28
[LLM] Colab langchain 실습  (0) 2024.05.22
[LLM] 시작  (0) 2024.04.22
타닥타닥17: Superset Chart 및 Dashboard구성2  (0) 2023.08.15
타닥타닥16: Superset User&Role  (0) 2023.06.20
Comments