chatglm-fitness-RLHF / docs /README.md.Korean.md
fb700's picture
Upload 132 files
2ed7200
> **๋…ธํŠธ**
>
> ์˜์กด์„ฑ์„ ์„ค์น˜ํ•  ๋•Œ๋Š” ๋ฐ˜๋“œ์‹œ requirements.txt์—์„œ **์ง€์ •๋œ ๋ฒ„์ „**์„ ์—„๊ฒฉํ•˜๊ฒŒ ์„ ํƒํ•˜์‹ญ์‹œ์˜ค.
>
> `pip install -r requirements.txt`
# <img src="docs/logo.png" width="40" > GPT ํ•™์ˆ  ์ตœ์ ํ™” (GPT Academic)
**์ด ํ”„๋กœ์ ํŠธ๊ฐ€ ๋งˆ์Œ์— ๋“œ์‹ ๋‹ค๋ฉด Star๋ฅผ ์ฃผ์„ธ์š”. ์ถ”๊ฐ€๋กœ ์œ ์šฉํ•œ ํ•™์ˆ  ๋‹จ์ถ•ํ‚ค๋‚˜ ๊ธฐ๋Šฅ ํ”Œ๋Ÿฌ๊ทธ์ธ์ด ์žˆ๋‹ค๋ฉด ์ด์Šˆ๋‚˜ pull request๋ฅผ ๋‚จ๊ธฐ์„ธ์š”. ์ด ํ”„๋กœ์ ํŠธ์— ๋Œ€ํ•œ [์˜์–ด |](docs/README_EN.md)[์ผ๋ณธ์–ด |](docs/README_JP.md)[ํ•œ๊ตญ์–ด |](https://github.com/mldljyh/ko_gpt_academic)[๋Ÿฌ์‹œ์•„์–ด |](docs/README_RS.md)[ํ”„๋ž‘์Šค์–ด](docs/README_FR.md)๋กœ ๋œ README๋„ ์žˆ์Šต๋‹ˆ๋‹ค.
GPT๋ฅผ ์ด์šฉํ•˜์—ฌ ํ”„๋กœ์ ํŠธ๋ฅผ ์ž„์˜์˜ ์–ธ์–ด๋กœ ๋ฒˆ์—ญํ•˜๋ ค๋ฉด [`multi_language.py`](multi_language.py)๋ฅผ ์ฝ๊ณ  ์‹คํ–‰ํ•˜์‹ญ์‹œ์˜ค. (์‹คํ—˜์ )
> **๋…ธํŠธ**
>
> 1. ํŒŒ์ผ์„ ์ฝ๊ธฐ ์œ„ํ•ด **๋นจ๊ฐ„์ƒ‰**์œผ๋กœ ํ‘œ์‹œ๋œ ๊ธฐ๋Šฅ ํ”Œ๋Ÿฌ๊ทธ์ธ (๋ฒ„ํŠผ) ๋งŒ ์ง€์›๋ฉ๋‹ˆ๋‹ค. ์ผ๋ถ€ ํ”Œ๋Ÿฌ๊ทธ์ธ์€ ํ”Œ๋Ÿฌ๊ทธ์ธ ์˜์—ญ์˜ **๋“œ๋กญ๋‹ค์šด ๋ฉ”๋‰ด**์— ์žˆ์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ ์ƒˆ๋กœ์šด ํ”Œ๋Ÿฌ๊ทธ์ธ์€ **๊ฐ€์žฅ ๋†’์€ ์šฐ์„ ์ˆœ์œ„**๋กœ ํ™˜์˜ํ•˜๋ฉฐ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค!
>
> 2. ์ด ํ”„๋กœ์ ํŠธ์˜ ๊ฐ ํŒŒ์ผ์˜ ๊ธฐ๋Šฅ์„ [`self_analysis.md`](https://github.com/binary-husky/chatgpt_academic/wiki/chatgpt-academic%E9%A1%B9%E7%9B%AE%E8%87%AA%E8%AF%91%E8%A7%A3%E6%8A%A5%E5%91%8A)์—์„œ ์ž์„ธํžˆ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค. ๋ฒ„์ „์ด ์—…๋ฐ์ดํŠธ ๋จ์— ๋”ฐ๋ผ ๊ด€๋ จ๋œ ๊ธฐ๋Šฅ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ํด๋ฆญํ•˜๊ณ  GPT๋ฅผ ํ˜ธ์ถœํ•˜์—ฌ ํ”„๋กœ์ ํŠธ์˜ ์ž์ฒด ๋ถ„์„ ๋ณด๊ณ ์„œ๋ฅผ ๋‹ค์‹œ ์ƒ์„ฑํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ์€ [`์œ„ํ‚ค`](https://github.com/binary-husky/chatgpt_academic/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)์—์„œ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. [์„ค์น˜ ๋ฐฉ๋ฒ•](#installation).
>
> 3. ์ด ํ”„๋กœ์ ํŠธ๋Š” ๊ตญ๋‚ด ์–ธ์–ด ๋ชจ๋ธ chatglm๊ณผ RWKV, ํŒ๊ณ  ๋“ฑ์˜ ์‹œ๋„์™€ ํ˜ธํ™˜ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ ๊ฐœ์˜ api-key๋ฅผ ์ง€์›ํ•˜๋ฉฐ ์„ค์ • ํŒŒ์ผ์— "API_KEY="openai-key1,openai-key2,api2d-key3""์™€ ๊ฐ™์ด ์ž‘์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. `API_KEY`๋ฅผ ์ž„์‹œ๋กœ ๋ณ€๊ฒฝํ•ด์•ผํ•˜๋Š” ๊ฒฝ์šฐ ์ž…๋ ฅ ์˜์—ญ์— ์ž„์‹œ `API_KEY`๋ฅผ ์ž…๋ ฅ ํ•œ ํ›„ ์—”ํ„ฐ ํ‚ค๋ฅผ ๋ˆ„๋ฅด๋ฉด ์ฆ‰์‹œ ์ ์šฉ๋ฉ๋‹ˆ๋‹ค.
<div align="center">
๊ธฐ๋Šฅ | ์„ค๋ช…
--- | ---
์› ํ‚ค์›Œ๋“œ | ์› ํ‚ค์›Œ๋“œ ๋ฐ ๋…ผ๋ฌธ ๋ฌธ๋ฒ• ์˜ค๋ฅ˜๋ฅผ ์ฐพ๋Š” ๊ธฐ๋Šฅ ์ง€์›
ํ•œ-์˜ ํ‚ค์›Œ๋“œ | ํ•œ-์˜ ํ‚ค์›Œ๋“œ ์ง€์›
์ฝ”๋“œ ์„ค๋ช… | ์ฝ”๋“œ ํ‘œ์‹œ, ์ฝ”๋“œ ์„ค๋ช…, ์ฝ”๋“œ ์ƒ์„ฑ, ์ฝ”๋“œ์— ์ฃผ์„ ์ถ”๊ฐ€
[์‚ฌ์šฉ์ž ์ •์˜ ๋ฐ”๋กœ ๊ฐ€๊ธฐ ํ‚ค](https://www.bilibili.com/video/BV14s4y1E7jN) | ์‚ฌ์šฉ์ž ์ •์˜ ๋ฐ”๋กœ ๊ฐ€๊ธฐ ํ‚ค ์ง€์›
๋ชจ๋“ˆ์‹ ์„ค๊ณ„ | ๊ฐ•๋ ฅํ•œ[ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ](https://github.com/binary-husky/chatgpt_academic/tree/master/crazy_functions) ์ง€์›, ํ”Œ๋Ÿฌ๊ทธ์ธ์ด [๋žจ ์—…๋ฐ์ดํŠธ](https://github.com/binary-husky/chatgpt_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) | [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ] [์› ํ‚ค ์šฐ๋“œ] ํ”„๋กœ์ ํŠธ ์†Œ์Šค ์ฝ”๋“œ์˜ ๋‚ด์šฉ์„ ์ดํ•ดํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณต
[ํ”„๋กœ๊ทธ๋žจ ๋ถ„์„](https://www.bilibili.com/video/BV1cj411A7VW) | [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ] ํ”„๋กœ์ ํŠธ ํŠธ๋ฆฌ๋ฅผ ๋ถ„์„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค (Python/C/C++/Java/Lua/...)
๋…ผ๋ฌธ ์ฝ๊ธฐ, ๋ฒˆ์—ญ | [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ] LaTex/PDF ๋…ผ๋ฌธ์˜ ์ „๋ฌธ์„ ์ฝ๊ณ  ์š”์•ฝ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
LaTeX ํ…์ŠคํŠธ[๋ฒˆ์—ญ](https://www.bilibili.com/video/BV1nk4y1Y7Js/), [์› ํ‚ค์›Œ๋“œ](https://www.bilibili.com/video/BV1FT411H7c5/) | [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ] LaTeX ๋…ผ๋ฌธ์˜ ๋ฒˆ์—ญ ๋˜๋Š” ๊ฐœ๋Ÿ‰์„ ์œ„ํ•ด ์ผ๋ จ์˜ ๋ชจ๋“œ๋ฅผ ๋ฒˆ์—ญํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
๋Œ€๋Ÿ‰์˜ ์ฃผ์„ ์ƒ์„ฑ | [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ] ํ•จ์ˆ˜ ์ฝ”๋ฉ˜ํŠธ๋ฅผ ๋Œ€๋Ÿ‰์œผ๋กœ ์ƒ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
Markdown ํ•œ-์˜ ๋ฒˆ์—ญ | [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ] ์œ„์˜ 5 ์ข… ์–ธ์–ด์˜ [README](https://github.com/binary-husky/chatgpt_academic/blob/master/docs/README_EN.md)๋ฅผ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
chat ๋ถ„์„ ๋ณด๊ณ ์„œ ์ƒ์„ฑ | [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ] ์ˆ˜ํ–‰ ํ›„ ์š”์•ฝ ๋ณด๊ณ ์„œ๋ฅผ ์ž๋™์œผ๋กœ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
[PDF ๋…ผ๋ฌธ ๋ฒˆ์—ญ](https://www.bilibili.com/video/BV1KT411x7Wn) | [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ] PDF ๋…ผ๋ฌธ์ด ์ œ๋ชฉ ๋ฐ ์š”์•ฝ์„ ์ถ”์ถœํ•œ ํ›„ ๋ฒˆ์—ญ๋ฉ๋‹ˆ๋‹ค. (๋ฉ€ํ‹ฐ ์Šค๋ ˆ๋“œ)
[Arxiv ๋„์šฐ๋ฏธ](https://www.bilibili.com/video/BV1LM4y1279X) | [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ] Arxiv ๋…ผ๋ฌธ URL์„ ์ž…๋ ฅํ•˜๋ฉด ์š”์•ฝ์„ ๋ฒˆ์—ญํ•˜๊ณ  PDF๋ฅผ ๋‹ค์šด๋กœ๋“œ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
[Google Scholar ํ†ตํ•ฉ ๋„์šฐ๋ฏธ](https://www.bilibili.com/video/BV19L411U7ia) | [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ] Google Scholar ๊ฒ€์ƒ‰ ํŽ˜์ด์ง€ URL์„ ์ œ๊ณตํ•˜๋ฉด gpt๊ฐ€ [Related Works ์ž‘์„ฑ](https://www.bilibili.com/video/BV1GP411U7Az/)์„ ๋„์™€์ค๋‹ˆ๋‹ค.
์ธํ„ฐ๋„ท ์ •๋ณด ์ง‘๊ณ„+GPT | [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ] ๋จผ์ € GPT๊ฐ€ ์ธํ„ฐ๋„ท์—์„œ ์ •๋ณด๋ฅผ ์ˆ˜์ง‘ํ•˜๊ณ  ์งˆ๋ฌธ์— ๋Œ€๋‹ต ํ•  ์ˆ˜ ์žˆ๋„๋กํ•ฉ๋‹ˆ๋‹ค. ์ •๋ณด๊ฐ€ ์ ˆ๋Œ€์ ์œผ๋กœ ๊ตฌ์‹์ด ์•„๋‹™๋‹ˆ๋‹ค.
์ˆ˜์‹/์ด๋ฏธ์ง€/ํ‘œ ํ‘œ์‹œ | ๊ธ‰์—ฌ, ์ฝ”๋“œ ๊ฐ•์กฐ ๊ธฐ๋Šฅ ์ง€์›
๋ฉ€ํ‹ฐ ์Šค๋ ˆ๋“œ ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ง€์› | Chatgpt๋ฅผ ์—ฌ๋Ÿฌ ์š”์ฒญ์—์„œ ์‹คํ–‰ํ•˜์—ฌ [๋Œ€๋Ÿ‰์˜ ํ…์ŠคํŠธ](https://www.bilibili.com/video/BV1FT411H7c5/) ๋˜๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ์ฒ˜๋ฆฌ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
๋‹คํฌ ๊ทธ๋ผ๋””์˜ค ํ…Œ๋งˆ ์‹œ์ž‘ | ์–ด๋‘ก๊ฒŒ ์ฃผ์ œ๋ฅผ ๋ณ€๊ฒฝํ•˜๋ ค๋ฉด ๋ธŒ๋ผ์šฐ์ € URL ๋์— ```/?__theme=dark```์„ ์ถ”๊ฐ€ํ•˜๋ฉด๋ฉ๋‹ˆ๋‹ค.
[๋‹ค์ค‘ LLM ๋ชจ๋ธ](https://www.bilibili.com/video/BV1wT411p7yf) ์ง€์›, [API2D](https://api2d.com/) ์ธํ„ฐํŽ˜์ด์Šค ์ง€์›๋จ | GPT3.5, GPT4, [Tsinghua ChatGLM](https://github.com/THUDM/ChatGLM-6B), [Fudan MOSS](https://github.com/OpenLMLab/MOSS)๊ฐ€ ๋ชจ๋‘ ๋™์‹œ์— ์ž‘๋™ํ•˜๋Š” ๊ฒƒ์ฒ˜๋Ÿผ ๋Š๋‚„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค!
LLM ๋ชจ๋ธ ์ถ”๊ฐ€ ๋ฐ[huggingface ๋ฐฐ์น˜](https://huggingface.co/spaces/qingxu98/gpt-academic) ์ง€์› | ์ƒˆ Bing ์ธํ„ฐํŽ˜์ด์Šค (์ƒˆ Bing) ์ถ”๊ฐ€, Clearing House [Jittorllms](https://github.com/Jittor/JittorLLMs) ์ง€์› [LLaMA](https://github.com/facebookresearch/llama), [RWKV](https://github.com/BlinkDL/ChatRWKV) ๋ฐ [็›˜ๅคฮฑ](https://openi.org.cn/pangu/)
๊ธฐํƒ€ ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ (์ด๋ฏธ์ง€ ์ƒ์„ฑ ๋“ฑ) ... | ์ด ๋ฌธ์„œ์˜ ๋๋ถ€๋ถ„์„ ์ฐธ์กฐํ•˜์„ธ์š”. ...- ๋ชจ๋“  ๋ฒ„ํŠผ์€ 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>
- ์ถœ๋ ฅ์— ์ˆ˜์‹์ด ํฌํ•จ๋˜์–ด ์žˆ์œผ๋ฉด ํ…์Šค์™€ ๋ Œ๋”๋ง์˜ ํ˜•ํƒœ๋กœ ๋™์‹œ์— ํ‘œ์‹œ๋˜์–ด ๋ณต์‚ฌ ๋ฐ ์ฝ๊ธฐ๊ฐ€ ์šฉ์ดํ•ฉ๋‹ˆ๋‹ค.
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/230598842-1d7fcddd-815d-40ee-af60-baf488a199df.png" width="700" >
</div>
- ํ”„๋กœ์ ํŠธ ์ฝ”๋“œ๋ฅผ ๋ณผ ์‹œ๊ฐ„์ด ์—†์Šต๋‹ˆ๊นŒ? ์ „์ฒด ํ”„๋กœ์ ํŠธ๋ฅผ chatgpt์— ์ง์ ‘ ํ‘œ์‹œํ•˜์‹ญ์‹œ์˜ค
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/226935232-6b6a73ce-8900-4aee-93f9-733c7e6fef53.png" width="700" >
</div>
- ๋‹ค์–‘ํ•œ ๋Œ€ํ˜• ์–ธ์–ด ๋ชจ๋ธ ๋ฒ”์šฉ ์š”์ฒญ (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-Method 1: Run directly (Windows, Linux or MacOS)
1. ํ”„๋กœ์ ํŠธ ๋‹ค์šด๋กœ๋“œ
```sh
git clone https://github.com/binary-husky/chatgpt_academic.git
cd chatgpt_academic
```
2. API_KEY ๊ตฌ์„ฑ
`config.py`์—์„œ API KEY ๋“ฑ ์„ค์ •์„ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค. [ํŠน๋ณ„ํ•œ ๋„คํŠธ์›Œํฌ ํ™˜๊ฒฝ ์„ค์ •](https://github.com/binary-husky/gpt_academic/issues/1) .
(P.S. ํ”„๋กœ๊ทธ๋žจ์ด ์‹คํ–‰๋  ๋•Œ, ์ด๋ฆ„์ด `config_private.py`์ธ ๊ธฐ๋ฐ€ ์„ค์ • ํŒŒ์ผ์ด ์žˆ๋Š”์ง€ ์šฐ์„ ์ ์œผ๋กœ ํ™•์ธํ•˜๊ณ  ํ•ด๋‹น ์„ค์ •์œผ๋กœ `config.py`์˜ ๋™์ผํ•œ ์ด๋ฆ„์˜ ์„ค์ •์„ ๋ฎ์–ด์”๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ ๊ตฌ์„ฑ ์ฝ๊ธฐ ๋…ผ๋ฆฌ๋ฅผ ์ดํ•ดํ•  ์ˆ˜ ์žˆ๋‹ค๋ฉด, `config.py` ์˜†์— `config_private.py`๋ผ๋Š” ์ƒˆ ๊ตฌ์„ฑ ํŒŒ์ผ์„ ๋งŒ๋“ค๊ณ  `config.py`์˜ ๊ตฌ์„ฑ์„ `config_private.py`๋กœ ์ด๋™(๋ณต์‚ฌ)ํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค. `config_private.py`๋Š” git์œผ๋กœ ๊ด€๋ฆฌ๋˜์ง€ ์•Š์œผ๋ฉฐ ๊ฐœ์ธ ์ •๋ณด๋ฅผ ๋” ์•ˆ์ „ํ•˜๊ฒŒ ๋ณดํ˜ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. P.S. ํ”„๋กœ์ ํŠธ๋Š” ๋˜ํ•œ ๋Œ€๋ถ€๋ถ„์˜ ์˜ต์…˜์„ `ํ™˜๊ฒฝ ๋ณ€์ˆ˜`๋ฅผ ํ†ตํ•ด ์„ค์ •ํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ, `docker-compose` ํŒŒ์ผ์„ ์ฐธ์กฐํ•˜์—ฌ ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ์ž‘์„ฑ ํ˜•์‹์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์šฐ์„ ์ˆœ์œ„: `ํ™˜๊ฒฝ ๋ณ€์ˆ˜` > `config_private.py` > `config.py`)
3. ์˜์กด์„ฑ ์„ค์น˜
```sh
# (I ์„ ํƒ: ๊ธฐ์กด python ๊ฒฝํ—˜์ด ์žˆ๋‹ค๋ฉด) (python ๋ฒ„์ „ 3.9 ์ด์ƒ, ์ตœ์‹  ๋ฒ„์ „์ด ์ข‹์Šต๋‹ˆ๋‹ค), ์ฐธ๊ณ : ๊ณต์‹ pip ์†Œ์Šค ๋˜๋Š” ์•Œ๋ฆฌ pip ์†Œ์Šค ์‚ฌ์šฉ, ์ผ์‹œ์ ์ธ ๊ต์ฒด ๋ฐฉ๋ฒ•: python -m pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
python -m pip install -r requirements.txt
# (II ์„ ํƒ: Python์— ์ต์ˆ™ํ•˜์ง€ ์•Š์€ ๊ฒฝ์šฐ) anaconda ์‚ฌ์šฉ ๋ฐฉ๋ฒ•์€ ๋น„์Šทํ•จ(https://www.bilibili.com/video/BV1rc411W7Dr):
conda create -n gptac_venv python=3.11 # anaconda ํ™˜๊ฒฝ ๋งŒ๋“ค๊ธฐ
conda activate gptac_venv # anaconda ํ™˜๊ฒฝ ํ™œ์„ฑํ™”
python -m pip install -r requirements.txt # ์ด ๋‹จ๊ณ„๋„ pip install์˜ ๋‹จ๊ณ„์™€ ๋™์ผํ•ฉ๋‹ˆ๋‹ค.
```
<details><summary>์ถ”๊ฐ€์ง€์›์„ ์œ„ํ•ด Tsinghua ChatGLM / Fudan MOSS๋ฅผ ์‚ฌ์šฉํ•ด์•ผํ•˜๋Š” ๊ฒฝ์šฐ ์ง€์›์„ ํด๋ฆญํ•˜์—ฌ ์ด ๋ถ€๋ถ„์„ ํ™•์žฅํ•˜์„ธ์š”.</summary>
<p>
[Tsinghua ChatGLM] / [Fudan MOSS]๋ฅผ ๋ฐฑ์—”๋“œ๋กœ ์‚ฌ์šฉํ•˜๋ ค๋ฉด ์ถ”๊ฐ€์ ์ธ ์ข…์†์„ฑ์„ ์„ค์น˜ํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค (์ „์ œ ์กฐ๊ฑด : Python์„ ์ดํ•ดํ•˜๊ณ  Pytorch๋ฅผ ์‚ฌ์šฉํ•œ ์ ์ด ์žˆ์œผ๋ฉฐ, ์ปดํ“จํ„ฐ๊ฐ€ ์ถฉ๋ถ„ํžˆ ๊ฐ•๋ ฅํ•œ ๊ฒฝ์šฐ) :
```sh
# [์„ ํƒ ์‚ฌํ•ญ I] Tsinghua ChatGLM์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. Tsinghua ChatGLM์— ๋Œ€ํ•œ ์ฐธ๊ณ ์‚ฌํ•ญ : "Call ChatGLM fail cannot load ChatGLM parameters normally" ์˜ค๋ฅ˜ ๋ฐœ์ƒ์‹œ ๋‹ค์Œ ์ฐธ์กฐ:
# 1 : ๊ธฐ๋ณธ ์„ค์น˜๋œ ๊ฒƒ๋“ค์€ torch + cpu ๋ฒ„์ „์ž…๋‹ˆ๋‹ค. cuda๋ฅผ ์‚ฌ์šฉํ•˜๋ ค๋ฉด torch๋ฅผ ์ œ๊ฑฐํ•œ ๋‹ค์Œ torch + cuda๋ฅผ ๋‹ค์‹œ ์„ค์น˜ํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.
# 2 : ๋ชจ๋ธ์„ ๋กœ๋“œํ•  ์ˆ˜ ์—†๋Š” ๊ธฐ๊ณ„ ๊ตฌ์„ฑ ๋•Œ๋ฌธ์—, AutoTokenizer.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True)๋ฅผ
# AutoTokenizer.from_pretrained("THUDM/chatglm-6b-int4", trust_remote_code=True)๋กœ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.
python -m pip install -r request_llm/requirements_chatglm.txt
# [์„ ํƒ ์‚ฌํ•ญ II] Fudan MOSS ์ง€์›
python -m pip install -r request_llm/requirements_moss.txt
git clone https://github.com/OpenLMLab/MOSS.git request_llm/moss # ๋‹ค์Œ ์ฝ”๋“œ ์ค„์„ ์‹คํ–‰ํ•  ๋•Œ ํ”„๋กœ์ ํŠธ ๋ฃจํŠธ ๊ฒฝ๋กœ์— ์žˆ์–ด์•ผํ•ฉ๋‹ˆ๋‹ค.
# [์„ ํƒ ์‚ฌํ•ญIII] AVAIL_LLM_MODELS config.py ๊ตฌ์„ฑ ํŒŒ์ผ์— ๊ธฐ๋Œ€ํ•˜๋Š” ๋ชจ๋ธ์ด ํฌํ•จ๋˜์–ด ์žˆ๋Š”์ง€ ํ™•์ธํ•˜์‹ญ์‹œ์˜ค.
# ํ˜„์žฌ ์ง€์›๋˜๋Š” ์ „์ฒด ๋ชจ๋ธ :
AVAIL_LLM_MODELS = ["gpt-3.5-turbo", "api2d-gpt-3.5-turbo", "gpt-4", "api2d-gpt-4", "chatglm", "newbing", "moss"] # + ["jittorllms_rwkv", "jittorllms_pangualpha", "jittorllms_llama"]
```
</p>
</details>
4. ์‹คํ–‰
```sh
python main.py
```5. ํ…Œ์ŠคํŠธ ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ
```
- ํ…Œ์ŠคํŠธ ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ํ…œํ”Œ๋ฆฟ ํ•จ์ˆ˜ (GPT์—๊ฒŒ ์˜ค๋Š˜์˜ ์—ญ์‚ฌ์—์„œ ๋ฌด์Šจ ์ผ์ด ์ผ์–ด๋‚ฌ๋Š”์ง€ ๋Œ€๋‹ตํ•˜๋„๋ก ์š”์ฒญ)๋ฅผ ๊ตฌํ˜„ํ•˜๋Š” ๋ฐ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ํ•จ์ˆ˜๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๋” ๋ณต์žกํ•œ ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
"[ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ํ…œํ”Œ๋ฆฟ ๋ฐ๋ชจ] ์˜ค๋Š˜์˜ ์—ญ์‚ฌ"๋ฅผ ํด๋ฆญํ•˜์„ธ์š”.
```
## ์„ค์น˜ - ๋ฐฉ๋ฒ• 2 : ๋„์ปค ์‚ฌ์šฉ
1. ChatGPT ๋งŒ (๋Œ€๋ถ€๋ถ„์˜ ์‚ฌ๋žŒ๋“ค์ด ์„ ํƒํ•˜๋Š” ๊ฒƒ์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.)
``` sh
git clone https://github.com/binary-husky/chatgpt_academic.git # ๋‹ค์šด๋กœ๋“œ
cd chatgpt_academic # ๊ฒฝ๋กœ ์ด๋™
nano config.py # ์•„๋ฌด ํ…์ŠคํŠธ ์—๋””ํ„ฐ๋กœ config.py๋ฅผ ์—ด๊ณ  "Proxy","API_KEY","WEB_PORT" (์˜ˆ : 50923) ๋“ฑ์„ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค.
docker build -t gpt-academic . # ์„ค์น˜
#(๋งˆ์ง€๋ง‰ ๋‹จ๊ณ„-1 ์„ ํƒ) Linux ํ™˜๊ฒฝ์—์„œ๋Š” --net=host๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ๋” ํŽธ๋ฆฌํ•ฉ๋‹ˆ๋‹ค.
docker run --rm -it --net=host gpt-academic
#(๋งˆ์ง€๋ง‰ ๋‹จ๊ณ„-2 ์„ ํƒ) macOS / windows ํ™˜๊ฒฝ์—์„œ๋Š” -p ์˜ต์…˜์„ ์‚ฌ์šฉํ•˜์—ฌ ์ปจํ…Œ์ด๋„ˆ์˜ ํฌํŠธ (์˜ˆ : 50923)๋ฅผ ํ˜ธ์ŠคํŠธ์˜ ํฌํŠธ๋กœ ๋…ธ์ถœํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.
docker run --rm -it -e WEB_PORT=50923 -p 50923:50923 gpt-academic
```
2. ChatGPT + ChatGLM + MOSS (Docker์— ์ต์ˆ™ํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.)
``` sh
#docker-compose.yml์„ ์ˆ˜์ •ํ•˜์—ฌ ๊ณ„ํš 1 ๋ฐ ๊ณ„ํš 3์„ ์‚ญ์ œํ•˜๊ณ  ๊ณ„ํš 2๋ฅผ ์œ ์ง€ํ•ฉ๋‹ˆ๋‹ค. docker-compose.yml์—์„œ ๊ณ„ํš 2์˜ ๊ตฌ์„ฑ์„ ์ˆ˜์ •ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค. ์ฃผ์„์„ ์ฐธ์กฐํ•˜์‹ญ์‹œ์˜ค.
docker-compose up
```
3. ChatGPT + LLAMA + Pangu + RWKV (Docker์— ์ต์ˆ™ํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.)
``` sh
#docker-compose.yml์„ ์ˆ˜์ •ํ•˜์—ฌ ๊ณ„ํš 1 ๋ฐ ๊ณ„ํš 2์„ ์‚ญ์ œํ•˜๊ณ  ๊ณ„ํš 3์„ ์œ ์ง€ํ•ฉ๋‹ˆ๋‹ค. docker-compose.yml์—์„œ ๊ณ„ํš 3์˜ ๊ตฌ์„ฑ์„ ์ˆ˜์ •ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค. ์ฃผ์„์„ ์ฐธ์กฐํ•˜์‹ญ์‹œ์˜ค.
docker-compose up
```
## ์„ค์น˜ - ๋ฐฉ๋ฒ• 3 : ๋‹ค๋ฅธ ๋ฐฐ์น˜ ๋ฐฉ๋ฒ•
1. ๋ฆฌ๋ฒ„์Šค ํ”„๋ก์‹œ URL / Microsoft Azure API ์‚ฌ์šฉ ๋ฐฉ๋ฒ•
API_URL_REDIRECT๋ฅผ `config.py`์— ๋”ฐ๋ผ ๊ตฌ์„ฑํ•˜๋ฉด๋ฉ๋‹ˆ๋‹ค.
2. ์›๊ฒฉ ํด๋ผ์šฐ๋“œ ์„œ๋ฒ„ ๋ฐฐ์น˜ (ํด๋ผ์šฐ๋“œ ์„œ๋ฒ„ ์ง€์‹๊ณผ ๊ฒฝํ—˜์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.)
[๋ฐฐ์น˜์œ„ํ‚ค-1](https://github.com/binary-husky/chatgpt_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)์— ๋ฐฉ๋ฌธํ•˜์‹ญ์‹œ์˜ค.
3. WSL2 ์‚ฌ์šฉ (Windows Subsystem for Linux ํ•˜์œ„ ์‹œ์Šคํ…œ)
[๋ฐฐ์น˜ ์œ„ํ‚ค-2](https://github.com/binary-husky/chatgpt_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)์— ๋ฐฉ๋ฌธํ•˜์‹ญ์‹œ์˜ค.
4. 2 ์ฐจ URL (์˜ˆ : `http : //localhost/subpath`)์—์„œ ์‹คํ–‰ํ•˜๋Š” ๋ฐฉ๋ฒ•
[FastAPI ์‹คํ–‰ ์„ค๋ช…์„œ] (docs / WithFastapi.md)๋ฅผ ์ฐธ์กฐํ•˜์‹ญ์‹œ์˜ค.
5. docker-compose ์‹คํ–‰
docker-compose.yml์„ ์ฝ์€ ํ›„ ์ง€์‹œ ์‚ฌํ•ญ์— ๋”ฐ๋ผ ์ž‘์—…ํ•˜์‹ญ์‹œ์˜ค.
---
# ๊ณ ๊ธ‰ ์‚ฌ์šฉ๋ฒ•
## ์‚ฌ์šฉ์ž ์ •์˜ ๋ฐ”๋กœ ๊ฐ€๊ธฐ ๋ฒ„ํŠผ / ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ
1. ์‚ฌ์šฉ์ž ์ •์˜ ๋ฐ”๋กœ ๊ฐ€๊ธฐ ๋ฒ„ํŠผ (ํ•™์ˆ  ๋ฐ”๋กœ ๊ฐ€๊ธฐ)
์ž„์˜์˜ ํ…์ŠคํŠธ ํŽธ์ง‘๊ธฐ๋กœ 'core_functional.py'๋ฅผ ์—ฝ๋‹ˆ๋‹ค. ์—”ํŠธ๋ฆฌ ์ถ”๊ฐ€, ๊ทธ๋Ÿฐ ๋‹ค์Œ ํ”„๋กœ๊ทธ๋žจ์„ ๋‹ค์‹œ ์‹œ์ž‘ํ•˜๋ฉด๋ฉ๋‹ˆ๋‹ค. (๋ฒ„ํŠผ์ด ์ด๋ฏธ ์ถ”๊ฐ€๋˜์–ด ๋ณด์ด๊ณ  ์ ‘๋‘์‚ฌ, ์ ‘๋ฏธ์‚ฌ๊ฐ€ ๋ชจ๋‘ ๋ณ€์ˆ˜๊ฐ€ ํšจ๊ณผ์ ์œผ๋กœ ์ˆ˜์ •๋˜๋ฉด ํ”„๋กœ๊ทธ๋žจ์„ ๋‹ค์‹œ ์‹œ์ž‘ํ•˜์ง€ ์•Š์•„๋„๋ฉ๋‹ˆ๋‹ค.)
์˜ˆ :
```
"่ถ…็บง่‹ฑ่ฏ‘ไธญ": {
# ์ ‘๋‘์‚ฌ. ๋‹น์‹ ์ด ์š”๊ตฌํ•˜๋Š” ๊ฒƒ์„ ์„ค๋ช…ํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ๋ฒˆ์—ญ, ์ฝ”๋“œ๋ฅผ ์„ค๋ช…, ๋‹ค๋“ฌ๊ธฐ ๋“ฑ
"Prefix": "ไธ‹้ข็ฟป่ฏ‘ๆˆไธญๆ–‡๏ผŒ็„ถๅŽ็”จไธ€ไธช markdown ่กจๆ ผ้€ไธ€่งฃ้‡Šๆ–‡ไธญๅ‡บ็Žฐ็š„ไธ“ๆœ‰ๅ่ฏ๏ผš\n\n",
# ์ ‘๋ฏธ์‚ฌ๋Š” ์ž…๋ ฅ ๋‚ด์šฉ ์•ž๋’ค์— ์ถ”๊ฐ€๋ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ์ „์œ„๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ž…๋ ฅ ๋‚ด์šฉ์„ ๋”ฐ์˜ดํ‘œ๋กœ ๋ฌถ๋Š”๋ฐ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
"Suffix": "",
},
```
<div align="center">
<img src="https://user-images.githubusercontent.com/96192199/226899272-477c2134-ed71-4326-810c-29891fe4a508.png" width="500" >
</div>
2. ์‚ฌ์šฉ์ž ์ง€์ • ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ
๊ฐ•๋ ฅํ•œ ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์ž‘์„ฑํ•˜์—ฌ ์›ํ•˜๋Š” ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•˜์‹ญ์‹œ์˜ค.
์ด ํ”„๋กœ์ ํŠธ์˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ž‘์„ฑ ๋ฐ ๋””๋ฒ„๊น… ๋‚œ์ด๋„๋Š” ๋งค์šฐ ๋‚ฎ์œผ๋ฉฐ, ์ผ๋ถ€ ํŒŒ์ด์ฌ ๊ธฐ๋ณธ ์ง€์‹๋งŒ ์žˆ์œผ๋ฉด ์ œ๊ณต๋œ ํ…œํ”Œ๋ฆฟ์„ ๋ชจ๋ฐฉํ•˜์—ฌ ํ”Œ๋Ÿฌ๊ทธ์ธ ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ [ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ๊ฐ€์ด๋“œ]๋ฅผ ์ฐธ์กฐํ•˜์‹ญ์‹œ์˜ค. (https://github.com/binary -husky/chatgpt_academic/wiki/%E5%87%BD%E6%95%B0%E6%8F%92%E 4%BB%B6%E6%8C%87%E5%8D%97).
---
# ์ตœ์‹  ์—…๋ฐ์ดํŠธ
## ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ๋™ํ–ฅ1. ๋Œ€ํ™” ์ €์žฅ ๊ธฐ๋Šฅ.
1. ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ์˜์—ญ์—์„œ 'ํ˜„์žฌ ๋Œ€ํ™” ์ €์žฅ'์„ ํ˜ธ์ถœํ•˜๋ฉด ํ˜„์žฌ ๋Œ€ํ™”๋ฅผ ์ฝ์„ ์ˆ˜ ์žˆ๊ณ  ๋ณต์› ๊ฐ€๋Šฅํ•œ HTML ํŒŒ์ผ๋กœ ์ €์žฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ์˜์—ญ(๋“œ๋กญ๋‹ค์šด ๋ฉ”๋‰ด)์—์„œ '๋Œ€ํ™” ๊ธฐ๋ก ๋ถˆ๋Ÿฌ์˜ค๊ธฐ'๋ฅผ ํ˜ธ์ถœํ•˜๋ฉด ์ด์ „ ๋Œ€ํ™”๋ฅผ ๋ณต์›ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํŒ: ํŒŒ์ผ์„ ์ง€์ •ํ•˜์ง€ ์•Š๊ณ  '๋Œ€ํ™” ๊ธฐ๋ก ๋ถˆ๋Ÿฌ์˜ค๊ธฐ'๋ฅผ ํด๋ฆญํ•˜๋ฉด ๊ธฐ๋ก๋œ HTML ์บ์‹œ๋ฅผ ๋ณผ ์ˆ˜ ์žˆ์œผ๋ฉฐ '๋ชจ๋“  ๋กœ์ปฌ ๋Œ€ํ™” ๊ธฐ๋ก ์‚ญ์ œ'๋ฅผ ํด๋ฆญํ•˜๋ฉด ๋ชจ๋“  HTML ์บ์‹œ๋ฅผ ์‚ญ์ œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
2. ๋ณด๊ณ ์„œ ์ƒ์„ฑ. ๋Œ€๋ถ€๋ถ„์˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์€ ์‹คํ–‰์ด ๋๋‚œ ํ›„ ์ž‘์—… ๋ณด๊ณ ์„œ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
3. ๋ชจ๋“ˆํ™” ๊ธฐ๋Šฅ ์„ค๊ณ„, ๊ฐ„๋‹จํ•œ ์ธํ„ฐํŽ˜์ด์Šค๋กœ๋„ ๊ฐ•๋ ฅํ•œ ๊ธฐ๋Šฅ์„ ์ง€์›ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
4. ์ž์ฒด ๋ฒˆ์—ญ์ด ๊ฐ€๋Šฅํ•œ ์˜คํ”ˆ ์†Œ์Šค ํ”„๋กœ์ ํŠธ์ž…๋‹ˆ๋‹ค.
5. ๋‹ค๋ฅธ ์˜คํ”ˆ ์†Œ์Šค ํ”„๋กœ์ ํŠธ๋ฅผ ๋ฒˆ์—ญํ•˜๋Š” ๊ฒƒ์€ ์–ด๋ ต์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
6. [live2d](https://github.com/fghrsh/live2d_demo) ์žฅ์‹ ๊ธฐ๋Šฅ(๊ธฐ๋ณธ์ ์œผ๋กœ ๋น„ํ™œ์„ฑํ™”๋˜์–ด ์žˆ์œผ๋ฉฐ `config.py`๋ฅผ ์ˆ˜์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.)
7. MOSS ๋Œ€ ์–ธ์–ด ๋ชจ๋ธ ์ง€์› ์ถ”๊ฐ€
8. OpenAI ์ด๋ฏธ์ง€ ์ƒ์„ฑ
9. OpenAI ์Œ์„ฑ ๋ถ„์„ ๋ฐ ์š”์•ฝ
10. LaTeX ์ „์ฒด์ ์ธ ๊ต์ • ๋ฐ ์˜ค๋ฅ˜ ์ˆ˜์ •
## ๋ฒ„์ „:
- version 3.5 (TODO): ์ž์—ฐ์–ด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ด ํ”„๋กœ์ ํŠธ์˜ ๋ชจ๋“  ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ํ˜ธ์ถœํ•˜๋Š” ๊ธฐ๋Šฅ(์šฐ์„ ์ˆœ์œ„ ๋†’์Œ)
- version 3.4(TODO): ๋กœ์ปฌ ๋Œ€ ๋ชจ๋“ˆ์˜ ๋‹ค์ค‘ ์Šค๋ ˆ๋“œ ์ง€์› ํ–ฅ์ƒ
- version 3.3: ์ธํ„ฐ๋„ท ์ •๋ณด ์ข…ํ•ฉ ๊ธฐ๋Šฅ ์ถ”๊ฐ€
- version 3.2: ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์ด ๋” ๋งŽ์€ ์ธ์ˆ˜ ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.(๋Œ€ํ™” ์ €์žฅ ๊ธฐ๋Šฅ, ์ž„์˜์˜ ์–ธ์–ด ์ฝ”๋“œ ํ•ด์„ ๋ฐ ๋™์‹œ์— ์ž„์˜์˜ LLM ์กฐํ•ฉ์„ ํ™•์ธํ•˜๋Š” ๊ธฐ๋Šฅ)
- version 3.1: ์—ฌ๋Ÿฌ ๊ฐœ์˜ GPT ๋ชจ๋ธ์— ๋Œ€ํ•œ ๋™์‹œ ์ฟผ๋ฆฌ ์ง€์›! api2d ์ง€์›, ์—ฌ๋Ÿฌ ๊ฐœ์˜ apikey ๋กœ๋“œ ๋ฐธ๋Ÿฐ์‹ฑ ์ง€์›
- version 3.0: chatglm ๋ฐ ๊ธฐํƒ€ ์†Œํ˜• llm์˜ ์ง€์›
- version 2.6: ํ”Œ๋Ÿฌ๊ทธ์ธ ๊ตฌ์กฐ๋ฅผ ์žฌ๊ตฌ์„ฑํ•˜์—ฌ ์ƒํ˜ธ ์ž‘์šฉ์„ฑ์„ ํ–ฅ์ƒ์‹œ์ผฐ์Šต๋‹ˆ๋‹ค. ๋” ๋งŽ์€ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค.
- version 2.5: ์ž์ฒด ์—…๋ฐ์ดํŠธ, ์ „์ฒด ํ”„๋กœ์ ํŠธ๋ฅผ ์š”์•ฝํ•  ๋•Œ ํ…์ŠคํŠธ๊ฐ€ ๋„ˆ๋ฌด ๊ธธ์–ด์ง€๊ณ  ํ† ํฐ์ด ์˜ค๋ฒ„ํ”Œ๋กœ์šฐ๋˜๋Š” ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.
- version 2.4: (1) PDF ์ „์ฒด ๋ฒˆ์—ญ ๊ธฐ๋Šฅ ์ถ”๊ฐ€; (2) ์ž…๋ ฅ ์˜์—ญ ์œ„์น˜ ์ „ํ™˜ ๊ธฐ๋Šฅ ์ถ”๊ฐ€; (3) ์ˆ˜์ง ๋ ˆ์ด์•„์›ƒ ์˜ต์…˜ ์ถ”๊ฐ€; (4) ๋‹ค์ค‘ ์Šค๋ ˆ๋“œ ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ตœ์ ํ™”.
- version 2.3: ๋‹ค์ค‘ ์Šค๋ ˆ๋“œ ์ƒํ˜ธ ์ž‘์šฉ์„ฑ ๊ฐ•ํ™”
- version 2.2: ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ํžˆํŠธ ๋ฆฌ๋กœ๋“œ ์ง€์›
- version 2.1: ์ ‘๋Š” ๋ ˆ์ด์•„์›ƒ ์ง€์›
- version 2.0: ๋ชจ๋“ˆํ™” ํ•จ์ˆ˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ๋„์ž…
- version 1.0: ๊ธฐ๋ณธ ๊ธฐ๋Šฅ
gpt_academic ๊ฐœ๋ฐœ์ž QQ ๊ทธ๋ฃน-2 : 610599535
- ์•Œ๋ ค์ง„ ๋ฌธ์ œ
- ์ผ๋ถ€ ๋ธŒ๋ผ์šฐ์ € ๋ฒˆ์—ญ ํ”Œ๋Ÿฌ๊ทธ์ธ์ด์ด ์†Œํ”„ํŠธ์›จ์–ด์˜ ํ”„๋ก ํŠธ ์—”๋“œ ์ž‘๋™ ๋ฐฉ์‹์„ ๋ฐฉํ•ดํ•ฉ๋‹ˆ๋‹ค.
- gradio ๋ฒ„์ „์ด ๋„ˆ๋ฌด ๋†’๊ฑฐ๋‚˜ ๋‚ฎ์œผ๋ฉด ์—ฌ๋Ÿฌ ๊ฐ€์ง€ ์ด์ƒ์ด ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
## ์ฐธ๊ณ  ๋ฐ ํ•™์Šต ์ž๋ฃŒ
```
๋งŽ์€ ์šฐ์ˆ˜ ํ”„๋กœ์ ํŠธ์˜ ๋””์ž์ธ์„ ์ฐธ๊ณ ํ–ˆ์Šต๋‹ˆ๋‹ค. ์ฃผ์š” ํ•ญ๋ชฉ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.
# ํ”„๋กœ์ ํŠธ 1 : Tsinghua ChatGLM-6B :
https://github.com/THUDM/ChatGLM-6B
# ํ”„๋กœ์ ํŠธ 2 : Tsinghua JittorLLMs:
https://github.com/Jittor/JittorLLMs
# ํ”„๋กœ์ ํŠธ 3 : Edge-GPT :
https://github.com/acheong08/EdgeGPT
# ํ”„๋กœ์ ํŠธ 4 : ChuanhuChatGPT:
https://github.com/GaiZhenbiao/ChuanhuChatGPT
# ํ”„๋กœ์ ํŠธ 5 : ChatPaper :
https://github.com/kaixindelele/ChatPaper
# ๋” ๋งŽ์€ :
https://github.com/gradio-app/gradio
https://github.com/fghrsh/live2d_demo
```