gpt-academic / docs /README.Korean.md
qingxu98's picture
version 3.6
17d0a32
|
raw
history blame
25.3 kB
> **์ฐธ๊ณ **
>
> ์ด README๋Š” GPT ๋ฒˆ์—ญ์œผ๋กœ ์ƒ์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค (์ด ํ”„๋กœ์ ํŠธ์˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์— ์˜ํ•ด ๊ตฌํ˜„๋จ) . 100% ์‹ ๋ขฐํ•  ์ˆ˜ ์—†์œผ๋ฏ€๋กœ ๋ฒˆ์—ญ ๊ฒฐ๊ณผ๋ฅผ ์ฃผ์˜ ๊นŠ๊ฒŒ ๊ฒ€ํ† ํ•˜์‹ญ์‹œ์˜ค.
>
> 2023.11.7: ์ข…์†์„ฑ์„ ์„ค์น˜ํ•  ๋•Œ, `requirements.txt`์— **์ง€์ •๋œ ๋ฒ„์ „**์„ ์„ ํƒํ•˜์‹ญ์‹œ์˜ค. ์„ค์น˜ ๋ช…๋ น์–ด: `pip install -r requirements.txt`.
# <div align=center><img src="logo.png" width="40"> GPT ํ•™์ˆ  ์ตœ์ ํ™” (GPT Academic)</div>
**์ด ํ”„๋กœ์ ํŠธ๊ฐ€ ๋งˆ์Œ์— ๋“œ์‹ ๋‹ค๋ฉด, Star๋ฅผ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค. ํŽธ๋ฆฌํ•œ ๋‹จ์ถ•ํ‚ค๋‚˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ๋ฐœ๊ฒฌํ•˜์…จ๋‹ค๋ฉด Pull Request๋ฅผ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค!**
GPT๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ด ํ”„๋กœ์ ํŠธ๋ฅผ ์ž„์˜์˜ ์–ธ์–ด๋กœ ๋ฒˆ์—ญํ•˜๋ ค๋ฉด [`multi_language.py`](multi_language.py)๋ฅผ ์ฝ๊ณ  ์‹คํ–‰ํ•˜์‹ญ์‹œ์˜ค (์‹คํ—˜์ ).
> **์ฐธ๊ณ **
>
> 1. **๊ฐ•์กฐ ํ‘œ์‹œ**๋œ ํ”Œ๋Ÿฌ๊ทธ์ธ (๋ฒ„ํŠผ)๋งŒ ํŒŒ์ผ์„ ์ฝ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ผ๋ถ€ ํ”Œ๋Ÿฌ๊ทธ์ธ์€ ํ”Œ๋Ÿฌ๊ทธ์ธ ์˜์—ญ์˜ **๋“œ๋กญ๋‹ค์šด ๋ฉ”๋‰ด**์— ์žˆ์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ ์ƒˆ๋กœ์šด ํ”Œ๋Ÿฌ๊ทธ์ธ์— ๋Œ€ํ•œ ๋ชจ๋“  PR์„ ํ™˜์˜ํ•˜๋ฉฐ, ์ด๋ฅผ **๊ฐ€์žฅ ์šฐ์„ ์ **์œผ๋กœ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค.
>
> 2. ์ด ํ”„๋กœ์ ํŠธ์˜ ๊ฐ ํŒŒ์ผ์˜ ๊ธฐ๋Šฅ์€ [์ž์ฒด ๋ถ„์„ ๋ณด๊ณ ์„œ `self_analysis.md`](https://github.com/binary-husky/gpt_academic/wiki/GPTโ€Academic%EC%A0%9C%ED%94%84%EB%AA%85%EC%84%B1%EB%B0%A9%EC%8B%9D%EC%9D%98_%EA%B2%B0%EA%B3%BC)์—์„œ ์ž์„ธํžˆ ์„ค๋ช…๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฒ„์ „์ด ๋ฐ˜๋ณต๋จ์— ๋”ฐ๋ผ, ๊ด€๋ จ ๊ธฐ๋Šฅ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์–ธ์ œ๋“ ์ง€ ํด๋ฆญํ•˜์—ฌ GPT๋ฅผ ํ˜ธ์ถœํ•˜์—ฌ ํ”„๋กœ์ ํŠธ์˜ ์ž์ฒด ๋ถ„์„ ๋ณด๊ณ ์„œ๋ฅผ ๋‹ค์‹œ ์ƒ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ์€ [`์œ„ํ‚ค`](https://github.com/binary-husky/gpt_academic/wiki)๋ฅผ ์ฐธ์กฐํ•˜์‹ญ์‹œ์˜ค. [์ผ๋ฐ˜์ ์ธ ์„ค์น˜ ๋ฐฉ๋ฒ•](#installation) | [์›ํด๋ฆญ ์„ค์น˜ ์Šคํฌ๋ฆฝํŠธ](https://github.com/binary-husky/gpt_academic/releases) | [์„ค์ • ์„ค๋ช…์„œ](https://github.com/binary-husky/gpt_academic/wiki/%EC%84%A4%EC%A0%95%EC%82%AC%EB%AA%85_%EA%B0%84%EB%8B%A8_%EC%84%B8%ED%8A%B8%EB%B2%84_%EC%B6%94%EA%B0%80)
> 3. ์ด ํ”„๋กœ์ ํŠธ๋Š” ChatGLM ๋“ฑ ๋Œ€ํ˜• ์–ธ์–ด ๋ชจ๋ธ (ChatGLM ๋“ฑ) ์‹คํ–‰์„ ์ง€์›ํ•˜๊ณ  ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ ๊ฐœ์˜ API ํ‚ค๋ฅผ ๋™์‹œ์— ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ, ๊ตฌ์„ฑ ํŒŒ์ผ์— `API_KEY="openai-key1,openai-key2,azure-key3,api2d-key4"`์™€ ๊ฐ™์ด ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. `API_KEY`๋ฅผ ์ผ์‹œ์ ์œผ๋กœ ๋ณ€๊ฒฝํ•ด์•ผ ํ•˜๋Š” ๊ฒฝ์šฐ, ์ž…๋ ฅ ์˜์—ญ์— ์ž„์‹œ `API_KEY`๋ฅผ ์ž…๋ ฅํ•œ ๋‹ค์Œ Enter ํ‚ค๋ฅผ ๋ˆ„๋ฅด๋ฉด ์ ์šฉ๋ฉ๋‹ˆ๋‹ค.
<div align="center">
๊ธฐ๋Šฅ (โญ= ์ตœ๊ทผ ์ถ”๊ฐ€ ๊ธฐ๋Šฅ) | ์„ค๋ช…
--- | ---
โญ[์ƒˆ ๋ชจ๋ธ ์ถ”๊ฐ€](https://github.com/binary-husky/gpt_academic/wiki/%E5%A6%82%E4%BD%95%E5%88%87%E6%8D%A2%E6%A8%A1%E5%9E%8B)! | Baidu [Qianfan](https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu)์™€ Wenxin Yiyan, [Tongyi Qianwen](https://modelscope.cn/models/qwen/Qwen-7B-Chat/summary), Shanghai AI-Lab [Shusheng](https://github.com/InternLM/InternLM), Xunfei [Star](https://xinghuo.xfyun.cn/), [LLaMa2](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf), Zhipu API, DALLE3
๋ฌธ์ฒด ๊ฐœ์„ , ๋ฒˆ์—ญ, ์ฝ”๋“œ ์„ค๋ช… | ์ผ๊ด„์ ์ธ ๋ฌธ์ฒด ๊ฐœ์„ , ๋ฒˆ์—ญ, ๋…ผ๋ฌธ ๋ฌธ๋ฒ• ์˜ค๋ฅ˜ ํƒ์ƒ‰, ์ฝ”๋“œ ์„ค๋ช…
[์‚ฌ์šฉ์ž ์ •์˜ ๋‹จ์ถ•ํ‚ค](https://www.bilibili.com/video/BV14s4y1E7jN) | ์‚ฌ์šฉ์ž ์ •์˜ ๋‹จ์ถ•ํ‚ค ์ง€์›
๋ชจ๋“ˆํ™” ์„ค๊ณ„ | ์‚ฌ์šฉ์ž ์ •์˜ ๊ฐ€๋Šฅํ•œ ๊ฐ•๋ ฅํ•œ [ํ”Œ๋Ÿฌ๊ทธ์ธ](https://github.com/binary-husky/gpt_academic/tree/master/crazy_functions) ์ง€์›, ํ”Œ๋Ÿฌ๊ทธ์ธ ์ง€์› [ํ•ซ ์—…๋ฐ์ดํŠธ](https://github.com/binary-husky/gpt_academic/wiki/%E5%87%BD%E6%95%B0%E6%8F%92%E4%BB%B6%E6%8C%87%E5%8D%97)
[ํ”„๋กœ๊ทธ๋žจ ๋ถ„์„](https://www.bilibili.com/video/BV1cj411A7VW) | [ํ”Œ๋Ÿฌ๊ทธ์ธ] ํ•œ ๋ฒˆ์— Python/C/C++/Java/Lua/... ํ”„๋กœ์ ํŠธ ํŠธ๋ฆฌ๋ฅผ ๋ถ„์„ํ•˜๊ฑฐ๋‚˜ [์ž์ฒด ๋ถ„์„](https://www.bilibili.com/video/BV1cj411A7VW)
๋…ผ๋ฌธ ์ฝ๊ธฐ, ๋…ผ๋ฌธ [๋ฒˆ์—ญ](https://www.bilibili.com/video/BV1KT411x7Wn) | [ํ”Œ๋Ÿฌ๊ทธ์ธ] LaTeX/PDF ๋…ผ๋ฌธ ์ „๋ฌธ์„ ์ฝ๊ณ  ์š”์•ฝ ์ƒ์„ฑ
LaTeX ์ „์ฒด [๋ฒˆ์—ญ](https://www.bilibili.com/video/BV1nk4y1Y7Js/), [๊ฐœ์„ ](https://www.bilibili.com/video/BV1FT411H7c5/) | [ํ”Œ๋Ÿฌ๊ทธ์ธ] LaTeX ๋…ผ๋ฌธ ๋ฒˆ์—ญ ๋˜๋Š” ๊ฐœ์„ 
์ผ๊ด„ ์ฃผ์„ ์ƒ์„ฑ | [ํ”Œ๋Ÿฌ๊ทธ์ธ] ํ•จ์ˆ˜ ์ฃผ์„ ์ผ๊ด„ ์ƒ์„ฑ
Markdown [ํ•œ / ์˜ ๋ฒˆ์—ญ](https://www.bilibili.com/video/BV1yo4y157jV/) | ์œ„์˜ 5๊ฐœ ์–ธ์–ด๋กœ ์ž‘์„ฑ๋œ [README](https://github.com/binary-husky/gpt_academic/blob/master/docs/README_EN.md)๋ฅผ ์‚ดํŽด๋ณด์…จ๋‚˜์š”?
์ฑ„ํŒ… ๋ถ„์„ ๋ณด๊ณ ์„œ ์ƒ์„ฑ | [ํ”Œ๋Ÿฌ๊ทธ์ธ] ์‹คํ–‰ ํ›„ ์š”์•ฝ ๋ณด๊ณ ์„œ ์ž๋™ ์ƒ์„ฑ
[PDF ๋…ผ๋ฌธ ์ „์ฒด ๋ฒˆ์—ญ](https://www.bilibili.com/video/BV1KT411x7Wn) ๊ธฐ๋Šฅ | [ํ”Œ๋Ÿฌ๊ทธ์ธ] PDF ๋…ผ๋ฌธ ์ œ๋ชฉ ๋ฐ ์š”์•ฝ ์ถ”์ถœ + ์ „์ฒด ๋ฒˆ์—ญ (๋ฉ€ํ‹ฐ ์Šค๋ ˆ๋“œ)
[Arxiv ๋„์šฐ๋ฏธ](https://www.bilibili.com/video/BV1LM4y1279X) | [ํ”Œ๋Ÿฌ๊ทธ์ธ] arxiv ๋…ผ๋ฌธ url ์ž…๋ ฅ์‹œ ์š”์•ฝ ๋ฒˆ์—ญ + PDF ๋‹ค์šด๋กœ๋“œ
LaTeX ๋…ผ๋ฌธ ์ผ๊ด„ ๊ต์ • | [ํ”Œ๋Ÿฌ๊ทธ์ธ] Grammarly๋ฅผ ๋ชจ์‚ฌํ•˜์—ฌ LaTeX ๋…ผ๋ฌธ์— ๋Œ€ํ•œ ๋ฌธ๋ฒ• ๋ฐ ๋งž์ถค๋ฒ• ์˜ค๋ฅ˜ ๊ต์ • + ๋Œ€์กฐ PDF ์ถœ๋ ฅ
[Google ํ•™์ˆ  ํ†ตํ•ฉ ๋„์šฐ๋ฏธ](https://www.bilibili.com/video/BV19L411U7ia) | ์ž„์˜์˜ Google ํ•™์ˆ  ๊ฒ€์ƒ‰ ํŽ˜์ด์ง€ URL์„ ์ง€์ •ํ•˜์—ฌ gpt๊ฐ€ [related works๋ฅผ ์ž‘์„ฑ](https://www.bilibili.com/video/BV1GP411U7Az/)ํ•˜๊ฒŒ ํ•ด์ฃผ์„ธ์š”.
์ธํ„ฐ๋„ท ์ •๋ณด ์ง‘๊ณ„ + GPT | [ํ”Œ๋Ÿฌ๊ทธ์ธ] [์ธํ„ฐ๋„ท์—์„œ ์ •๋ณด๋ฅผ ๊ฐ€์ ธ์™€์„œ](https://www.bilibili.com/video/BV1om4y127ck) ์งˆ๋ฌธ์— ๋Œ€๋‹ตํ•˜๋„๋ก GPT๋ฅผ ์ž๋™ํ™”ํ•˜์„ธ์š”. ์ •๋ณด๊ฐ€ ์ ˆ๋Œ€๋กœ ์˜ค๋ž˜๋˜์ง€ ์•Š๋„๋ก ํ•ด์ค๋‹ˆ๋‹ค.
โญArxiv ๋…ผ๋ฌธ ์„ธ์‹ฌํ•œ ๋ฒˆ์—ญ ([Docker](https://github.com/binary-husky/gpt_academic/pkgs/container/gpt_academic_with_latex)) | [ํ”Œ๋Ÿฌ๊ทธ์ธ] [arxiv ๋…ผ๋ฌธ์„ ๊ณ ํ’ˆ์งˆ ๋ฒˆ์—ญ์œผ๋กœ](https://www.bilibili.com/video/BV1dz4y1v77A/) ๋ฒˆ์—ญํ•˜๋Š” ์ตœ๊ณ ์˜ ๋„๊ตฌ
โญ[์‹ค์‹œ๊ฐ„ ์Œ์„ฑ ๋Œ€ํ™” ์ž…๋ ฅ](https://github.com/binary-husky/gpt_academic/blob/master/docs/use_audio.md) | [ํ”Œ๋Ÿฌ๊ทธ์ธ] ๋น„๋™๊ธฐ์ ์œผ๋กœ [์˜ค๋””์˜ค๋ฅผ ๋ชจ๋‹ˆํ„ฐ๋ง](https://www.bilibili.com/video/BV1AV4y187Uy/)ํ•˜์—ฌ ๋ฌธ์žฅ์„ ์ž๋™์œผ๋กœ ๋ถ„์ ˆํ•˜๊ณ  ๋Œ€๋‹ต ์‹œ๊ธฐ๋ฅผ ์ž๋™์œผ๋กœ ์ฐพ์Šต๋‹ˆ๋‹ค.
์ˆ˜์‹/์ด๋ฏธ์ง€/ํ‘œ ํ‘œ์‹œ | [tex ํ˜•์‹ ๋ฐ ๋ Œ๋”๋ง ํ˜•์‹](https://user-images.githubusercontent.com/96192199/230598842-1d7fcddd-815d-40ee-af60-baf488a199df.png)์˜ ์ˆ˜์‹์„ ๋™์‹œ์— ํ‘œ์‹œํ•˜๋ฉฐ, ์ˆ˜์‹ ๋ฐ ์ฝ”๋“œ ํ•˜์ด๋ผ์ดํŠธ ์ง€์›
โญAutoGen multi-agent ํ”Œ๋Ÿฌ๊ทธ์ธ | [ํ”Œ๋Ÿฌ๊ทธ์ธ] Microsoft AutoGen์„ ํ™œ์šฉํ•˜์—ฌ ์—ฌ๋Ÿฌ ๊ฐœ์˜ ์—์ด์ „ํŠธ๊ฐ€ ์ง€๋Šฅ์ ์œผ๋กœ ๋ฐœ์ƒํ•˜๋Š” ๊ฐ€๋Šฅ์„ฑ์„ ํƒ์ƒ‰ํ•˜์„ธ์š”!
๋‹คํฌ ๋ชจ๋“œ ์ฃผ์ œ ์ง€์› | ๋ธŒ๋ผ์šฐ์ €์˜ URL ๋’ค์— ```/?__theme=dark```๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ ๋‹คํฌ ๋ชจ๋“œ๋กœ ์ „ํ™˜ํ•˜์„ธ์š”.
[๋‹ค์–‘ํ•œ LLM ๋ชจ๋ธ](https://www.bilibili.com/video/BV1wT411p7yf) ์ง€์› | GPT3.5, GPT4, [Tsinghua ChatGLM2](https://github.com/THUDM/ChatGLM2-6B), [Fudan MOSS](https://github.com/OpenLMLab/MOSS)์„ ํ•จ๊ป˜ ์‚ฌ์šฉํ•˜๋Š” ๋Š๋‚Œ์€ ์ข‹์„ ๊ฒƒ์ž…๋‹ˆ๋‹ค, ๊ทธ๋ ‡์ง€ ์•Š์Šต๋‹ˆ๊นŒ?
โญChatGLM2 fine-tuned ๋ชจ๋ธ | ChatGLM2 fine-tuned ๋ชจ๋ธ ๋กœ๋“œ๋ฅผ ์ง€์›ํ•˜๋ฉฐ, ChatGLM2 fine-tuned ๋ณด์กฐ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ œ๊ณต
๋” ๋งŽ์€ LLM ๋ชจ๋ธ ์—ฐ๊ฒฐ, [huggingface ๋ฐฐํฌ](https://huggingface.co/spaces/qingxu98/gpt-academic) ์ง€์› | Newbing ์ธํ„ฐํŽ˜์ด์Šค(์‹  ๋ฐ), Tsinghua [Jittorllms](https://github.com/Jittor/JittorLLMs) ๋„์ž…, [LLaMA](https://github.com/facebookresearch/llama)์™€ [Pangu-alpha](https://openi.org.cn/pangu/)๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.
โญ[void-terminal](https://github.com/binary-husky/void-terminal) ํŒจํ‚ค์ง€ | GUI์—์„œ ๋…๋ฆฝ, Python์—์„œ ์ด ํ”„๋กœ์ ํŠธ์˜ ๋ชจ๋“  ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์ง์ ‘ ํ˜ธ์ถœ (๊ฐœ๋ฐœ ์ค‘)
โญVoid ํ„ฐ๋ฏธ๋„ ํ”Œ๋Ÿฌ๊ทธ์ธ | [ํ”Œ๋Ÿฌ๊ทธ์ธ] ์ž์—ฐ์–ด๋กœ ์ด ํ”„๋กœ์ ํŠธ์˜ ๋‹ค๋ฅธ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์ง์ ‘ ์˜์†ํ•ฉ๋‹ˆ๋‹ค.
๊ธฐํƒ€ ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ์†Œ๊ฐœ (์ด๋ฏธ์ง€ ์ƒ์„ฑ ๋“ฑ) โ€ฆโ€ฆ | ๋ณธ ๋ฌธ์„œ ๋งจ ๋ ์ฐธ์กฐ โ€ฆโ€ฆ
</div>
- ์ƒˆ๋กœ์šด ์ธํ„ฐํŽ˜์ด์Šค(`config.py`์˜ LAYOUT ์˜ต์…˜ ์ˆ˜์ •์œผ๋กœ "์™ผ์ชฝ-์˜ค๋ฅธ์ชฝ ๋ ˆ์ด์•„์›ƒ"๊ณผ "์œ„-์•„๋ž˜ ๋ ˆ์ด์•„์›ƒ"์„ ์ „ํ™˜ํ•  ์ˆ˜ ์žˆ์Œ)
<div align="center">
<img src="https://github.com/binary-husky/gpt_academic/assets/96192199/d81137c3-affd-4cd1-bb5e-b15610389762" width="700" >
</div>
- ๋ชจ๋“  ๋ฒ„ํŠผ์€ functional.py๋ฅผ ๋™์ ์œผ๋กœ ์ฝ์–ด ์ƒ์„ฑ๋˜๋ฏ€๋กœ ์›ํ•˜๋Š”๋Œ€๋กœ ์‚ฌ์šฉ์ž ์ •์˜ ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ ํด๋ฆฝ ๋ณด๋“œ๋ฅผ ํ•ด์ œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/231975334-b4788e91-4887-412f-8b43-2b9c5f41d248.gif" width="700" >
</div>
- ๋ฌธ์ฒด ๊ฐœ์„ /์˜ค๋ฅ˜ ์ˆ˜์ •
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/231980294-f374bdcb-3309-4560-b424-38ef39f04ebd.gif" width="700" >
</div>
- If the output contains equations, they will be displayed in both tex format and rendered format for easy copying and reading.
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/230598842-1d7fcddd-815d-40ee-af60-baf488a199df.png" width="700" >
</div>
- Don't feel like looking at the project code? Just give it to ChatGPT and let it dazzle you.
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/226935232-6b6a73ce-8900-4aee-93f9-733c7e6fef53.png" width="700" >
</div>
- Mix and match multiple powerful language models (ChatGLM + OpenAI-GPT3.5 + [API2D](https://api2d.com/)-GPT4)
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/232537274-deca0563-7aa6-4b5d-94a2-b7c453c47794.png" width="700" >
</div>
# Installation
### Installation Method I: Run Directly (Windows, Linux or MacOS)
1. Download the project
```sh
git clone --depth=1 https://github.com/binary-husky/gpt_academic.git
cd gpt_academic
```
2. Configure API_KEY
In `config.py`, configure the API KEY and other settings, [click here to view special network environment configuration methods](https://github.com/binary-husky/gpt_academic/issues/1). [Wiki page](https://github.com/binary-husky/gpt_academic/wiki/้กน็›ฎ้…็ฝฎ่ฏดๆ˜Ž)ใ€‚
" The program will first check if there is a confidential configuration file named `config_private.py` and use its configuration to override the configuration with the same name in `config.py`. If you can understand this reading logic, we strongly recommend that you create a new configuration file named `config_private.py` next to `config.py` and move (copy) the configuration from `config.py` to `config_private.py` (only copy the modified configuration items). "
" You can configure the project through `environment variables`. The format of the environment variables can be found in the `docker-compose.yml` file or our [Wiki page](https://github.com/binary-husky/gpt_academic/wiki/้กน็›ฎ้…็ฝฎ่ฏดๆ˜Ž). The priority of the configuration reading is: `environment variables` > `config_private.py` > `config.py`. "
3. Install dependencies
```sh
# (Option I: if familiar with python, python>=3.9) Note: Use the official pip source or Aliyun pip source. Temporary switching source method: python -m pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
python -m pip install -r requirements.txt
# (Option II: using Anaconda) The steps are similar (https://www.bilibili.com/video/BV1rc411W7Dr):
conda create -n gptac_venv python=3.11 # Create an Anaconda environment
conda activate gptac_venv # Activate the Anaconda environment
python -m pip install -r requirements.txt # This step is the same as the pip installation step
```
<details><summary>Click here to expand if you need support for Tsinghua ChatGLM2/Fudan MOSS/RWKV backend</summary>
<p>
[Optional Step] If you need support for Tsinghua ChatGLM2/Fudan MOSS as the backend, you need to install additional dependencies (Prerequisites: Familiar with Python + Have used Pytorch + Sufficient computer configuration):
```sh
# [Optional Step I] Support for Tsinghua ChatGLM2. Note for Tsinghua ChatGLM: If you encounter the error "Call ChatGLM fail cannot load ChatGLM parameters", refer to the following: 1: The default installation above is torch+cpu version. To use cuda, uninstall torch and reinstall torch+cuda; 2: If you cannot load the model due to insufficient computer configuration, you can modify the model precision in request_llm/bridge_chatglm.py, change AutoTokenizer.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True) to AutoTokenizer.from_pretrained("THUDM/chatglm-6b-int4", trust_remote_code=True)
python -m pip install -r request_llms/requirements_chatglm.txt
# [Optional Step II] Support for Fudan MOSS
python -m pip install -r request_llms/requirements_moss.txt
git clone --depth=1 https://github.com/OpenLMLab/MOSS.git request_llms/moss # When executing this line of code, make sure you are in the project root path
# [Optional Step III] Support for RWKV Runner
Refer to the wiki: https://github.com/binary-husky/gpt_academic/wiki/%E9%80%82%E9%85%8DRWKV-Runner
# [Optional Step IV] Make sure that the AVAIL_LLM_MODELS in the config.py configuration file includes the expected models. The currently supported models are as follows (the jittorllms series only supports the docker solution):
AVAIL_LLM_MODELS = ["gpt-3.5-turbo", "api2d-gpt-3.5-turbo", "gpt-4", "api2d-gpt-4", "chatglm", "moss"] # + ["jittorllms_rwkv", "jittorllms_pangualpha", "jittorllms_llama"]
```
</p>
</details>
4. Run
```sh
python main.py
```
### Installation Method II: Use Docker
0. Deploy all the capabilities of the project (this is a large image that includes cuda and latex. However, it is not recommended if your internet speed is slow or your hard disk is small)
[![fullcapacity](https://github.com/binary-husky/gpt_academic/actions/workflows/build-with-all-capacity.yml/badge.svg?branch=master)](https://github.com/binary-husky/gpt_academic/actions/workflows/build-with-all-capacity.yml)
``` sh
# Modify docker-compose.yml, keep scheme 0 and delete the others. Then run:
docker-compose up
```
1. ChatGPT+Random Quotes+Wikipedia Summary+Spark and other online models (recommended for most people)
[![basic](https://github.com/binary-husky/gpt_academic/actions/workflows/build-without-local-llms.yml/badge.svg?branch=master)](https://github.com/binary-husky/gpt_academic/actions/workflows/build-without-local-llms.yml)
[![basiclatex](https://github.com/binary-husky/gpt_academic/actions/workflows/build-with-latex.yml/badge.svg?branch=master)](https://github.com/binary-husky/gpt_academic/actions/workflows/build-with-latex.yml)
[![basicaudio](https://github.com/binary-husky/gpt_academic/actions/workflows/build-with-audio-assistant.yml/badge.svg?branch=master)](https://github.com/binary-husky/gpt_academic/actions/workflows/build-with-audio-assistant.yml)
``` sh
# Modify docker-compose.yml, keep scheme 1 and delete the others. Then run:
docker-compose up
```
P.S. If you need the Latex plugin feature, please refer to the Wiki. Additionally, you can also use scheme 4 or scheme 0 directly to get the Latex feature.
2. ChatGPT + ChatGLM2 + MOSS + LLAMA2 + Thousand Questions (Requires familiarity with [Nvidia Docker](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#installing-on-ubuntu-and-debian) runtime)
[![chatglm](https://github.com/binary-husky/gpt_academic/actions/workflows/build-with-chatglm.yml/badge.svg?branch=master)](https://github.com/binary-husky/gpt_academic/actions/workflows/build-with-chatglm.yml)
``` sh
# Modify docker-compose.yml, keep scheme 2 and delete the others. Then run:
docker-compose up
```
### Installation Method III: Other Deployment Methods
1. **One-click run script for Windows**.
Windows users who are completely unfamiliar with the Python environment can download the one-click run script without local models from the [Release](https://github.com/binary-husky/gpt_academic/releases) section.
The script contribution comes from [oobabooga](https://github.com/oobabooga/one-click-installers).
2. Use third-party APIs, Azure, etc., Random Quotes, Spark, etc., see the [Wiki page](https://github.com/binary-husky/gpt_academic/wiki/้กน็›ฎ้…็ฝฎ่ฏดๆ˜Ž).
3. Pitfall guide for remote deployment on cloud servers.
Please visit the [cloud server remote deployment wiki](https://github.com/binary-husky/gpt_academic/wiki/%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E8%BF%9C%E7%A8%8B%E9%83%A8%E7%BD%B2%E6%8C%87%E5%8D%97)
4. Some new deployment platforms or methods
- Use Sealos for [one-click deployment](https://github.com/binary-husky/gpt_academic/issues/993).
- Use WSL2 (Windows Subsystem for Linux). Please visit [deployment wiki-2](https://github.com/binary-husky/gpt_academic/wiki/%E4%BD%BF%E7%94%A8WSL2%EF%BC%88Windows-Subsystem-for-Linux-%E5%AD%90%E7%B3%BB%E7%BB%9F%EF%BC%89%E9%83%A8%E7%BD%B2)
- How to run in a subpath (such as `http://localhost/subpath`). Please refer to [FastAPI running instructions](docs/WithFastapi.md)
# ๊ณ ๊ธ‰ ์‚ฌ์šฉ๋ฒ•
### I: ์‚ฌ์šฉ์ž ์ •์˜ ๋ฐ”๋กœ ๊ฐ€๊ธฐ ๋ฒ„ํŠผ ์ถ”๊ฐ€ (ํ•™์ˆ  ๋‹จ์ถ•ํ‚ค)
์ž„์˜์˜ ํ…์ŠคํŠธ ํŽธ์ง‘๊ธฐ๋กœ `core_functional.py` ํŒŒ์ผ์„ ์—ด๊ณ  ๋‹ค์Œ๊ณผ ๊ฐ™์€ ํ•ญ๋ชฉ์„ ์ถ”๊ฐ€ํ•œ ๋‹ค์Œ ํ”„๋กœ๊ทธ๋žจ์„ ๋‹ค์‹œ ์‹œ์ž‘ํ•˜์‹ญ์‹œ์˜ค. (์ด๋ฏธ ๋ฒ„ํŠผ์ด ์žˆ๋Š” ๊ฒฝ์šฐ์—๋Š” ์ ‘๋‘์‚ฌ์™€ ์ ‘๋ฏธ์‚ฌ๋ฅผ ์‹ค์‹œ๊ฐ„์œผ๋กœ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ์œผ๋ฏ€๋กœ ํ”„๋กœ๊ทธ๋žจ์„ ๋‹ค์‹œ ์‹œ์ž‘ํ•  ํ•„์š”๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.)
์˜ˆ์‹œ:
```
"์ดˆ๊ธ‰์˜๋ฌธ ๋ฒˆ์—ญ": {
# ์ ‘๋‘์‚ฌ, ์ž…๋ ฅ ๋‚ด์šฉ ์•ž์— ์ถ”๊ฐ€๋ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ์š”๊ตฌ ์‚ฌํ•ญ์„ ์„ค๋ช…ํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ๋ฒˆ์—ญ, ์ฝ”๋“œ ์„ค๋ช…, ๊ต์ • ๋“ฑ
"Prefix": "๋‹ค์Œ ๋‚ด์šฉ์„ ํ•œ๊ตญ์–ด๋กœ ๋ฒˆ์—ญํ•˜๊ณ  ์ „๋ฌธ ์šฉ์–ด์— ๋Œ€ํ•œ ์„ค๋ช…์„ ์ ์šฉํ•œ ๋งˆํฌ๋‹ค์šด ํ‘œ๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”:\n\n",
# ์ ‘๋ฏธ์‚ฌ, ์ž…๋ ฅ ๋‚ด์šฉ ๋’ค์— ์ถ”๊ฐ€๋ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ์ ‘๋‘์‚ฌ์™€ ํ•จ๊ป˜ ์ž…๋ ฅ ๋‚ด์šฉ์„ ๋”ฐ์˜ดํ‘œ๋กœ ๊ฐ์Œ€ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
"Suffix": "",
},
```
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/226899272-477c2134-ed71-4326-810c-29891fe4a508.png" width="500" >
</div>
### II: ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ
์›ํ•˜๋Š” ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•˜๊ธฐ ์œ„ํ•ด ๋Šฅ๋ ฅ์žˆ๋Š” ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์ž‘์„ฑํ•˜์„ธ์š”.
์ด ํ”„๋กœ์ ํŠธ์˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ž‘์„ฑ ๋ฐ ๋””๋ฒ„๊น…์€ ๋‚œ์ด๋„๊ฐ€ ๋‚ฎ์œผ๋ฉฐ, ์ผ์ •ํ•œ Python ๊ธฐ๋ณธ ์ง€์‹๋งŒ ์žˆ์œผ๋ฉด ์šฐ๋ฆฌ๊ฐ€ ์ œ๊ณตํ•˜๋Š” ํ…œํ”Œ๋ฆฟ์„ ๋ณธ๋”ฐ์„œ ๊ณ ์œ ํ•œ ํ”Œ๋Ÿฌ๊ทธ์ธ ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
์ž์„ธํ•œ ๋‚ด์šฉ์€ [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ๊ฐ€์ด๋“œ](https://github.com/binary-husky/gpt_academic/wiki/%E5%87%BD%E6%95%B0%E6%8F%92%E4%BB%B6%E6%8C%87%E5%8D%97)๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.
# ์—…๋ฐ์ดํŠธ
### I: ๋‹ค์ด๋‚˜๋ฏน
1. ๋Œ€ํ™” ์ €์žฅ ๊ธฐ๋Šฅ. ํ”Œ๋Ÿฌ๊ทธ์ธ ์˜์—ญ์—์„œ 'ํ˜„์žฌ ๋Œ€ํ™” ์ €์žฅ'์„ ํ˜ธ์ถœํ•˜์—ฌ ํ˜„์žฌ ๋Œ€ํ™”๋ฅผ ๋ณผ ์ˆ˜ ์žˆ๊ณ , html ํŒŒ์ผ์„ ๋ณต๊ตฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
๋˜ํ•œ ํ”Œ๋Ÿฌ๊ทธ์ธ ์˜์—ญ์—์„œ '๋Œ€ํ™” ๊ธฐ๋ก ๋ถˆ๋Ÿฌ์˜ค๊ธฐ'๋ฅผ ํ˜ธ์ถœํ•˜์—ฌ ์ด์ „ ๋Œ€ํ™”๋ฅผ ๋ณต์›ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
ํŒ: ํŒŒ์ผ์„ ์ง€์ •ํ•˜์ง€ ์•Š๊ณ  '๋Œ€ํ™” ๊ธฐ๋ก ๋ถˆ๋Ÿฌ์˜ค๊ธฐ'๋ฅผ ๋ฐ”๋กœ ํด๋ฆญํ•˜๋ฉด ์ด์ „ html ๊ธฐ๋ก ์บ์‹œ๋ฅผ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/235222390-24a9acc0-680f-49f5-bc81-2f3161f1e049.png" width="500" >
</div>
2. โญLatex/Arxiv ๋…ผ๋ฌธ ๋ฒˆ์—ญ ๊ธฐ๋Šฅโญ
<div align="center">
<img src="https://github.com/binary-husky/gpt_academic/assets/96192199/002a1a75-ace0-4e6a-94e2-ec1406a746f1" height="250" > ===>
<img src="https://github.com/binary-husky/gpt_academic/assets/96192199/9fdcc391-f823-464f-9322-f8719677043b" height="250" >
</div>
3. ๋นˆ ํ„ฐ๋ฏธ๋„ (์ž์—ฐ์–ด ์ž…๋ ฅ์—์„œ ์‚ฌ์šฉ์ž ์˜๋„ ์ดํ•ด + ์ž๋™ ํ”Œ๋Ÿฌ๊ทธ์ธ ํ˜ธ์ถœ)
- ๋‹จ๊ณ„ 1: "ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์‚ฌ์šฉํ•˜์—ฌ PDF ๋…ผ๋ฌธ์„ ๋ฒˆ์—ญํ•˜์‹ญ์‹œ์˜ค. ์ฃผ์†Œ๋Š” https://openreview.net/pdf?id=rJl0r3R9KX์ž…๋‹ˆ๋‹ค." ์ž…๋ ฅ
- ๋‹จ๊ณ„ 2: "๋นˆ ํ„ฐ๋ฏธ๋„" ํด๋ฆญ
<div align="center">
<img src="https://github.com/binary-husky/gpt_academic/assets/96192199/66f1b044-e9ff-4eed-9126-5d4f3668f1ed" width="500" >
</div>
4. ๋ชจ๋“ˆํ™”๋œ ๊ธฐ๋Šฅ ๋””์ž์ธ, ๊ฐ„๋‹จํ•œ ์ธํ„ฐํŽ˜์ด์Šค๋กœ ๊ฐ•๋ ฅํ•œ ๊ธฐ๋Šฅ ์ œ๊ณต
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/229288270-093643c1-0018-487a-81e6-1d7809b6e90f.png" height="400" >
<img src="https://user-images.githubusercontent.com/96192199/227504931-19955f78-45cd-4d1c-adac-e71e50957915.png" height="400" >
</div>
5. ๋‹ค๋ฅธ ์˜คํ”ˆ ์†Œ์Šค ํ”„๋กœ์ ํŠธ ๋ฒˆ์—ญ
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/226935232-6b6a73ce-8900-4aee-93f9-733c7e6fef53.png" height="250" >
<img src="https://user-images.githubusercontent.com/96192199/226969067-968a27c1-1b9c-486b-8b81-ab2de8d3f88a.png" height="250" >
</div>
6. [live2d](https://github.com/fghrsh/live2d_demo)์˜ ์ž‘์€ ๊ธฐ๋Šฅ ์ถ”๊ฐ€ (๊ธฐ๋ณธ ์„ค์ •์€ ๋‹ซํ˜€ ์žˆ์œผ๋ฉฐ, `config.py`๋ฅผ ์ˆ˜์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.)
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/236432361-67739153-73e8-43fe-8111-b61296edabd9.png" width="500" >
</div>
7. OpenAI ์ด๋ฏธ์ง€ ์ƒ์„ฑ
<div align="center">
<img src="https://github.com/binary-husky/gpt_academic/assets/96192199/bc7ab234-ad90-48a0-8d62-f703d9e74665" width="500" >
</div>
8. OpenAI ์˜ค๋””์˜ค ๋ถ„์„ ๋ฐ ์š”์•ฝ
<div align="center">
<img src="https://github.com/binary-husky/gpt_academic/assets/96192199/709ccf95-3aee-498a-934a-e1c22d3d5d5b" width="500" >
</div>
9. Latex ์ „์ฒด ๊ต์ • ์˜ค๋ฅ˜
<div align="center">
<img src="https://github.com/binary-husky/gpt_academic/assets/96192199/651ccd98-02c9-4464-91e1-77a6b7d1b033" height="200" > ===>
<img src="https://github.com/binary-husky/gpt_academic/assets/96192199/476f66d9-7716-4537-b5c1-735372c25adb" height="200">
</div>
10. ์–ธ์–ด, ํ…Œ๋งˆ ๋ณ€๊ฒฝ
<div align="center">
<img src="https://github.com/binary-husky/gpt_academic/assets/96192199/b6799499-b6fb-4f0c-9c8e-1b441872f4e8" width="500" >
</div>
### II: ๋ฒ„์ „:
- ๋ฒ„์ „ 3.70 (์˜ˆ์ •): AutoGen ํ”Œ๋Ÿฌ๊ทธ์ธ ํ…Œ๋งˆ ๊ฐœ์„  ๋ฐ ๋‹ค๋ฅธ ํ…Œ๋งˆ ํ”Œ๋Ÿฌ๊ทธ์ธ ๋””์ž์ธ
- ๋ฒ„์ „ 3.60: AutoGen์„ ์ƒˆ๋กœ์šด ์„ธ๋Œ€ ํ”Œ๋Ÿฌ๊ทธ์ธ์˜ ๊ธฐ๋ฐ˜์œผ๋กœ ๋„์ž…
- ๋ฒ„์ „ 3.57: GLM3, Starfire v3, ๆ–‡ๅฟƒไธ€่จ€ v4 ์ง€์›, ๋กœ์ปฌ ๋ชจ๋ธ์˜ ๋™์‹œ์„ฑ ๋ฒ„๊ทธ ์ˆ˜์ •
- ๋ฒ„์ „ 3.56: ๋™์ ์œผ๋กœ ๊ธฐ๋ณธ ๊ธฐ๋Šฅ ๋ฒ„ํŠผ ์ถ”๊ฐ€, ์ƒˆ๋กœ์šด ๋ณด๊ณ ์„œ PDF ์š”์•ฝ ํŽ˜์ด์ง€
- ๋ฒ„์ „ 3.55: ํ”„๋ก ํŠธ ์—”๋“œ ์ธํ„ฐํŽ˜์ด์Šค ๋ฆฌํŒฉํ† ๋ง, ํ™”๋ฉด ๋”ฐ๋ผ๋‹ค๋‹ˆ๋Š” ์œˆ๋„์šฐ ๋ฐ ๋ฉ”๋‰ด ๋ฐ” ๋„์ž…
- ๋ฒ„์ „ 3.54: ์ƒˆ๋กœ์šด ๋™์  ์ฝ”๋“œ ํ•ด์„๊ธฐ (Code Interpreter) ์ถ”๊ฐ€ (์™„๋ฒฝํ•˜๊ฒŒ ์™„์„ฑ๋˜์ง€ ์•Š์Œ)
- ๋ฒ„์ „ 3.53: ๋‹ค๋ฅธ ์ธํ„ฐํŽ˜์ด์Šค ํ…Œ๋งˆ ๋™์  ์„ ํƒ ๊ธฐ๋Šฅ ์ถ”๊ฐ€, ์•ˆ์ •์„ฑ ํ–ฅ์ƒ ๋ฐ ๋‹ค์ค‘ ์‚ฌ์šฉ์ž ์ถฉ๋Œ ๋ฌธ์ œ ํ•ด๊ฒฐ
- ๋ฒ„์ „ 3.50: ์ž์—ฐ์–ด๋กœ ์ด ํ”„๋กœ์ ํŠธ์˜ ๋ชจ๋“  ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ํ˜ธ์ถœํ•˜๋Š” ๊ธฐ๋Šฅ (๋นˆ ํ„ฐ๋ฏธ๋„) ์ถ”๊ฐ€, ํ”Œ๋Ÿฌ๊ทธ์ธ ๋ถ„๋ฅ˜ ์ง€์›, UI ๊ฐœ์„ , ์ƒˆ๋กœ์šด ํ…Œ๋งˆ ์„ค๊ณ„
- ๋ฒ„์ „ 3.49: Baidu Qianfan ํ”Œ๋žซํผ ๋ฐ ๋ฌธ์‹ฌ์ผ์–ธ ์ง€์›
- ๋ฒ„์ „ 3.48: Ali DameiYuan Sematic Query, Shanghai AI-Lab Shusheng, Xunfei Starfire ์ง€์›
- ๋ฒ„์ „ 3.46: ์™„์ „ ์ž๋™ ์šด์ „ ๊ฐ€๋Šฅํ•œ ์‹ค์‹œ๊ฐ„ ์Œ์„ฑ ๋Œ€ํ™” ์ง€์›
- ๋ฒ„์ „ 3.45: ์‚ฌ์šฉ์ž ์ •์˜ ChatGLM2 fine-tuning ๋ชจ๋ธ ์ง€์›
- ๋ฒ„์ „ 3.44: Azure ์ •์‹ ์ง€์›, ์ธํ„ฐํŽ˜์ด์Šค์˜ ์‚ฌ์šฉ ํŽธ์˜์„ฑ ๊ฐœ์„ 
- ๋ฒ„์ „ 3.4: +arxiv ๋…ผ๋ฌธ ๋ฒˆ์—ญ, latex ๋…ผ๋ฌธ ๊ต์ • ๊ธฐ๋Šฅ ์ถ”๊ฐ€
- ๋ฒ„์ „ 3.3: +์ธํ„ฐ๋„ท ์ •๋ณด ์ข…ํ•ฉ ๊ธฐ๋Šฅ
- ๋ฒ„์ „ 3.2: ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์ด ๋” ๋งŽ์€ ๋งค๊ฐœ๋ณ€์ˆ˜ ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค (๋Œ€ํ™” ์ €์žฅ ๊ธฐ๋Šฅ, ์ž„์˜์˜ ์–ธ์–ด ์ฝ”๋“œ ํ•ด์„ + ์ž„์˜์˜ LLM ์กฐํ•ฉ์„ ๋™์‹œ์— ์š”์ฒญ)
- ๋ฒ„์ „ 3.1: ์—ฌ๋Ÿฌ GPT ๋ชจ๋ธ์— ๋™์‹œ์— ์งˆ๋ฌธํ•  ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ ์ถ”๊ฐ€! api2d ์ง€์›, ์—ฌ๋Ÿฌ ๊ฐœ์˜ apikey ๋ถ€ํ•˜ ๊ท ํ˜• ์กฐ์ • ์ง€์›
- ๋ฒ„์ „ 3.0: chatglm ๋ฐ ๊ธฐํƒ€ ์†Œ๊ทœ๋ชจ llm ์ง€์›
- ๋ฒ„์ „ 2.6: ํ”Œ๋Ÿฌ๊ทธ์ธ ๊ตฌ์กฐ๋ฅผ ์žฌ๊ตฌ์„ฑํ•˜์—ฌ ์ƒํ˜ธ ์ž‘์šฉ์„ฑ ํ–ฅ์ƒ, ๋” ๋งŽ์€ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ถ”๊ฐ€
- ๋ฒ„์ „ 2.5: ์ž๋™ ์—…๋ฐ์ดํŠธ, ์†Œ์Šค ์ฝ”๋“œ ์š”์•ฝ ์ค‘ ํ…์ŠคํŠธ๊ฐ€ ๋„ˆ๋ฌด ๊ธธ๊ณ  ํ† ํฐ์ด ์˜ค๋ฒ„ํ”Œ๋กœ๋˜๋Š” ๋ฌธ์ œ ํ•ด๊ฒฐ
- ๋ฒ„์ „ 2.4: (1)PDF ์ „์ฒด ๋ฒˆ์—ญ ๊ธฐ๋Šฅ ์ถ”๊ฐ€; (2)์ž…๋ ฅ ์˜์—ญ ์œ„์น˜ ์ „ํ™˜ ๊ธฐ๋Šฅ ์ถ”๊ฐ€; (3)์ˆ˜์ง ๋ ˆ์ด์•„์›ƒ ์˜ต์…˜ ์ถ”๊ฐ€; (4)๋ฉ€ํ‹ฐ ์Šค๋ ˆ๋“œ ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ตœ์ ํ™”
- ๋ฒ„์ „ 2.3: ๋ฉ€ํ‹ฐ ์Šค๋ ˆ๋“œ ์ƒํ˜ธ ์ž‘์šฉ์„ฑ ๊ฐ•ํ™”
- ๋ฒ„์ „ 2.2: ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์˜ ํ•ซ ๋ฆฌ๋กœ๋“œ ์ง€์›
- ๋ฒ„์ „ 2.1: ์ ‘์„ ์ˆ˜ ์žˆ๋Š” ๋ ˆ์ด์•„์›ƒ
- ๋ฒ„์ „ 2.0: ๋ชจ๋“ˆํ™” ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ๋„์ž…
- ๋ฒ„์ „ 1.0: ๊ธฐ๋ณธ ๊ธฐ๋Šฅ
GPT Academic ๊ฐœ๋ฐœ์ž QQ ๊ทธ๋ฃน: `610599535`
- ์•Œ๋ ค์ง„ ๋ฌธ์ œ
- ํŠน์ • ์›น ๋ธŒ๋ผ์šฐ์ € ๋ฒˆ์—ญ ํ”Œ๋Ÿฌ๊ทธ์ธ์ด ์ด ์†Œํ”„ํŠธ์›จ์–ด์˜ ํ”„๋ก ํŠธ์—”๋“œ ์‹คํ–‰์— ๋ฐฉํ•ด๊ฐ€ ๋˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.
- ๊ณต์‹ Gradio์—๋Š” ํ˜ธํ™˜์„ฑ ๋ฌธ์ œ๊ฐ€ ๋งŽ๊ธฐ ๋•Œ๋ฌธ์— `requirement.txt`๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ Gradio๋ฅผ ์„ค์น˜ํ•˜์‹ญ์‹œ์˜ค.
### III: ํ…Œ๋งˆ
`THEME` ์˜ต์…˜ (`config.py`)์„ ์ˆ˜์ •ํ•˜์—ฌ ํ…Œ๋งˆ๋ฅผ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
1. `Chuanhu-Small-and-Beautiful` [URL](https://github.com/GaiZhenbiao/ChuanhuChatGPT/)
### IV: ์ด ํ”„๋กœ์ ํŠธ์˜ ๊ฐœ๋ฐœ ๋ธŒ๋žœ์น˜
1. `master` ๋ธŒ๋žœ์น˜: ๋ฉ”์ธ ๋ธŒ๋žœ์น˜, ์•ˆ์ • ๋ฒ„์ „
2. `frontier` ๋ธŒ๋žœ์น˜: ๊ฐœ๋ฐœ ๋ธŒ๋žœ์น˜, ํ…Œ์ŠคํŠธ ๋ฒ„์ „
### V: ์ฐธ๊ณ  ๋ฐ ํ•™์Šต
```
์ฝ”๋“œ์—์„œ๋Š” ๋‹ค๋ฅธ ์šฐ์ˆ˜ํ•œ ํ”„๋กœ์ ํŠธ์˜ ๋””์ž์ธ์„ ๋งŽ์ด ์ฐธ๊ณ ํ–ˆ์Šต๋‹ˆ๋‹ค. ์ˆœ์„œ๋Š” ๋ฌธ์ œ ์—†์ด ๋‚˜์—ด๋ฉ๋‹ˆ๋‹ค:
# ๆธ…ๅŽChatGLM2-6B:
https://github.com/THUDM/ChatGLM2-6B
# ๆธ…ๅŽJittorLLMs:
https://github.com/Jittor/JittorLLMs
# ChatPaper:
https://github.com/kaixindelele/ChatPaper
# Edge-GPT:
https://github.com/acheong08/EdgeGPT
# ChuanhuChatGPT:
https://github.com/GaiZhenbiao/ChuanhuChatGPT
# Oobabooga ์› ํด๋ฆญ ์„ค์น˜ ํ”„๋กœ๊ทธ๋žจ:
https://github.com/oobabooga/one-click-installers
# ๋”๋ณด๊ธฐ๏ผš
https://github.com/gradio-app/gradio
https://github.com/fghrsh/live2d_demo