๐Ÿ”ฅ์„ฑ๋Šฅ์ด ๋†€๋ผ์›Œ์š”๐Ÿ”ฅ ๋ฌด๋ฃŒ๋กœ ํ•œ๊ตญ์–ด๐Ÿ‡ฐ๐Ÿ‡ท ํŒŒ์ธํŠœ๋‹ ๋ชจ๋ธ ๋ฐ›์•„์„œ ๋‚˜๋งŒ์˜ ๋กœ์ปฌ LLM ํ˜ธ์ŠคํŒ… ํ•˜๊ธฐ(

ะŸะพะดั–ะปะธั‚ะธัั
ะ’ัั‚ะฐะฒะบะฐ
  • ะžะฟัƒะฑะปั–ะบะพะฒะฐะฝะพ 23 ัั–ั‡ 2025

ะšะžะœะ•ะะขะะ ะ† • 268

  • @seminarcrunchy
    @seminarcrunchy 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +8

    00:00 ์ธํŠธ๋กœ
    00:57 ๋กœ์ปฌ ๋ชจ๋ธ ์‚ฌ์šฉ ์‹œ ๊ฑฑ์ •๊ฑฐ๋ฆฌ
    02:21 EEVE ๋ชจ๋ธ ์†Œ๊ฐœ(์•ผ๋†€์ž ์ƒค๋ผ์›ƒ)
    02:43 ๊ตฌ์กฐ ์†Œ๊ฐœ
    04:00 GGUF ํŒŒ์ผ
    04:49 ์•ผ๋†€์ž ์ƒค๋ผ์›ƒ2
    05:15 Heegyu๋‹˜ GGUF
    06:25 ๋‹ค์šด๋กœ๋“œ ๋ฐ›๊ณ  modelfile
    09:28 EEVE ๋ชจ๋ธ ์„ค์น˜
    10:42 Ollama์— ์˜ฌ๋ฆฐ ๋ชจ๋ธ ํ…Œ์ŠคํŠธ
    11:34 LangServe ์„ค์ •
    12:30 ์„ค์ • ์„ค๋ช…
    13:01 ์„œ๋ฒ„ ๊ตฌ๋™
    13:35 asitop (GPU ๋ชจ๋‹ˆํ„ฐ๋ง)
    16:45 ๋‹ค์Œ ๋‹จ๊ณ„(ํ™œ์šฉ)
    17:44 Remote Chain(LCEL)
    18:52 ์„œ๋ฒ„์— ์„ธํŒ…ํ•˜๊ธฐ
    20:14 ngrok ํฌํŠธ ํฌ์›Œ๋”ฉ
    23:01 llm runnable
    24:18 ๋ฒˆ์—ญ๊ธฐ
    25:05 remote runnable RAG
    26:01 Streamlit ํ…Œ์ŠคํŠธ
    26:44 pdf RAG ํ…Œ์ŠคํŠธ

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค๐Ÿ˜ฑ๐Ÿ™

  • @teddynote
    @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +36

    ์†Œ์Šค์ฝ”๋“œ๋Š” ์ •๋ฆฌํ•ด์„œ 3์‹œ๊ฐ„ ๋‚ด๋กœ ์—…๋กœ๋“œ ํ•ด๋“œ๋ฆด๊ป˜์š”~ ์ข‹์€ ๋ฐค ๋˜์„ธ์š”.

    • @๋งํฌ์—…IT
      @๋งํฌ์—…IT 4 ะผั–ััั†ั– ั‚ะพะผัƒ +1

      vscode๋‚ด ์†Œ์Šค ํ™”๋ฉด์—์„œ ์ƒ์„ฑํ˜• ์•„์ด์ฝ˜์ด ๋‚˜์˜ค๋Š”๊ฑด ๋ฌด์Šจ ์ต์Šคํ…์…˜์ธ๊ฐ€์š”?

    • @teddynote
      @teddynote  4 ะผั–ััั†ั– ั‚ะพะผัƒ

      @@๋งํฌ์—…IT Github Copilot Extension ์ž…๋‹ˆ๋‹ค!

  • @aowert6518
    @aowert6518 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +2

    16:00 ๋ถ€ํ„ฐ ๋งฅ๋ถ์ด ๋ฒ„๊ฑฐ์›Œ ํ•ด์„œ ์บ ๋„ ๋Š๊ธฐ๋Š”๊ฒŒ ์›ƒ๊ธฐ๋„ค์š” ใ…‹ใ…Ž
    ์˜์ƒ ํ•ญ์ƒ ์ž˜ ๋ณด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค~~!

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋งฅ๋ถ์ด ๋„ˆ๋ฌด ํž˜๋“ค์–ด ํ•ฉ๋‹ˆ๋‹ค๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ ์‹œ์ฒญ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค๐Ÿ™๐Ÿ™

  • @hunkims
    @hunkims 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +7

    ์„ค๋ช… ๋„ˆ๋ฌด ์ž˜ ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค. ๋ฉ‹์ง„ ๊ฐ•์˜์ž…๋‹ˆ๋‹ค!

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์ œ ๋ˆˆ์„ ์˜์‹ฌํ–ˆ์Šต๋‹ˆ๋‹ค! ์กด๊ฒฝํ•˜๋Š” ๊ต์ˆ˜๋‹˜๊ป˜์„œ ๋Œ“๊ธ€ ๋‹ฌ์•„์ฃผ์‹œ๋‹ˆ ์˜๊ด‘์ž…๋‹ˆ๋‹ค. ๊ต์ˆ˜๋‹˜์˜ ๋ชจ๋‘๋ฅผ ์œ„ํ•œ ๋”ฅ๋Ÿฌ๋‹ ๋“ฃ๊ณ  ๋งŽ์ด ๋ฐฐ์› ์Šต๋‹ˆ๋‹ค. ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค๐Ÿ™๐Ÿ™

    • @๊ตฌ๋ด‰-j5t
      @๊ตฌ๋ด‰-j5t 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +2

      ์˜ค ์ด ๋Œ“๊ธ€์€ ์ •๋ง ๊ท€ํ•˜๋„ค์š”

  • @๋ฃจ๋ฃจ-z4l
    @๋ฃจ๋ฃจ-z4l 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +2

    ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์•„์ด์ฟ  ์ด๋ ‡๊ฒŒ ํฐ ๊ธˆ์•ก์„...๐Ÿ˜ญ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๋ง›์žˆ๋Š” ๊ฑฐ ์‚ฌ๋จน๊ฒ ์Šต๋‹ˆ๋‹ค๐Ÿ˜

  • @์ •๋ง๊ทธ๋Ÿด๊นŒ-n2t
    @์ •๋ง๊ทธ๋Ÿด๊นŒ-n2t 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +3

    ์—ญ์‹œ ํ•œ๊ตญ์–ด sllm ์ค‘์—์„œ๋Š” eeve ๋ชจ๋ธ์ด ์š”์ฆ˜ ์ธ๊ธฐ๊ฐ€ ์žˆ๋„ค์š”~
    ์ข‹์€ ๊ฐ•์˜ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์ธ๊ธฐ๊ฐ€ ์žˆ๋Š”๋ฐ์—๋Š” ์ด์œ ๊ฐ€ ์žˆ๋”๋ผ๊ตฌ์š”! ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค๐Ÿ™

  • @user-iy5yx7zy9v
    @user-iy5yx7zy9v 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +4

    ์˜์ƒ ๋š๋š ๋Š๊ธฐ๋ฉฐ.. ๋กœ์ปฌ์ž„์„ ์ž…์ฆ..

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๐Ÿ˜ญ

  • @happyloper
    @happyloper 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +2

    ์™€ ํ˜ธ๊ธฐ์‹ฌ์— ๋”ฐ๋ผํ•ด๋ดค๋Š”๋ฐ ๊ฒ๋‚˜ ์ž˜๋˜๋„ค์š” ์ข‹์€ ์ž๋ฃŒ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค ๐Ÿ‘๐Ÿ‘

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋„์›€์ด ๋˜์…จ๋‹ค๋‹ˆ ๋‹คํ–‰์ž…๋‹ˆ๋‹ค. ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค~!

  • @๊น€์•„๋ฌด๊ฐœ-f9v
    @๊น€์•„๋ฌด๊ฐœ-f9v 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +4

    ์•„๋‹ˆ ollama๋กœ ํ”Œ์ ํ•˜๋ฉด์„œ ๋‚‘๋‚‘๋Œ€๊ณ  ์žˆ์—ˆ๋Š”๋ฐ ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ ๊ณ ๊ตฌ๋งˆ์— ์‚ฌ์ด๋‹ค ์˜ค์กŒ์Šต๋‹ˆ๋‹ค...

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ ๊ฐ์†จํ•ฉ๋‹ˆ๋‹ค.

  • @ํ•œ๊ฒฝํ -n2d
    @ํ•œ๊ฒฝํ -n2d 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์˜ค~~~ ์ข‹์€ ๋‚ด์šฉ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ์ด๋Ÿฐ๊ฑธ ์ฐพ๊ณ  ์žˆ์—ˆ๋Š”๋ฐ์š”..

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์ €๋„์š”~ ์ด๋Ÿฐ๊ฑธ ์ฐพ๋‹ค๊ฐ€ ์˜์ƒ์œผ๋กœ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค ใ…Ž

  • @์ธํ”„ํ”ผ-ํ‹ฐ
    @์ธํ”„ํ”ผ-ํ‹ฐ 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์ข‹์€๊ฐ•์˜ ์žฌ๋ฐŒ๊ฒŒ ์ž˜ ๋ณด์•˜์Šต๋‹ˆ๋‹ค. ์˜ค๋Š˜๋„ ๋งŽ์€ ๊ณต๋ถ€๊ฐ€ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋„์›€์ด ๋˜์…จ๋‹ค๋‹ˆ ๋‹คํ–‰์ž…๋‹ˆ๋‹ค. ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค ๐Ÿ™

  • @๋งˆํฌ์ ๋งˆ์ €๊ฑฐ
    @๋งˆํฌ์ ๋งˆ์ €๊ฑฐ 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์ œ๊ฐ€ ์ฐพ๋˜ ๋‚ด์šฉ์ด๋„ค์š” ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ์ž…๋‹ˆ๋‹ค

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹น๐Ÿ‘๐Ÿ‘

  • @๊ณ ์–‘์ด๋Š”๊ณ ์–‘
    @๊ณ ์–‘์ด๋Š”๊ณ ์–‘ 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ๋„ˆ๋ฌด๋„ˆ๋ฌด ์ž˜๋ดค์Šต๋‹ˆ๋‹ค. ์ข‹์€ ์˜์ƒ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋„ค ์‹œ์ฒญํ•ด์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค๐Ÿ™๐Ÿ™

  • @hyungsungshim5714
    @hyungsungshim5714 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +2

    ๋‚ด์šฉ์ด ๋„ˆ๋ฌด ์ข‹์•„์„œ ๋ฐ”๋กœ ๋ฉค๋ฒ„์‰ฝ ๊ฐ€์ž…ํ–ˆ์Šต๋‹ˆ๋‹ท!! ๊ฐ์‚ฌํ•ด์š”~ ํ…Œ๋””๋‹˜!

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์•„์ด์ฟ  ๋ฉค๋ฒ„์‹ญ ๊ฐ€์ž… ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค ์•ž์œผ๋กœ๋„ ์ข‹์€ ์ฝ˜ํ…์ธ  ์—…๋กœ๋“œ ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค๐Ÿ™

  • @stonkseal
    @stonkseal 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์ข‹์€ ์˜์ƒ ๋„ˆ๋ฌด ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค~^^

  • @๋ฐฐ๋ถ€๋ฅธ๊ณฐ์ด
    @๋ฐฐ๋ถ€๋ฅธ๊ณฐ์ด 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +4

    ์žฌํ˜„๋ฐฉ๋ฒ•: ollama create ์‹คํ–‰์‹œ
    ์—๋Ÿฌ๋ฐœ์ƒ: Error: unknown parameter 'TEMPERATURE'
    ํ•ด๊ฒฐ: Modelfile-V02์„ ์ฐธ๊ณ , Modelfile์˜ TEMPERATURE์„ temperature ๋กœ ๋ณ€๊ฒฝ

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค๐Ÿ‘

  • @๋ƒฅ๋ƒ -i8i
    @๋ƒฅ๋ƒ -i8i 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ๋ญ์•ผ ๋‹น์‹  ์•„๋‚Œ์—†์ด ์ฃผ๋Š” ๋‚˜๋ฌด...?
    ๋„ˆ๋ฌด ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค...

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์–ด๋ฉ‹?! ๋‹ค ๊ฐ€์ ธ๊ฐ€์„ธ์š”๐Ÿคค

  • @jasonnam7138
    @jasonnam7138 2 ะผั–ััั†ั– ั‚ะพะผัƒ

    ๋‚ด์šฉ๋„ ์žฌ๋ฏธ์žˆ๊ณ  ์„ค๋ช…๋„ ์™์™ ์ดํ•ด๋ฉ๋‹ˆ๋‹ค. ์ข‹์€ ์ปจํ…์ธ  ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  2 ะผั–ััั†ั– ั‚ะพะผัƒ

      ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค๐Ÿ™๐Ÿ™

  • @Leo-zd1nn
    @Leo-zd1nn 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ํ›Œ๋ฅญํ•œ ๊ฐ•์˜ ๊ณ ๋ง™์Šต๋‹ˆ๋‹ค. ๋•๋ถ„์— ๋งฅ๋ถ์œผ๋กœ ๋กœ์ปฌ์—์„œ ๋น ๋ฅด๊ฒŒ ํ…Œ์ŠคํŠธํ•ด๋ณผ ์ˆ˜ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค!

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์ถ•ํ•˜๋“œ๋ฆฝ๋‹ˆ๋‹ค!!๐Ÿ‘

  • @์—‰๋“œ๋ฃจ
    @์—‰๋“œ๋ฃจ 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ๊ฐ•์˜ ๋„ˆ๋ฌด ์ž˜ํ•˜์‹œ๋„ค์š”. ํฐ ๋„์›€์ด ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค๐Ÿ™๐Ÿ™ ์•ž์œผ๋กœ๋„ ์—ด์‹ฌํžˆ ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค!

  • @Berony1004
    @Berony1004 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    15:56 ์˜์ƒ ๋Š๊ธฐ๋Š”๊ฒƒ๋งŒ ๋ด๋„ ๋กœ์ปฌ ๋ฐ์Šคํฌํƒ‘์—์„œ ์ž˜ ๋Œ์•„๊ฐ€๊ณ  ์žˆ์Œ์ด ๋Š๊ปด์ง‘๋‹ˆ๋‹ค. ๐Ÿ˜

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์ปดํ“จํ„ฐ๊ฐ€ ๋งŽ์ด ํž˜๋“ค์–ด ํ•˜๋”๋ผ๊ณ ์š”๐Ÿ˜ญ๐Ÿ˜ญ

  • @์ „ํ˜„๋นˆ-j1p
    @์ „ํ˜„๋นˆ-j1p 5 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์•ˆ๋…•ํ•˜์„ธ์š” :) ๊ตฌ๊ธ€๋ง๊ณผ gpt๋ฅผ ์จ๋ด๋„ ํ•ด๊ฒฐ์ด ์•ˆ๋˜์–ด์„œ ์งˆ๋ฌธ๋“œ๋ฆฝ๋‹ˆ๋‹ค,,ใ…  10:29 ollama create ์„ ํ•˜๋ฉด command must be one of "from", "license", "template", "system", "adapter", "parameter", or "message" ์—๋Ÿฌ๊ฐ€ ๋‚˜์˜ค๋Š”๋ฐ ํ•ด๊ฒฐ๋ฒ•์„ ์•„์‹ค๊นŒ์š”..?ใ…œใ… 

    • @teddynote
      @teddynote  5 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ํ”„๋กฌํ”„ํŠธ ํ…œํ”Œ๋ฆฟ์€ ํ˜น์‹œ ์ˆ˜์ • ์—†์ด ๊ทธ๋Œ€๋กœ ์‚ฌ์šฉํ•˜์…จ์„๊นŒ์š”? ์•„์ด๋ฉด ์ˆ˜์ •์„ ํ•˜์…จ์„๊นŒ์š”? ๋งŒ์•ฝ ์ˆ˜์ •ํ•˜์…จ๋‹ค๋ฉด ์ž‘์„ฑํ•˜์‹  ํ…œํ”Œ๋ฆฟ์„ ๊ณต์œ ํ•ด ์ฃผ์‹œ๊ฒ ์–ด์š”~?

    • @์ „ํ˜„๋นˆ-j1p
      @์ „ํ˜„๋นˆ-j1p 5 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@teddynote ollama create EEVE-Korean-10.8B -f EEVE-Korean-Instruct-10.8B-v1.0-GGUF/Modelfile ์ด๋ ‡๊ฒŒ ๊ทธ๋Œ€๋กœ ์‚ฌ์šฉํ•˜์˜€์Šต๋‹ˆ๋‹ค!

    • @์ „ํ˜„๋นˆ-j1p
      @์ „ํ˜„๋นˆ-j1p 5 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@teddynote ์•Œ๋ ค์ฃผ์‹  ํ”„๋กฌํ”„ํŠธ ํ…œํ”Œ๋ฆฟ ์ˆ˜์ • ์—†์ด ํ–ˆ์Šต๋‹ˆ๋‹ค!

  • @๋ฐ•ํ˜„ํ˜ธ-d3d
    @๋ฐ•ํ˜„ํ˜ธ-d3d 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ๊ฐ•์˜ ์ •๋ง ์ž˜ ๋ดค์Šต๋‹ˆ๋‹ค. ๋งˆ์ง€๋ง‰ streamlit ์—์„œ ๊ตฌ๋™ํ• ๋•Œ ๋‹ต๋ณ€์ด ๋‹ค ์™„์„ฑ๋œ ํ›„์— ๋‚˜์˜ค๋Š” ๊ฒƒ ๋ง๊ณ  stream ํ˜•์‹์œผ๋กœ ๋‚˜์˜ค๊ฒŒ ํ•˜๋Š” ๋ฐฉ๋ฒ•๋„ ์„ค๋ช…ํ•ด ์ฃผ์‹œ๋ฉด ๊ฐ์‚ฌ๋ผ๊ฒ ์Šต๋‹ˆ๋‹ค(runnable ํ˜•ํƒœ์—์„œ์š”)

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์†Œ์Šค์ฝ”๋“œ์— ๋ฐ”๋กœ ์—…๋ฐ์ดํŠธ ํ•ด๋†จ์Šต๋‹ˆ๋‹ค^^

    • @๋ฐ•ํ˜„ํ˜ธ-d3d
      @๋ฐ•ํ˜„ํ˜ธ-d3d 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      Expected response header Content-Type to contain 'text/event-stream', got 'application/json'
      ๋ณ€๊ฒฝํ•˜์‹  ์ฝ”๋“œ๋กœ ํ•ด๋ณด๋‹ˆ ์ด๋Ÿฐ ๋ฉ”์‹œ์ง€๊ฐ€... ๋œจ๋„ค์š”ใ… ใ… 

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์•„๋งˆ ๋„๋ฉ”์ธ๋์— llm ์•ˆ ๋ถ™ํ˜€์„œ ๊ทธ๋Ÿฐ ๊ฒƒ ์•„๋‹๊นŒ์š”? llm๋ถ™์—ฌ๋ณด์„ธ์š”~

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@๋ฐ•ํ˜„ํ˜ธ-d3d ๋ฐฉ๊ธˆ ์†Œ์Šค์ฝ”๋“œ์— ์ฃผ์„ ์ƒ์„ธํžˆ ๋ถ™์—ฌ์„œ ์ฝ”๋“œ ์—…๋ฐ์ดํŠธ ํ•ด๋†จ์œผ๋‹ˆ ์ฐธ๊ณ ํ•ด ๋ณด์„ธ์š”~

    • @๋ฐ•ํ˜„ํ˜ธ-d3d
      @๋ฐ•ํ˜„ํ˜ธ-d3d 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@teddynote ๋Šฆ์€์‹œ๊ฐ„๊นŒ์ง€ ๋‹ต๋ณ€์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค โ˜บ๏ธ

  • @๋‹ค๋‹ˆ์—˜-q7o
    @๋‹ค๋‹ˆ์—˜-q7o 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +5

    ์•ˆ๋…•ํ•˜์„ธ์š”. ์œ„ ์†Œ์Šค๋ฅผ ํ™œ์šฉํ•ด ๋ฆฌ๋ชจํŠธ๋กœ 2๋ช…์ด์ƒ ๋™์‹œ์ ‘์† ํ…Œ์ŠคํŠธ๋ฅผ ํ–ˆ๋Š”๋ฐ
    ๋น„๋™๊ธฐ ์ฒ˜๋ฆฌ๊ฐ€ ์•ˆ๋˜๋Š”๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.
    (1๋ช…์งˆ๋ฌธ ๋งˆ์ณ์•ผ ๋‹ค์Œ ์งˆ๋ฌธ ๊ฐ€๋Šฅ)
    xionic์€ ollama๋ฅผ ์‚ฌ์šฉ์•ˆํ•ด์„œ
    ์—ฌ๋Ÿฌ๋ช… ๋™์‹œ ์งˆ๋ฌธ ๊ฐ€๋Šฅํ–ˆ๊ณ  chat,llm๋“ฑ์€ ๋™์‹œ ์งˆ๋ฌธ์ด ์•ˆ๋˜๋Š”๋ฐ ์–ด๋–ค ๋ถ€๋ถ„์„ ์ˆ˜์ •ํ•ด์•ผ ํ• ๊นŒ์š”?

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ollama์—์„œ parallel ์„ค์ •์„ ํ•ด๋ณด์„ธ์š”!
      github.com/ollama/ollama/issues/761

  • @๋ฌธ์˜์‹-y3s
    @๋ฌธ์˜์‹-y3s 6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์ž˜๋ด์จ์š”~

  • @bjkang70
    @bjkang70 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

    ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค :)

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋„ค ์ €๋„ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค ๐Ÿ™

  • @byungtaekim2753
    @byungtaekim2753 ะœั–ััั†ัŒ ั‚ะพะผัƒ +2

    ๊ฐ•์˜ ์ •๋ง ์ž˜ ๋ณด์•˜์Šต๋‹ˆ๋‹ค. ํ˜„์žฌ ์‹œ์ ์œผ๋กœ ํ•œ๊ตญ์–ด๋ฅผ ๊ฐ€์žฅ์ž˜์•„๋Š” sllm ๋ชจ๋ธ์€ ๋ฌด์—‡์ธ์ง€ ์—ฌ์ญค๋ด์š”~. ํšŒ์‚ฌ ๋‚ด๋ถ€์—์„œ ์“ธ๊ฑฐ๊ตฌ์š”.7b๋‚˜8b 9b์ •๋„๊ตฌ์š”.. 1) beomi ๋‹˜ llama3.2 2) ์ ฌ๋งˆ 3) ์œ„ ๊ฐ•์˜ ์—์„œ์˜ eeve ์ •๋„ ์ƒ๊ฐํ•˜๋Š”๋ฐ์š”...ํ˜น์‹œ ๊ฐ•์‚ฌ๋‹˜์ด ๋ณด์‹œ๊ธฐ์— ๊ธฐ์—…์—์„œ ํŒŒ์ธํŠœ๋‹ํ•ด์„œ ์“ธ ๊ฑฐ๋ฉด ํ•œ๊ตญ์–ด๋ฅผ ๊ฐ€์žฅ ์ž˜ ํ•˜๋Š” ๋ชจ๋ธ์ด ์žˆ์„๊นŒ์š”?? ๋ฏธ๋ฆฌ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.~

    • @teddynote
      @teddynote  ะœั–ััั†ัŒ ั‚ะพะผัƒ

      gemma 9b
      Qwen 2.5
      llama3.2 (beomi๋‹˜)
      exaone (license ๊ฒ€ํ†  ํ•„์š”)
      ์ถ”์ฒœ ๋“œ๋ฆฝ๋‹ˆ๋‹ค^^

    • @byungtaekim2753
      @byungtaekim2753 ะœั–ััั†ัŒ ั‚ะพะผัƒ +1

      @@teddynote ์ •๋ง ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค~~ ๊ทธ๋Ÿฐ๋ฐ ๊ฐ•์‚ฌ๋‹˜ ์œ„์˜ ์•ผ๋†€์ž์—์„œ ๋งŒ๋“  solar ๊ธฐ๋ฐ˜์˜ eeve ๋Š” ์™œ ์ถ”์ฒœ ์•ˆํ•˜์…จ๋Š”์ง€ ์—ฌ์ญค๋ด๋„๋ ๊นŒ์š”?? ๊ทธ๋ฆฌ๊ณ  ํ์‡„๋ง ๊ธˆ์œต๊ถŒ์—์„œ ์ฑ—๋ด‡์„ ๋งŒ๋“œ๋ ค๋Š”๋ฐ unsloth ์™€ textstreamer ๋ฅผ ์“ฐ๋ ค๋Š”๋ฐ ์–ด๋–ป๊ฒŒ ์ƒ๊ฐํ•˜์‹œ๋Š”์ง€...3๋ฒˆ์งธ ์งˆ๋ฌธ์€ gguf ๋ฅผ ๋ฐ›์•„์™€์„œ fastapi ๋กœ ์˜ฌ๋ฆฌ๋ ค๋Š”๋ฐ. ๊ผญ ollama๋ฅผ ์„ค์น˜ํ•ด์•ผํ• ๊นŒ์š”? ๋ฏธ๋ฆฌ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค~~.. ๊ทธ๋ฆฌ๊ณ  ๊ฐ•์‚ฌ๋‹˜ ์–ผ๊ตด๋„ ์ž˜์ƒ๊ฒผ๋Š”๋ฐ ๋ชฉ์†Œ๋ฆฌ๋Š” ์ง„์งœ ์œ ํŠœ๋ฒ„ ์ค‘ ์ •๋ง ์ฃฝ์Œ์œผ๋กœ ์ข‹์œผ์„ธ์š”!

    • @teddynote
      @teddynote  ะœั–ััั†ัŒ ั‚ะพะผัƒ

      @ eeve ๋Š” ์ปจํ…์ŠคํŠธ๊ฐ€ ์ž‘์•„์„œ rag์—์„œ๋Š” ์‚ฌ์šฉํ•˜๊ธฐ ์–ด๋ ค์šธ ๊ฒƒ ๊ฐ™์•„์š” ใ…œ unsloth ๋กœ ๋‹จ์ผ gpu ํŒŒ์ธํŠœ๋‹์€ ์ข‹์€๋ฐ ํฐ ๋ชจ๋ธ์€ gpu๊ฐ€ ์—ฌ๋Ÿฌ์žฅ ํ•„์š”ํ•ด์„œ ์–ด๋ ค์šฐ์‹ค๊บผ์—์š”
      ๋ชจ๋ธ ์„œ๋น™์€ vllm๊ณ ๋ คํ•ด ๋ณด์‹œ๋ฉด ์ข‹๊ณ ์š”~
      fastapi ์„œ๋ฒ„์—์„œ ๋ชจ๋ธ ์„œ๋น™ํ•˜์‹ค ๋”ฐ vllm์œผ๋กœ ๋ชจ๋Œˆ ํ˜ธ์ŠคํŒ… ํ•˜๋Š” ๊ฑธ ์ถ”์ฒœ ๋“œ๋ฆฝ๋‹ˆ๋‹ค~

  • @jungkyle4561
    @jungkyle4561 18 ะดะฝั–ะฒ ั‚ะพะผัƒ +1

    ํ…Œ๋””๋…ธํŠธ๋‹˜ ์˜์ƒ๋ณด๊ณ  ๊ตฌํ˜„ํ•ด์„œ ์ž˜์“ฐ๊ณ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฌด๋ฃŒ ์ž„๋ฒ ๋”ฉ ๋ชจ๋ธ ํ™œ์šฉํ•ด์„œ ๋งˆํฌ๋‹ค์šดํ›„ ๋ฒกํ„ฐ์Šคํ† ์–ด mmr ๋ฆฌํŠธ๋ฆฌ๋ฒ„๋กœ ์“ฐ๊ณ ์žˆ๋Š”๋ฐ์š”. ๊ฒ€์ƒ‰ ์ •ํ™•์„ฑ์ด๋‚˜ ์ถ”๋ก ์„ ๋”์šฑ ๊ณ ๋„ํ™”ํ•ด์„œ ์‚ฌ์šฉํ•˜๋ ค๋ฉด ์–ด๋–ค ์œ ๋ฃŒ๊ฐ•์˜๋ฅผ ๋ด์•ผํ•˜๋Š”์ง€ ๊ถ๊ธˆํ•ฉ๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  18 ะดะฝั–ะฒ ั‚ะพะผัƒ

      ์•ˆ๋…•ํ•˜์„ธ์š”!
      ๊ฒ€์ƒ‰ ์ •ํ™•์„ฑ์ด๋‚˜ ์ถ”๋ก ์„ ์˜ฌ๋ฆฌ๋Š” ๋ฐฉ๋ฒ•์€ ๊ฝค๋‚˜ ๋งŽ์Šต๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋‚˜ ์ƒํ™ฉ์— ๋”ฐ๋ผ ๋ฐฉ๋ฒ•์„ ์ถ”๋ ค์„œ ์‹คํ—˜์„ ์ง„ํ–‰ํ•ด ๋ณผ ์ˆ˜ ์žˆ๋Š”๋ฐ์š”.
      ์œ„ํ‚ค๋…์Šค์—์„œ retriever ํŒŒํŠธ๋ฅผ ์‚ดํŽด๋ณด์‹œ๋Š” ๊ฒƒ์„ ์ถ”์ฒœ ๋“œ๋ฆฌ๊ณ ์š”. ํŒจ์ŠคํŠธ์บ ํผ์Šค ์œ ๋ฃŒ๊ฐ•์˜์—์„œ๋„ retriever ํŒŒํŠธ๋ฅผ ๋ณด์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์•„์š”
      ์œ ํŠœ๋ธŒ์—๋„ ์ œ๊ฐ€ ์—…๋กœ๋“œํ•œ ์ž๋ฃŒ๊ฐ€ ์žˆ๋Š”๋ฐ์š”
      ua-cam.com/users/liveaMUopbBrAmA?si=KgUTIo3Zhb4HX7ki
      ์ด๊ฑธ ๋ณด์…”๋„ ์ข‹์Šต๋‹ˆ๋‹ค^^

  • @jymoon-z1t
    @jymoon-z1t 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +3

    ํ…Œ๋””๋‹˜ ์˜์ƒ๋ณด๋ฉฐ ์‹ ์„ธ๊ณ„๋ฅผ ๊ฒฝํ—˜ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
    ollama create ์‹œ Error:command must be one of "from", "license", "template", "system", "adapter",
    "parameter", or "message" ๋ฐœ์ƒํ•ด์„œ temperature ๋ถ€๋ถ„ ์ œ๊ฑฐ ํ›„ ์ƒ์„ฑํ•˜์˜€์Šต๋‹ˆ๋‹ค. ๊ฐ™์€ ๋ฌธ์ œ๋Š” ์—†์œผ์…จ๋Š”์ง€์š”?

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋งž์Šต๋‹ˆ๋‹ค ๋ฌธ์ œ ์žˆ์Šต๋‹ˆ๋‹ค ์ฝ”๋“œ ์ˆ˜์ •ํ•ด ๋‘๊ฒ ์Šต๋‹ˆ๋‹ค^^

  • @unhakim7415
    @unhakim7415 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

    ์ฑ— UI๋กœ๋งŒ LLM์„ ์‚ฌ์šฉํ•˜๋‹ค๊ฐ€ ์ด๋ ‡๊ฒŒ ํŒŒ์ด์ฌ ๊ฐœ๋ฐœํ™˜๊ฒฝ์—์„œ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ์‹์€ ์ฒ˜์Œ ์ ‘ํ–ˆ๋„ค์š”. ํŒŒ์ด์ฌ ์ฝ”๋”ฉ์„ ๊ฐ€๋ฏธํ•˜๋ฉด LLM์„ ์ด์šฉํ•ด์„œ ์ˆ˜๋งŽ์€ ํ™œ์šฉ๋ฒ•์„ ์ฐพ์„ ์ˆ˜ ์žˆ์„ ๊ฒƒ ๊ฐ™๊ตฐ์š”. ํฅ๋ฏธ์ง„์ง„ ํ•ฉ๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์ •๋ง ํ™œ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•๋“ค์ด ๋งŽ์ด ์žˆ์Šต๋‹ˆ๋‹ค~^^ ๋‹ค์–‘ํ•œ ์‹คํ—˜์„ ํ•ด๋ณด์„ธ์š”!!

  • @jungkyle4561
    @jungkyle4561 22 ะดะฝั– ั‚ะพะผัƒ +1

    ํ…Œ๋””๋…ธํŠธ๋‹˜ ์˜์ƒ ์ž˜ ๋ณด๊ณ ์žˆ์Šต๋‹ˆ๋‹ค,, unsloth๋กœ raw text๋ฅผ 1000step ์ •๋„ ํ•™์Šต์„ ํ–ˆ๋Š”๋ฐ์š” ๋‹ต๋ณ€ ๊ฒฐ๊ณผ๊ฐ€ ์˜ ์‹œ์›์น˜์•Š์•„์„œ rag??์ชฝ์„ ์•Œ์•„๋ณด๊ณ  ์žˆ๋Š”๋ฐ,, ์ œ๊ฐ€ ํ•™์Šต์„ ์ž˜๋ชป์‹œํ‚จ๊ฑธ๊นŒ์š”? q&aํ˜•ํƒœ๊ฐ€ ์•„๋‹ˆ๋ผ ๊ทธ๋Ÿฐ๊ฑด์ง€.. ๋‹จ์ผ ํ…์ŠคํŠธ๋ฅผ ์ชผ๊ฐœ์–ด์„œ ํ•™์Šต์„ ์‹œ์ผฐ๋Š”๋ฐ ์ „ํ˜€ ์—‰๋šฑํ•œ ๋Œ€๋‹ต์„ ํ•˜๋„ค์š”.. LORAํ˜•ํƒœ์˜ ํŒŒ์ธํŠœ๋‹๋ณด๋‹ค RAG์ชฝ์ด ๋” ์ •ํ™•ํ•œ ๋‹ต๋ณ€์„ ๋ฐ›์•„๋ณผ์ˆ˜์žˆ์„๊นŒ์š”? ํ–ฅํ›„์—๋Š” ๋ฒ•๋ฅ ์ชฝ ์ฑ—๋ด‡์„ ์ƒ๊ฐํ•˜๊ณ ์žˆ๋Š”๋ฐ..๊ถ๊ธˆํ•ฉ๋‹ˆ๋‹ค

    • @teddynote
      @teddynote  22 ะดะฝั– ั‚ะพะผัƒ

      ์•ˆ๋…•ํ•˜์„ธ์š”!
      RAG์™€ ํŒŒ์ธํŠœ๋‹์€ ์–‘์ž ํƒ์ผ์˜ ๋ฌธ์ œ๋Š” ์•„๋‹ˆ๊ณ ์š” ๋‘˜๋‹ค ๊ฐ€๋Šฅํ•˜๋‹ค๋ฉด ํ•˜์‹œ๋Š” ๊ฒƒ์ด ์ข‹์ง€๋งŒ ์‹œ์ž‘์€ RAG๋กœ ํ•˜์‹œ๋Š” ๊ฑธ ์ถ”์ฒœ ๋“œ๋ฆฝ๋‹ˆ๋‹ค

    • @jungkyle4561
      @jungkyle4561 21 ะดะตะฝัŒ ั‚ะพะผัƒ

      ๋ฐ”์˜์‹ ์™€์ค‘์—๋„ ๋‹ต๋ณ€๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค,, question-answer ํ˜•ํƒœ์˜ ๋ฐ์ดํ„ฐ์…‹์ด ์•„๋‹ˆ๋ผ ๋‹จ์ผ rawtext ํ•™์Šต์€ unsloth๊ฐ™์€ loraํ˜•ํƒœ์˜ ํŒŒ์ธํŠœ๋‹์—์„œ๋Š” ์ •ํ™•ํ•œ ์ถ”๋ก ์ด ์–ด๋ ค์šด๊ฑธ๊นŒ์š”? ํ•™์Šต์„์‹œ์ผœ๋„ ์˜ˆ์ „ gpt ์ดˆ์ฐฝ๊ธฐ ์ˆ˜์ค€์ดํ•˜์˜ ๋‹ต๋ณ€์ด๋‚˜์˜ค๋Š”๋ฐ ใ…‹ใ…‹ ๋‚œ๊ฐํ•˜๋„ค์š” ๋ชจ๋ธ์˜ ๋ฌธ์ œ์ธ์ง€.. blossom ๋ชจ๋ธ์‚ฌ์šฉํ–ˆ๋Š”๋ฐ ๋„ˆ๋ฌด๊ธฐ๋Œ€์ดํ•˜๋ผ ๋ฌด์กฐ๊ฑด q&aํ˜•ํƒœ๋กœ ํ•™์Šต์„์‹œ์ผœ์•ผํ•˜๋ฉด ๊ธฐ์—…์—์„œ์‚ฌ์šฉํ•˜๊ธฐ์—๋Š” ๋ฐ์ดํ„ฐ์…‹ ์ค€๋น„๋ถ€ํ„ฐ ์–ด๋ ต๊ฒŸ๋„ค์šฉ

  • @TV-it3ni
    @TV-it3ni 4 ะผั–ััั†ั– ั‚ะพะผัƒ +1

    ๊ฒฐ์ œํ–ˆ์Šต๋‹ˆ๋‹ค ใ…‹ ์—ด์‹ฌํžˆ ํ•ด๋ณผ๊ฒŒ์š”

    • @teddynote
      @teddynote  4 ะผั–ััั†ั– ั‚ะพะผัƒ

      ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค ใ…  ์•ž์œผ๋กœ ๋„์›€์ด ๋˜๋Š” ์ฝ˜ํ…Œ์ธ  ์—ด์‹ฌํžˆ ์ œ์ž‘ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค!

  • @์ •์œ ๋ฏธ-z3y
    @์ •์œ ๋ฏธ-z3y 2 ะผั–ััั†ั– ั‚ะพะผัƒ +2

    ์•ˆ๋…•ํ•˜์„ธ์š” ModuleNotFoundError: No module named 'langserve.pydantic_v1' ์ด ๋ชจ๋“ˆ๋งŒ ์—†๋‹ค๊ณ  ๋‚˜์˜ค๋Š”๋ฐ ํ˜น์‹œ ์–ด๋–ค ๋ฌธ์ œ์ผ๊ฐ€์š”? ๊ฒ€์ƒ‰ํ•ด๋„ ๋„ํ†ต ๋ชจ๋ฅด๊ฒ ์–ด์„œ ์—ฌ์ญค๋ด…๋‹ˆ๋‹ค. ํ˜น์‹œ langserve ๋ฒ„์ „์ด 0.3.0์ธ๋ฐ ์ด๊ฒŒ ๋ฌธ์ œ์ผ๊ฐ€์š”?(pydantic ๋ฒ„์ „์€ 2.9.2 ์ž…๋‹ˆ๋‹ค)

    • @teddynote
      @teddynote  2 ะผั–ััั†ั– ั‚ะพะผัƒ +1

      ์•ˆ๋…•ํ•˜์„ธ์š”? langchain ๋ฒ„์ „์ด 0.3.0 ๋Œ€๋กœ ์˜ฌ๋ผ์˜ค๋ฉด์„œ pydantic ๋ฒ„์ „์ด ๋ฐ”๋€Œ์—ˆ๋Š”๋ฐ์š”.
      ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ฝ”๋“œ๋ฅผ ์ˆ˜์ •ํ•˜์—ฌ ๋‹ค์‹œ ํ•œ ๋ฒˆ ํ…Œ์ŠคํŠธ ํ•ด๋ณด์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.
      server.py ํŒŒ์ผ์˜
      from langserve.pydantic_v1 import BaseModel, Field
      ์ฝ”๋“œ๋ฅผ
      from pydantic import BaseModel, Field
      ๋ณ€๊ฒฝํ•ด ์ฃผ์„ธ์š”!
      ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

  • @์ •ํ˜„์ง„-t6f
    @์ •ํ˜„์ง„-t6f 3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

    ํ—ˆ๊น…ํŽ˜์ด์Šค์˜ ๋ชจ๋ธ์„ ollama์— ์—…๋กœ๋“œ ํ•˜๋ ค๊ณ  ํ•˜๋Š”๋ฐ "unsupported content type: text/plain; charset=utf-8" ๊ณผ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๊ณ„์† ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค. ํ˜น์‹œ ๋ฌธ์ œ ์›์ธ์ด๋‚˜ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์„ ์•Œ๊ณ  ๊ณ„์‹ค๊นŒ์š” ?

    • @teddynote
      @teddynote  3 ะผั–ััั†ั– ั‚ะพะผัƒ

      ์ž‘์„ฑํ•˜์‹  ํ…œํ”Œ๋ฆฟ์— ์ธ์ฝ”๋”ฉ ์˜ค๋ฅ˜๊ฐ€ ์žˆ๊ฑฐ๋‚˜ ํ…œํ”Œ๋ฆฟ ์ž์ฒด์— ์˜ค๋ฅ˜๊ฐ€ ์žˆ์„ ๊ฒƒ ๊ฐ™์•„์š”. ์˜คํƒ€ ํ•œ ๋ฒˆ ํ™•์ธํ•ด ๋ณด์‹œ๊ฒ ์–ด์š”?

  • @ํ”Œ๋ผ๋ฐ๊ณ -n7t
    @ํ”Œ๋ผ๋ฐ๊ณ -n7t ะœั–ััั†ัŒ ั‚ะพะผัƒ +1

    ์˜์ƒ ์ž˜๋ณด๊ณ ์žˆ์Šต๋‹ˆ๋‹ค. ํ…Œ๋””๋…ธํŠธ๋‹˜.
    ์ง„ํ–‰ํ•˜๋‹ค ๊ถ๊ธˆํ•œ๊ฒŒ ์ƒ๊ฒผ๋Š”๋ฐ์š” ํ•ด๋‹น ์˜์ƒ ๊ธฐ์ค€์€ MacOs์—์„œ๋งŒ ๊ฐ€๋Šฅํ•œ๊ฑธ๊นŒ์š”?
    ์ฐพ์•„๋ณด๋‹ˆ, Ollama๊ฐ€ ํ˜„์žฌ๋Š” ๊ณต์‹์ •์œผ๋กœ MacOs๋งŒ ์ง€์›ํ•œ๋‹คํ•˜์—ฌ, ๋ฐฉ๋ฒ•์„ ์ฐพ์•„๋ณด๋‹ˆ,
    ๊ฐ€์ƒํ™”ํ™˜๊ฒฝ์—์„œ macOS๋ฅผ ์„ค์น˜ํ•ด์„œ, ๊ตฌ๋™์„ ํ•˜๋˜๊ฐ€, .gguf ํŒŒ์ผ์ด ๋ฆฌ๋ˆ…์Šค ํ™˜๊ฒฝ์—์„œ๋Š” ์ผ๋ฐ˜์ ์œผ๋กœ Llama.cpp ํ˜•ํƒœ๋กœ ํ˜ธํ™˜์ด ๊ฐ€๋Šฅํ•˜๋‹คํ•˜์—ฌ
    ๊ฐ€์ƒ ๋ฆฌ๋ˆ…์Šคํ™˜๊ฒฝ์—์„œ ํ•ด๋‹น .ggufํŒŒ์ผ์„ .cppํ˜•ํƒœ๋กœ ๋ณ€ํ™˜ํ•ด์„œ cpu + cuda๋ฅผ ํ™œ์šฉํ•ด ๊ฐ€๋™์‹œํ‚ค๋Š” ๋ฐฉ๋ฒ• ๋ฐ–์—๋Š” ์—†๋Š”๊ฑธ๊นŒ์š”?
    ํ˜น์‹œ๋‚˜ ์ง€๋‚˜๊ฐ€์‹œ๋Š” ๋ถ„์ค‘์— ์œˆ๋„์šฐ์— ํ™˜๊ฒฝ์—์„œ Ollama์— ์˜ฌ๋ฆฌ๋Š” ๋ถ€๋ถ„์„ ํ•ด๊ฒฐํ•˜์‹ ๋ถ„์ด ์žˆ๋‹ค๋ฉด ๊ณต์œ ํ•ด์ฃผ์‹œ๋ฉด ๊ฐ์‚ฌํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

    • @ํ”Œ๋ผ๋ฐ๊ณ -n7t
      @ํ”Œ๋ผ๋ฐ๊ณ -n7t ะœั–ััั†ัŒ ั‚ะพะผัƒ +1

      ์ฐพ์•„๋ณด๋‹ˆ, ๋ฆฌ๋ˆ…์Šค, ์œˆ๋„์šฐ ๋‹ค ์ง€์›ํ•˜๋„ค์šค! ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค ใ…Žใ…Ž

    • @teddynote
      @teddynote  ะœั–ััั†ัŒ ั‚ะพะผัƒ

      ๋„ค ๋ชจ๋‘๋‹ค ์ง€์›ํ•ฉ๋‹ˆ๋‹ค^^

  • @ํœ‘-d8k
    @ํœ‘-d8k 6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    Modelfile์— 'TEMPERATRUE 0' ์ด ๋ถ€๋ถ„์„ ๋„ฃ์œผ๋ฉด ```Error: command must be one of "from", "license", "template", "system", "ada``` ์ด๋Ÿฐ ์—๋Ÿฌ๊ฐ€ ๋œจ๊ณ  ๊ทธ ๋ถ€๋ถ„์„ ๋นผ์•ผ ์ •์ƒ์ž‘๋™ํ•˜๋Š”๋ฐ ์ด์œ ๊ฐ€ ๋ญ˜๊นŒ์š”?

    • @teddynote
      @teddynote  6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์˜คํƒ€๊ฐ€ ์žˆ์–ด์„œ์š”~ temperature 0 ์œผ๋กœ ์„ค์ •ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค~

    • @ํœ‘-d8k
      @ํœ‘-d8k 6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@teddynote temperature 0 ์œผ๋กœ ๋„ฃ์–ด๋„ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋œจ๋„ค์š”. ์ง€์šฐ๋‹ˆ๊นŒ ํ•ด๊ฒฐ์€ ๋˜๋Š”๋ฐ ์ด์œ ๋ฅผ ์•„๋ฌด๋ฆฌ ๊ฒ€์ƒ‰ํ•ด๋„ ์•ˆ ๋‚˜์™€์„œ ์˜๊ฒฌ ์—ฌ์ญ™๊ณ  ์‹ถ์Šต๋‹ˆ๋‹ค

    • @teddynote
      @teddynote  6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@ํœ‘-d8k temperature ํ…œํ”Œ๋ฆฟ์— ์˜ต์…˜์—์„œ ๋น ์ ธ์„œ ๊ทธ๋Ÿด ์ˆ˜๋„ ์žˆ์–ด์š” ๋นผ๊ณ  ํ•˜์…”๋„ ๋‚˜์ค‘์— ์ง€์ • ๊ฐ€๋Šฅํ•˜๊ธฐ ๋•Œ๋ฌธ์— ๋นผ๊ณ  ์ง„ํ–‰ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค~

  • @์•ผ๋‚˜๋‘-f8s
    @์•ผ๋‚˜๋‘-f8s ะœั–ััั†ัŒ ั‚ะพะผัƒ +1

    ํ…Œ๋””๋‹˜! ๋„ˆ๋ฌด ์ข‹์€ ๊ฐ•์˜ ์ž˜ ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค. ์ •๋ง ์‰ฝ๊ณ  ๋น ๋ฅด๊ฒŒ ์ ์šฉํ•  ์ˆ˜ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค.
    ํ•œ ๊ฐ€์ง€ ์ถ”๊ฐ€ ์งˆ๋ฌธ์ด ์žˆ์Šต๋‹ˆ๋‹ค!
    ์ž˜ ๋ชฐ๋ผ์„œ ์ด๊ฒƒ์ €๊ฒƒ ์ฐพ์•„๋ดค์ง€๋งŒ ์ž˜ ์•ˆ๋ผ์„œ ์งˆ๋ฌธ๋“œ๋ ค์š”ใ…œใ…œ
    ์ง€๊ธˆ์€ ํŒŒ์ผ์„ ์˜ฌ๋ฆฐ ์ƒํƒœ์—์„œ๋งŒ, ํ•ด๋‹น ํŒŒ์ผ์— ๋Œ€ํ•œ ๋‹ต๋ณ€์„ ๋ฐ›์„ ์ˆ˜ ์žˆ๋Š”๋ฐ์š”.
    ํŽ˜์ด์ง€์—์„œ ํŒŒ์ผ์„ ์˜ฌ๋ฆฌ์ง€ ์•Š๋”๋ผ๋„, ๋ฏธ๋ฆฌ ์ž„๋ฒ ๋”ฉ ๋œ ๋ฒกํ„ฐdb๋ฅผ ๊ธฐ์ค€์œผ๋กœ ๋‹ต๋ณ€ ๋ฐ›๊ฒŒ ํ•˜๊ณ  ์‹ถ์€๋ฐ ์ž˜ ์•ˆ๋˜๋„ค์š”ใ…œใ…œ
    ๋ฐ”์˜์‹œ๊ฒ ์ง€๋งŒ ๋‹ต๋ณ€์ฃผ์‹œ๋ฉด ๋„ˆ๋ฌด ๊ฐ์‚ฌํ•˜๊ฒ ์Šค๋นˆ๋‹ค!

    • @teddynote
      @teddynote  ะœั–ััั†ัŒ ั‚ะพะผัƒ

      ์•ˆ๋…•ํ•˜์„ธ์š”!
      ํŒŒ์ผ์„ ์˜ฌ๋ ค์„œ ์ž„๋ฒ ๋”ฉ ํ•˜์—ฌ vectordb ์— ์ €์žฅํ•˜๋Š” ๊ตฌ์กฐ๊ฐ€ ์•„๋‹Œ, vector db ์ž์ฒด๋ฅผ disk ์— ์ €์žฅํ•˜๊ณ , PDF ์—…๋กœ๋“œ๋ฅผ ํ•˜์ง€ ์•Š๊ณ  ๋ฐ”๋กœ vector db ๋ฅผ ๋กœ๋“œํ•˜๋Š” ๊ตฌ์กฐ๋กœ ๋ณ€๊ฒฝํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค!
      ๋ฒกํ„ฐ DB ๋ฅผ ์ €์žฅํ•˜๋Š” ๋ฐฉ๋ฒ•์€ wikidocs ์— ์—…๋กœ๋“œ ํ•ด๋‘์—ˆ์Šต๋‹ˆ๋‹ค.
      wikidocs.net/234014

    • @์•ผ๋‚˜๋‘-f8s
      @์•ผ๋‚˜๋‘-f8s ะœั–ััั†ัŒ ั‚ะพะผัƒ

      @@teddynote ์˜ค!! ์ •๋ง ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค! ๋ฐ”๋กœ ์ ์šฉํ•ด๋ณผ๊ฒŒ์š”!!!

  • @ikkkiaffgesk
    @ikkkiaffgesk 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ๋„ˆ๋ฌด ์ข‹์€๊ฐ•์˜ ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค. ์›๊ฒฉ์œผ๋กœ ์„œ๋น„์Šค ํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ ๊ณ ๋ฏผํ–ˆ๋Š”๋ฐ ํฐ ๋„์›€์ด ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
    ์ด ๊ตฌ์„ฑ์œผ๋กœ ํ์‡„๋ง์—์„œ ํ์‡„๋ง ๋‚ด๋ถ€๋กœ ์„œ๋น„์Šค๊ฐ€ ๊ฐ€๋Šฅํ• ๊นŒ์š”?( ์ด๊ฑด ๋‹น์—ฐํžˆ ์ œ๊ฐ€ ํ…Œ์ŠคํŠธ ํ•ด๋ด์•ผ ํ•˜๋Š”๊ฑด๋ฐ ์•„์ง ์‹ค๋ ฅ์ด ์•ˆ๋˜์–ด์„œ ์งˆ๋ฌธ๋“œ๋ฆฌ๋„ค์š” ...)
    ๊ทธ๋ฆฌ๊ณ  M3 ์‚ฌ์–‘์ด ์–ด๋–ป๊ฒŒ ๋˜๋‚˜์š”? ์ƒ๊ฐ๋ณด๋‹ค ์‘๋‹ต ์†๋„๊ฐ€ ๋„ˆ๋ฌด ๋น ๋ฅธ๋ฐ์š”!!

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ํ์‡„๋ง๋ผ๋ฆฌ๋Š” ์„œ๋กœ ํ†ต์‹ ์ด ๋˜๋ฉด ๋ฌธ์ œ ์—†์„๊ป๋‹ˆ๋‹ค. ๋‹ค๋งŒ ์ด๋•Œ ngrok ๋Œ€์‹  ๋‚ด๋ถ€ ์•„์ดํ”ผ๋ฅผ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๊ณ ์š” ๋ฐฉํ™”๋ฒฝ์ด ํ•ด๋‹น ํฌํŠธ์— ๋Œ€ํ•ด ์—ด๋ ค ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
      M3 ์ •๋ง ๋น ๋ฅด๋”๋ผ๊ตฌ์š”! ๋งฅ๋ถ ํ”„๋กœ M3 gpu ์—…๊ทธ๋ ˆ์ด๋“œ ํ•œ CTO ์‚ฌ์–‘์ž…๋‹ˆ๋‹ค. ๊ตณ์ด ๋งฅ๋ถ ์•„๋‹ˆ๋”๋ผ๋„ ์–‘์žํ™” ๋ชจ๋ธ์ด๋ผ์„œ GPU ๋‹ฌ๋ฆฐ ๋…ธํŠธ๋ถ์ด๋ผ๋ฉด ์–ด๋Š์ •๋„ ๋‹ต๋ณ€ ์†๋„๋Š” ๋น ๋ฅธํŽธ์ž…๋‹ˆ๋‹ค^^

  • @๋ฃจ๋ฃจ-z4l
    @๋ฃจ๋ฃจ-z4l 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์˜ค ์ฃผํ”ผํ„ฐ ๋„์ปค ๊ฐ–๋‹ค์ผ์—ˆ๋Š”๋ฐ ์ต์ˆ™ํ•œ ๋‹‰๋„ค์ž„์ด๋‹ค ์‹ถ์—ˆ๋Š”๋ฐ ํ…Œ๋””๋‹˜์ด ๋งŒ๋“œ์‹ ๊ฑฐ์˜€๊ตฐ์š”! ์ปค์Šคํ…€ ํ•ด์„œ ์ž˜ ์“ฐ๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค
    llm๊นŒ์ง€ ใ…Žใ…Ž ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค gpt api์ฝœ ๋น„์šฉ ์•„๋‚„์ˆ˜๋„ ์žˆ์œผ๋ ค๋‚˜์š”
    4090 ์ „๊ธฐ์„ธ๋ž‘ ๋น„๊ต๋ฅผ ํ•ด๋ด์•ผ ๊ฒ ๋„ค์š” ใ…‹ใ…‹
    ํ˜น์‹œ ํ† ํฐ ์ตœ๋Œ€ ์ธํ’‹ ์•„์›ƒํ’‹ ๊ธธ์ด๊ฐ€ ์–ด๋–ป๊ฒŒ ๋˜๋Š”์ง€ ์•„์‹ค๊นŒ์š”?

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์ €๋„ ์ด๋ถ€๋ถ„์€ ์ฐพ์•„๋ด์•ผ ํ•˜๋Š”๋ฐ์š”. ๋ฒ ์ด์Šค ๋ชจ๋ธ์ธ SOLAR ๊ฐ€ ์ž…์ถœ๋ ฅ 4096๊ฐœ ์˜€๋˜ ๊ฒƒ์œผ๋กœ ๊ธฐ์–ตํ•ฉ๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ, ์•„๋งˆ๋„ 4096๊ฐœ์ผ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. ์ด๊ฑด ์ €๋„ ์ •ํ™•ํ•˜์ง€ ์•Š์œผ๋‹ˆ ํ•œ ๋ฒˆ ํ…Œ์ŠคํŠธํ•ด ๋ด์•ผ์ง€ ์ •ํ™•ํžˆ ์•Œ ์ˆ˜ ์žˆ์„ ๊ฒƒ ๊ฐ™์•„์š”! ์—ฌ๊ธฐ llm.extractum.io/model/upstage%2FSOLAR-10.7B-Instruct-v1.0,5KwUWNTl8dKlCxQ8QeQtzZ ์—์„œ SOLAR ๋ชจ๋ธ์˜ ์ŠคํŽ™์€ ํ™•์ธํ•ด ๋ณด์‹ค ์ˆ˜ ์žˆ์–ด์š”~

    • @Happybitman
      @Happybitman 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@teddynoteโค

  • @user-pg3hf1bg9w
    @user-pg3hf1bg9w 3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

    ์•ˆ๋…•ํ•˜์„ธ์š”~ ์˜์ƒ ์ž˜๋ณด๊ณ ์žˆ์–ด์š” ๋”ฐ๋ผํ•˜๋ฉด์„œ ์—๋Ÿฌ๋ถ€๋ถ„์ด ์žˆ๋Š”๋ฐ
    python server.py ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด fastapi๊ฐ€ no module ์ƒํƒœ๋กœ ์ž๊พธ ๋œจ๋„ค์š” github์—์„œ requirements.txt ๋ฅผ ๋ช‡๋ฒˆ์ด๋‚˜ ํ„ฐ๋ฏธ๋„์ฐฝ์—์„œ ๋‚ด๋ ค๋ฐ›์•˜๋Š”๋ฐ๋„
    ๋˜‘๊ฐ™์Šต๋‹ˆ๋‹ค ใ… ใ…  ํ˜น์‹œ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์•„์‹ค๊นŒ์š” ๊ตฌ๊ธ€๋ง์„ ํ–ˆ๋Š”๋ฐ ํŒŒ์ด์ฌ ๋ฒ„์ „์„ ๋ฐ”๊ฟ”๋ณด๋ผํ•ด์„œ ๋ฐ”๊พธ๊ณ , ํ„ฐ๋ฏธ๋„์—ด์—ˆ๋‹ค ๋‹ซ์•„๋ณด๋ผํ•ด์„œ ๋‹คํ•ด๋ดค๋Š”๋ฐ๋„ ์•ˆ๋ฉ๋‹ˆ๋‹ค...

    • @teddynote
      @teddynote  3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

      ์•ˆ๋…•ํ•˜์„ธ์š”? ํ˜น์‹œ ๊ฐ€์ƒํ™˜๊ฒฝ ํ™˜๊ฒฝ ๊ตฌ์„ฑ์ด ๋˜์—ˆ์„๊นŒ์š”~?
      ๊ตฌ์„ฑ ์•ˆํ•˜๊ณ  ๋ฒ ์ด์Šค์— ๊ทธ๋ƒฅ ์„ค์น˜ํ•˜๋ฉด ์•ˆ๋˜๋Š” ๊ฒฝ์šฐ๋„ ์žˆ์–ด์„œ์š”!
      ์•„๋ž˜ ์˜์ƒ ๋ณด์‹œ๊ณ  ๊ฐ€์ƒํ™˜๊ฒฝ ํ•œ ๋ฒˆ ๊ตฌ์„ฑํ•˜์‹  ๋‹ค์Œ์— ์‹œ๋„ํ•ด ๋ณด์‹œ๊ฒ ์–ด์š”?
      #๋žญ์ฒด์ธ ํ•œ๊ตญ์–ด ํŠœํ† ๋ฆฌ์–ผ๐Ÿ‡ฐ๐Ÿ‡ท ์—…๋ฐ์ดํŠธ ์†Œ์‹๐Ÿ”ฅ ์ฒ˜์Œ ์‚ฌ์šฉ์ž๋ฅผ ์œ„ํ•œ ์นœ์ ˆํ•œ ํ™˜๊ฒฝ์„ค์น˜(Windows, Mac)
      ua-cam.com/video/mVu6Wj8Z7C0/v-deo.html

    • @user-pg3hf1bg9w
      @user-pg3hf1bg9w 3 ะผั–ััั†ั– ั‚ะพะผัƒ

      @@teddynote ์ •๋ง ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!! ์ด ๋ฌธ์ œ๋Š” ํ•ด๊ฒฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค! ๊ทธ๋Ÿฐ๋ฐ, ๋˜ ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š”๊ฒŒ ๋กœ์ปฌํ˜ธ์ŠคํŒ…์€ ๋˜์ง€๋งŒ, ์ œ๊ฐ€ ai์—๊ฒŒ ๋ฌผ์–ด๋ณด๋ฉด Exception in ASGI application ์ด๋ผ๊ณ  ๋œจ๋ฉด์„œ ํ„ฐ๋ฏธ๋„์ฐฝ์— ์—๋Ÿฌ๊ฐ€ ๋‚˜๋„ค์š” .. .ํ˜น์‹œ ๋ฐฉ๋ฒ•์—†์„๊นŒ์š” ๊ตฌ๊ธ€๋ง ํ•ด๋ณด๋‹ˆ๊นŒ CA์ธ์ฆ์„œ ๋•Œ๋ฌธ์ด๋ผ๊ณ  ํ•ด์„œ ์ธ์ฆ์„œ๋„ ๋‹ค์šด๋ฐ›์•„๋ณด๊ณ  ํ–ˆ๋Š”๋ฐ ์—ฌ์ „ํžˆ ๋˜‘๊ฐ™๋„ค์š” ์žฌ๋ถ€ํŒ…์„ ๊ณ„์†ํ•ด๋„ ๋˜‘๊ฐ™๊ตฌ... ํ˜น์‹œ ์ด ๋ฌธ์ œ์‚ฌํ•ญ์— ๋Œ€ํ•ด ์•Œ๊ณ ๊ณ„์‹œ๋ฉด ์•Œ๋ ค์ฃผ์„ธ์š” !!!

  • @iamcan13
    @iamcan13 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์ž˜๋ดค์Šต๋‹ˆ๋‹ค. m3 max ์„ฑ๋Šฅ๋„ ์ƒ๋‹นํ•˜๋„ค์š”!

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋งŒ์กฑ์Šค๋Ÿฝ์Šต๋‹ˆ๋‹ค๐Ÿ˜

  • @๊น€์šฉํƒœ-p8f
    @๊น€์šฉํƒœ-p8f 3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

    ์ข‹์€ ์˜์ƒ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๋™์˜์ƒ์„ ๋ณด๋ฉด์„œ ๊ณผ์ •์„ ๋”ฐ๋ผํ•˜๊ณ  ์žˆ๋Š”๋ฐ ์ž๊พธ server.py๋ฅผ ์‹คํ–‰ํ•˜๋Š” ๊ณผ์ •์—์„œ
    ModuleNotFoundError: No module named 'langserve.pydantic_v2'
    ์ด๋Ÿฐ ์˜ค๋ฅ˜๊ฐ€ ๊ณ„์† ๋ฐœ์ƒํ•˜๋Š”๋ฐ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์„ ๋ชจ๋ฅด๊ฒ ์Šต๋‹ˆ๋‹ค
    ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ ๋‹ต๋ณ€ํ•ด ์ฃผ์‹ค์ˆ˜ ์žˆ์œผ์‹ค๊นŒ์š”??

    • @teddynote
      @teddynote  3 ะผั–ััั†ั– ั‚ะพะผัƒ

      ์•ˆ๋…•ํ•˜์„ธ์š”! ์•„๋งˆ ์ตœ๊ทผ์— langchain v0.3.x ์—…๋ฐ์ดํŠธ ์ดํ›„ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜๋Š” ๊ฒƒ ๊ฐ™์•„์š”.
      ์ด ๋ถ€๋ถ„์€ ์ œ๊ฐ€ ๋น ๋ฅด๊ฒŒ ์ˆ˜์ •ํ•ด์„œ ์—…๋ฐ์ดํŠธ ํ•ด๋“œ๋ฆด๊ป˜์š”^^
      ์ง€๊ธˆ ๋‹น์žฅ์˜ ํ•ด๊ฒฐํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค
      pip install langchain==0.2.16
      ๋ฒ„์ „์œผ๋กœ ์žฌ์„ค์น˜
      ๊ทธ ๋‹ค์Œ์— ์‹œ๋„ํ•ด๋ด ์ฃผ์„ธ์š”^^

  • @๊น€๋ฏผ์šฐ-o3l9y
    @๊น€๋ฏผ์šฐ-o3l9y 3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

    ์•ˆ๋…•ํ•˜์„ธ์š”! ์šฐ์„ , RAG๋ฅผ ์ฒ˜์Œ ์‹œ์ž‘ํ•˜๋Š” ๊ฐœ๋ฐœ์ž๋กœ ๋„ˆ๋ฌด ๋งŽ์€ ๋„์›€์„ ๋ฐ›๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค
    ํ•œ๊ฐ€์ง€ ๋ฌธ์˜ ๋“œ๋ฆด ๊ฒƒ์ด,
    local์—์„œ ๋™์ž‘ ํ™•์ธ ํ›„ heroku๋ฅผ ๊ฒฐ์žฌ ํ•˜์—ฌ (์œ ๋ฃŒ๋กœ ๋ฐ”๋€Œ์—ˆ๊ตฐ์š”.. ใ…ก.ใ…ก) ํ˜ธ์ŠคํŒ…์„ ํ•˜๋Š” ๊ณผ์ •์—์„œ
    Heroku ์„ค์ • ํ›„ git push ๋ฅผ ํ•˜๋ฉด requirements.txt ์˜ package๋ฅผ ์ฐพ์•„ ์ปดํŒŒ์ผ ํ•˜๋Š” ์ค‘,
    ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒ ํ•ฉ๋‹ˆ๋‹ค.
    (ํ•ด๋‹น package๋ฅผ ๋ง‰๊ณ  ํ•ด๋ด๋„ .. ๊ณ„์† ๋‹ค๋ฅธ package ๋“ค์—์„œ ๋ฒ„์ „์„ ์ฐพ์ง€ ๋ชปํ•œ๋‹ค๊ณ  ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜๋„ค์š”..)
    RROR: Could not find a version that satisfies the requirement apturl==0.5.2 (from versions: none)
    remote: ERROR: No matching distribution found for apturl==0.5.2
    -----> Python version has changed from python-3.12.7 to python-3.11.8, clearing cache
    remote: -----> Requirements file has been changed, clearing cached dependencies
    remote: -----> Installing python-3.11.8
    remote: -----> Installing pip 24.0, setuptools 70.3.0 and wheel 0.44.0
    remote: -----> Installing SQLite3
    remote: -----> Installing requirements with pip
    remote: Collecting aiohappyeyeballs==2.4.3 (from -r requirements.txt (line 1))
    remote: Downloading aiohappyeyeballs-2.4.3-py3-none-any.whl.metadata (6.1 kB)
    remote: Collecting aiohttp==3.10.9 (from -r requirements.txt (line 2))
    remote: Downloading aiohttp-3.10.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.6 kB)
    remote: Collecting aiosignal==1.3.1 (from -r requirements.txt (line 3))
    remote: Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
    remote: Collecting annotated-types==0.7.0 (from -r requirements.txt (line 4))
    remote: Downloading annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
    remote: Collecting anyio==4.5.0 (from -r requirements.txt (line 5))
    remote: Downloading anyio-4.5.0-py3-none-any.whl.metadata (4.7 kB)
    remote: ERROR: Could not find a version that satisfies the requirement apturl==0.5.2 (from versions: none)
    remote: ERROR: No matching distribution found for apturl==0.5.2
    remote: ! Push rejected, failed to compile Python app.
    remote:
    remote: ! Push failed
    remote: Verifying deploy...
    ํ…Œ๋””๋‹˜ ์˜์ƒ์—์„œ๋Š” ์ž˜ ๋˜๋Š” ๊ฒƒ์œผ๋กœ ๋ณด์•„ ..
    Heroku์ชฝ ๋ฌธ์ œ ์ธ ๊ฒƒ์ธ์ง€ ๋˜๋Š” ์˜์ƒ ์ดฌ์˜์‹œ ์‚ฌ์šฉ ๋œ requirements.txt ํŒŒ์ผ์ด ์ข€ ๋‹ค๋ฅธ ๊ฒƒ์ธ์ง€ ์•Œ ์ˆ˜ ์žˆ์„๊นŒ์š”?
    ๋ฏธ๋ฆฌ ๊ฐ์‚ฌ๋“œ๋ ค์š”~~~

    • @teddynote
      @teddynote  3 ะผั–ััั†ั– ั‚ะพะผัƒ

      ์•ˆ๋…•ํ•˜์„ธ์š”~? ํ•ด๋‹น ์˜ค๋ฅ˜๋งŒ ๋ด์„œ๋Š” ๋™์ผ requirements.txt ์ธ์ง€ ํ™•์ธ์ด ์–ด๋ ต์Šต๋‹ˆ๋‹ค๋งŒ ํ˜น์‹œ github ์— ์˜ฌ๋ ค ๋†“์€ requirements.txt ํŒŒ์ผ์„ ๊ทธ๋Œ€๋กœ ๋‚ด๋ ค ๋ฐ›์•„ ์˜ฌ๋ฆฌ์…จ์„๊นŒ์š”~?

  • @user-bj9lt7fg8c
    @user-bj9lt7fg8c 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    gguf ํŒŒ์ผ๊นŒ์ง€ ๋‹ค์šด ๋ฐ›์•˜๊ณ  Modelfile ๋งŒ๋“œ๋Š”๊ฒƒ ๊นŒ์ง€๋Š” ํ–ˆ๋Š”๋ฐ ollama create๋ฅผ ํ•˜๋‹ˆ๊นŒ Error: command must be one of "from", "license", "template", "system", "adapter", "parameter", or "message" ๊ฐ€ ๋ฐœ์ƒํ•˜๋Š”๋ฐ ์›์ธ์ด ๋ญ˜๊นŒ์š”?

    • @user-bj9lt7fg8c
      @user-bj9lt7fg8c 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +2

      TEMPERATURE๋ฅผ ์—†์• ๋‹ˆ๊นŒ ํ•ด๊ฒฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์˜™ ์ข‹์Šต๋‹ˆ๋‹ค ์ œ๊ฐ€ temerature ๋นผ๊ณ  ์—…๋ฐ์ดํŠธ ํ•ด๋†“์„๊ป˜์š”^^

    • @jkim6881
      @jkim6881 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@user-bj9lt7fg8c ๊ณ„์† ์•ˆ๋˜์„œ ๋Œ“๊ธ€ ๋ณด๊ณ  ํ•ด๊ฒฐ ํ–ˆ์Šต๋‹ˆ๋‹ค!!! ใ… ใ… 

  • @changjunlee2759
    @changjunlee2759 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์˜ค๋Š˜๋„ ์ข‹์€ ๋‚ด์šฉ์ด๋„ค์š”. ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ํ˜น์‹œ ํ”„๋กœ์ ํŠธ ํ•˜์‹ค ์˜ํ–ฅ์€ ์—†์œผ์‹ ๊ฐ€์š”?

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์–ด๋–ค ํ”„๋กœ์ ํŠธ์ธ์ง€ ๊ฐ„๋žตํ•˜๊ฒŒ ๋ง์”€ํ•ด ์ฃผ์‹ค ์ˆ˜ ์žˆ์œผ์‹œ๋‹ค๋ฉด teddylee777@gmail.com ์ด์ชฝ์œผ๋กœ ๋ณด๋‚ด์ฃผ์‹œ๋ฉด ๊ฐ์‚ฌ๋“œ๋ฆฌ๊ฒ ์Šต๋‹ˆ๋‹ค๐Ÿ™๐Ÿ™

    • @changjunlee2759
      @changjunlee2759 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@teddynote ์ ์ ˆํ•œ ์‹œ์ ์— ์—ฐ๋ฝ๋“œ๋ ค ๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.

  • @Enosh6079
    @Enosh6079 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์˜ฌ๋ ค์ฃผ์‹œ๋Š” ๊ฐ•์˜๋ฅผ ํ†ตํ•ด ์ •๋ง ๋งŽ์€ ๋„์›€์„ ๋ฐ›๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
    ๊ทธ๋Ÿฐ๋ฐ ํ•œ ๊ฐ€์ง€ ๊ถ๊ธˆํ•œ ๊ฒƒ์ด ์žˆ์Šต๋‹ˆ๋‹ค.
    rag chain ๊ณผ MessageHistory๋ฅผ ํ•จ๊ป˜ ์‚ฌ์šฉํ•˜๋ ค๊ณ  ํ•˜๋‹ˆ๊นŒ ์—๋Ÿฌ๊ฐ€ ๋‚˜๋Š”๋ฐ์š”.
    ์‚ฌ์šฉ๋ฒ•์„ ์ž˜ ๋ชฐ๋ผ์„œ ์ด๋ ‡๊ฒŒ ๋ฌธ์˜๋“œ๋ฆฝ๋‹ˆ๋‹ค. ์†Œ์Šค ์ฝ”๋“œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.
    chain = (
    {
    "context": retriever | format_docs,
    "question": RunnablePassthrough(),
    }
    | prompt
    | llm
    )
    response = chain.invoke(user_input)
    rag ์ฒด์ธ์„ ์ถ”๊ฐ€ํ•˜๊ณ  message history๋Š” ์ถ”๊ฐ€ํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ- ์ž˜ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค.
    ๊ทธ๋Ÿฐ๋ฐ, ์•„๋ž˜์™€ ๊ฐ™์ด message history๋ฅผ ์ถ”๊ฐ€ ํ•˜๋ฉด ์—๋Ÿฌ๊ฐ€ ๋‚˜๋”๋ผ๊ตฌ์š”...
    chain = (
    {
    "context": retriever | format_docs,
    "question": RunnablePassthrough(),
    }
    | prompt
    | llm
    )
    chain_with_memory = (
    RunnableWithMessageHistory( # RunnableWithMessageHistory ๊ฐ์ฒด ์ƒ์„ฑ
    chain, # ์‹คํ–‰ํ•  Runnable ๊ฐ์ฒด
    get_session_history, # ์„ธ์…˜ ๊ธฐ๋ก์„ ๊ฐ€์ ธ์˜ค๋Š” ํ•จ์ˆ˜
    input_messages_key="question", # ์ž…๋ ฅ ๋ฉ”์‹œ์ง€์˜ ํ‚ค
    history_messages_key="history", # ๊ธฐ๋ก ๋ฉ”์‹œ์ง€์˜ ํ‚ค
    )
    )
    response = chain_with_memory.invoke(
    {"question": user_input}, config={"configurable": {"session_id": "abc123"}}
    )

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ํ˜น์‹œ chatprompttemplate ๋„ ์˜ฌ๋ ค์ฃผ์‹ค ์ˆ˜์žˆ๋‚˜์š”?

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์ฐธ๊ณ ๋กœ ๋””์Šค์ฝ”๋“œ ์ฑ„๋„์— ์งˆ๋ฌธ ๋‚จ๊ธฐ์‹œ๋ฉด ๋” ๋นจ๋ฆฌ ๋‹ต๋ณ€ ๋ฐ›์œผ์‹ค ์ˆ˜ ์žˆ์–ด์š”^^

    • @Enosh6079
      @Enosh6079 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@teddynote prompt = ChatPromptTemplate.from_messages(
      [
      (
      "system",
      """You are an expert in perfumes.
      Use the following pieces of retrieved context to answer the question.
      If you don't know the answer, just say you don't know:



      {context}
      """,
      ),
      # ๋Œ€ํ™” ๊ธฐ๋ก์„ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉ, history ๊ฐ€ MessageHistory ์˜ key ๊ฐ€ ๋จ
      MessagesPlaceholder(variable_name="history"),
      ("human", "{question}"), # ์‚ฌ์šฉ์ž ์ž…๋ ฅ์„ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉ
      ]
      )
      ์œ„์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@Enosh6079 chain = (
      {
      "context": itemgetter("question") | retriever | format_docs,
      "history": itemgetter("history"),
      "question": itemgetter("question")),
      }
      | prompt
      | llm
      )
      ๋กœ ๋ฐ”๊ฟ”์ฃผ์‹œ๊ณ  from operator import itemgetter ์ƒ๋‹จ์— ์ถ”๊ฐ€ํ•ด ์ฃผ์‹œ๊ณ ์š”.
      ์‹คํ–‰ํ•ด ๋ณด์„ธ์š”~^^

    • @Enosh6079
      @Enosh6079 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@teddynote ๋””์Šค์ฝ”๋“œ ์ฑ„๋„์ด ์–ด๋”˜์ง€ ์•Œ๋ ค์ฃผ์„ธ์š”~

  • @mingyukang6592
    @mingyukang6592 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    local์—์„œ ollama๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ์—๋„ ๋น„์šฉ์ด ๋ฐœ์ƒํ•˜๋Š” ๊ฑด๊ฐ€์š”? ๋งŒ์•ฝ ๋น„์šฉ์ด ๋ฐœ์ƒํ•œ๋‹ค๋ฉด, ๋น„์Šทํ•œ ํ˜•์‹์œผ๋กœ ํ•œ๊ธ€ ๊ธฐ๋ฐ˜ ์„œ๋น„์Šค๋ฅผ ํ•˜๊ณ ์ž ํ• ๋•Œ license free๋กœ ์‚ฌ์šฉํ•ด๋ณผ๋งŒํ•œ ๋ชจ๋ธ ์ถ”์ฒœ ๋ถ€ํƒ๋“œ๋ ค์š”.

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋น„์šฉ์ด ๋ฐœ์ƒํ•˜์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์— Ollama ์— ์‚ฌ๋žŒ๋“ค์ด ๊ด€์‹ฌ์„ ๋งŽ์ด ๊ฐ€์ง‘๋‹ˆ๋‹ค. ์˜คํ”ˆ๋˜์–ด ์žˆ๋Š” ๋ชจ๋ธ์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์•„์„œ ๊ตฌ๋™ํ•˜๋Š” ๊ฐœ๋…์ด๊ตฌ์š”. ๋‹ค๋งŒ, ์ปดํ“จํ„ฐ์—์„œ ๋Œ๋ฆฌ๊ฒŒ๋˜๋ฉด ์ „๊ธฐ๋ฅผ ๋งŽ์ด ์žก์•„๋จน์–ด์„œ ์ „๊ธฐ๋ฃŒ ์ •๋„? ๋ฐœ์ƒํ•œ๋‹ค๊ณ  ๋ณด์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค. ์˜ค๋Š˜ ๊ณต์œ ๋“œ๋ฆฐ EEVE ๋ชจ๋ธ ์ถ”์ฒœ ๋“œ๋ฆฝ๋‹ˆ๋‹ค. ๊ฐœ์ธ์ด ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์€ ์ž์œ ๋กญ๊ณ , Apache-license ๋กœ ํ‘œ๊ธฐ๋˜์–ด ์žˆ๊ธฐ๋Š” ํ•œ๋ฐ์š”. ์ƒ์—…์ ์ธ ์ด์šฉ์ด ๊ถ๊ธˆํ•˜์‹œ๋ฉด ์ด ๋ถ€๋ถ„์€ ์›์ €์ž‘์ž์ธ yanolja ๊ฐœ๋ฐœํŒ€์— ๋ฌธ์˜ํ•ด๋ณด์‹œ๋Š” ๊ฒƒ์ด ์ •ํ™•ํ•  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค~

  • @WhiteHat7
    @WhiteHat7 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +2

    ์–‘์žํ™” ๋ชจ๋ธ์—์„œ๋Š” VRAM 12G ์ •๋„์—์„œ๋„ ์›ํ™œํ•˜๊ฒŒ ๋Œ๋ฆด์ˆ˜ ์žˆ๋‚˜์š”?

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์ œ๊ฐ€ ํ…Œ์ŠคํŠธ ํ•ด๋ณธ ํ™˜๊ฒฝ์ด mac ์ด๋ผ ๋‹จ์ˆœ ๋น„๊ต๊ฐ€ ์–ด๋ ต๊ฒ ์ง€๋งŒ 12G์ถฉ๋ถ„ํžˆ ๋Œ์•„๊ฐˆ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค!

  • @Enosh6079
    @Enosh6079 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์ข‹์€ ๊ฐ•์˜ ๊ณต์œ ํ•ด ์ฃผ์…”์„œ ๋„ˆ๋ฌด ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ์ž˜ ํ™œ์šฉํ•˜๊ณ  ์žˆ๋Š”๋ฐ์š”. ํ•œ ๊ฐ€์ง€ ๊ถ๊ธˆํ•œ ๊ฒƒ์ด ์žˆ์Šต๋‹ˆ๋‹ค.
    lang serve๋ฅผ ๊ตฌ๋™ํ•œ ํ›„์— ์ฒ˜์Œ ์งˆ๋ฌธํ•  ๋•Œ ์‹œ๊ฐ„์ด ์ข€ ๊ฑธ๋ฆฌ๋ฐ, ํ˜น์‹œ cold start ๋ฌธ์ œ์ผ๊นŒ์š”? ๋‘๋ฒˆ์งธ๋ถ€ํ„ฐ๋Š” ์‘๋‹ต์ด ๋Š๋ฆฌ์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋กœ์ง์—์„œ ์ฒ˜์Œ ์ฒด์ธ์„ ๋งŒ๋“ค๋•Œ ์‹œ๊ฐ„์ด ๊ฑธ๋ฆด ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์„œ๋ฒ„ ๊ตฌ๋™ํ•˜๋ฉด์„œ ์ฒด์ธ ๋งŒ๋“ค์–ด ๋†“์œผ์‹œ๋ฉด ์ง€์—ฐ์‹œ๊ฐ„์„ ์ค„์—ฌ๋ณด์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค^^

  • @moonlinks
    @moonlinks 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์ •๋ง ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๋ณด์—ฌ์ฃผ์‹  ๋Œ€๋กœ ๋”ฐ๋ผํ•˜๊ธฐ ์ฝ”๋”ฉ ํ•˜์—ฌ ์ง„ํ–‰ํ•˜์˜€์Šต๋‹ˆ๋‹ค.!!!
    ๋‹ค์‹œ ํ•œ๋ฒˆ ํ…Œ๋”” ๋‹˜๊ป˜ ๊ฐ์‚ฌ ๋“œ๋ ค์š”!!
    ๋‹ค๋ฅธ ๊ฒƒ๋“ค์€ ์ž˜ ์ง„ํ–‰ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ตœ์ข…์œผ๋กœ streamlit ์—์„œ ์•ˆ๋˜๊ณ  ์žˆ์–ด์š”.
    ์œˆ๋„์šฐ ํ™˜๊ฒฝ์—์„œ ์ง„ํ–‰ํ•ด์„œ ๊ทธ๋Ÿฐ์ง€ ์ตœ์ข… streamlit ์—์„œ pdf ๋ฌธ์„œ๋ฅผ ๋“ฑ๋กํ•˜๋‹ˆ
    "PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?"
    ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜์—ฌ poppler ๋ฅผ ์„ค์น˜ ํ•˜๊ณ  ํ™˜๊ฒฝ๋ณ€์ˆ˜์— ๋“ฑ๋ก ํ–ˆ์ง€๋งŒ ์•„์ง ์˜ค๋ฅ˜๋ฅผ ํ•ด๊ฒฐ ๋ชปํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
    ๋‹ค๋ฅธ ์œˆ๋„์šฐ ํ™˜๊ฒฝ์—์„œ ์ž‘์—…ํ•˜๋Š” ๋ถ„๋“ค์€ ์ž˜ ๋˜์‹œ๋‚˜์š”?

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      poppler ์œˆ๋„์šฐ ์„ค์น˜ ๊ฐ€์ด๋“œ ์•„๋ž˜ ๋งํฌ ํ•œ ๋ฒˆ ์ฐธ๊ณ ํ•ด ๋ณด์„ธ์š”!!
      blog.naver.com/kiddwannabe/222464734713

  • @jongminlee6691
    @jongminlee6691 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์•ˆ๋…•ํ•˜์„ธ์š”, ์ •๋ง ์ข‹์€ ์˜์ƒ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๋ชจ๋‘ ๋‹ค ์„ฑ๊ณตํ–ˆ์œผ๋‚˜, stramlit ์‹คํ–‰ ํ›„ PDF๋ถˆ๋Ÿฌ์™€์„œ ์งˆ์˜ํ•  ๋•Œ ๊ณ„์†ํ•ด์„œ TypeError: 'CacheBackedEmbeddings' object is not callable ์˜ค๋ฅ˜๊ฐ€ ๋œจ๋„ค์š”... ํ˜น์‹œ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์„ ์•Œ๋ ค์ฃผ์‹ค ์ˆ˜ ์žˆ์œผ์‹ค๊นŒ์š”?

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์ž‘์„ฑํ•˜์‹  ์ฝ”๋“œ๋„ ๋‚จ๊ฒจ ์ฃผ์‹ค ์ˆ˜ ์žˆ์„๊นŒ์š”~?

  • @brain.trinity
    @brain.trinity 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ๋ชจ๋ธ์„ ollama์—์„œ runํ•˜๊ณ  serveํ•˜๋ฉด ์˜ต์‹œ๋””์–ธ์˜ Text Generator์ด๋‚˜ Copilot๊ฐ™์€ ๊ณณ์—์„œ๋„ ๋ชจ๋ธ ์ด์šฉํ•˜๋Š”๊ฒƒ๋„ ํ•ด๋ณด์…จ๋‚˜์š”!

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋„ค ๋ฐฉ๊ธˆ ๋ง์”€ํ•ด ์ฃผ์…”์„œ ํ•ด๋ดค๋Š”๋ฐ~ ๊ฝค๋‚˜ ์ž˜ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค! ์•„์ด๋””์–ด ์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ๋ธŒ๋ผ์ด์–ธ๋‹˜ ๋•๋ถ„์— ์˜ต์‹œ๋””์–ธ ์ž…๋ฌธํ•ด์„œ ๋„ˆ๋ฌด๋‚˜ ์ž˜ ํ™œ์šฉํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค~ ์•ž์œผ๋กœ๋„ ๊ฟ€ํŒ ์–ป์œผ๋Ÿฌ ์ž์ฃผ ๊ฐ€๊ฒ ์Šต๋‹ˆ๋‹ค~^^

  • @์ฐฌ๋นˆ-g4s
    @์ฐฌ๋นˆ-g4s 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +2

    ์ข‹์€๊ฐ•์˜ ์ž˜ ๋ดค์Šต๋‹ˆ๋‹ค!! ๋ณด๋˜์ค‘ ๊ถ๊ธˆํ•œ๊ฒŒ ์ƒ๊ฒผ๋Š”๋ฐ aws์™€ ๊ฐ™์ด ๋ฆฌ๋ˆ…์Šคํ™˜๊ฒฝ์—์„œ๋„ ์ด ์˜์ƒ๊ณผ ๊ฐ™์ด ๋˜‘๊ฐ™์ด ๋”ฐ๋ผํ•˜๋ฉด ์›น์„œ๋ฒ„๋ฅผ ๊ตฌ์ถ•ํ•  ์ˆ˜ ์žˆ์„๊นŒ์š”??

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ๋„ต ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค! ๋ฐฉํ™”๋ฒฝ ์„ค์ •์„ ์ถ”๊ฐ€๋กœ ํ•ด์•ผํ•  ์ˆ˜๋Š” ์žˆ์Šต๋‹ˆ๋‹ค!

  • @T4innovation
    @T4innovation 6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์•ˆ๋…•ํ•˜์„ธ์š” ํ…Œ๋””๋‹˜. ์ข‹์€ ๊ฐ•์˜ ํ•ญ์ƒ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ํ˜น์‹œ ์ธํŠธ๋ผ๋„ท ๊ฐ™์€ ํ์‡„๋ง์—์„œ ํ˜ธ์ŠคํŒ… ํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•๋„ ์žˆ์„๊นŒ์š”?

    • @teddynote
      @teddynote  6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋„ค ์ธํŠธ๋‚˜๋„ท ๊ฐ™์€ ํ์‡„๋ง๋„ langserve ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค~

  • @๊น€ํƒœ๊ฒฝ-m6f
    @๊น€ํƒœ๊ฒฝ-m6f 3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

    ์•ˆ๋…•ํ•˜์„ธ์š” ํ…Œ๋””๋‹˜ !! ๋™์˜์ƒ ํฐ ๋„์›€์ด ๋˜์—ˆ์Šต๋‹ˆ๋‹ค ใ…Žใ…Ž. ํ˜น์‹œ ์ฒจ๋ถ€ ํŒŒ์ผ๋„ ํ•œ๊ฐœ๊ฐ€ ์•„๋‹Œ ๋‘๊ฐœ ์ด์ƒ ์ฒจ๋ถ€ ๊ฐ€๋Šฅํ•˜๊ฒŒ ์ฝ”๋“œ ์ˆ˜์ •ํ•œ๋‹ค๋ฉด ๊ฐ€๋Šฅํ• ๊นŒ์š”??

    • @teddynote
      @teddynote  3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

      ๋„ต ์‰ฝ๊ฒŒ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค๐Ÿ‘

    • @๊น€ํƒœ๊ฒฝ-m6f
      @๊น€ํƒœ๊ฒฝ-m6f 3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

      @@teddynote ๋น ๋ฅธ ๋‹ต๋ณ€ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค !! ํŒŒ์ผ ์ฒจ๋ถ€ ๋ถ€๋ถ„์— 200mb๊นŒ์ง€ ์ฒจ๋ถ€ ๊ฐ€๋Šฅํ•˜๋‹ค๊ณ  ๋˜์–ด์žˆ๋Š”๋ฐ ์‹ค์ œ ๊ฐ€๋Šฅํ•œ๊ฑด๊ฐ€์—ฌ ?!

    • @teddynote
      @teddynote  3 ะผั–ััั†ั– ั‚ะพะผัƒ

      @@๊น€ํƒœ๊ฒฝ-m6f ๋” ํฐ ์‚ฌ์ด์ฆˆ๋„ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค~

    • @๊น€ํƒœ๊ฒฝ-m6f
      @๊น€ํƒœ๊ฒฝ-m6f 3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

      @@teddynote ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค ๐Ÿ˜€๐Ÿ˜€๐Ÿ˜€ ์—ด์‹ฌํžˆ ๊ณต๋ถ€ํ•ด๋ณผ๊ฒŒ์š”!!

  • @yjshon4352
    @yjshon4352 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์œˆ๋„์šฐ์—์„œ cuda ์„ค์ •ํ•˜๋Š” ๋ฐฉ๋ฒ• ์•Œ ์ˆ˜ ์žˆ์„๊นŒ์š”. main.py์—์„œ model_kwargs = {"device": "cuda"} ๋กœ ํ–ˆ์ง€๋งŒ CPU๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์–ด ์งˆ๋ฌธ๋“œ๋ฆฝ๋‹ˆ๋‹ค ใ… ใ… ใ… 

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์šฐ์„  ์œˆ๋„์šฐ์—์„œ CUDA ์„ค์ •์ด ๋˜์–ด ์žˆ์œผ์…”์•ผ model_kwargs = {"device": "cuda"} ์ด๊ฑธ ์‚ฌ์šฉํ•˜์‹ค ์ˆ˜ ์žˆ์–ด์š”. ๊ตฌ๊ธ€์— "Windows CUDA ์„ค์น˜" ํ‚ค์›Œ๋“œ๋กœ ๊ฒ€์ƒ‰ํ•˜์…”์„œ ์„ค์น˜ ๋จผ์ € ํ•ด๋ณด์‹ญ์‡ผ!!

    • @yjshon4352
      @yjshon4352 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋‹ต๋ณ€ ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค ๋งฅ์€ ๋‹ค๋ฅธ ์„ค์ • ์—†์ด ๊ฐ€๋Šฅํ–ˆ๋Š”๋ฐ ์œˆ๋„์šฐ๋ฏ„ ๋ณ„๋„๋กœ ์„ค์น˜๊ฐ€ ํ•„์š”ํ•˜๊ตฐ์š”. ์„ค์น˜ ์ง„ํ–‰ํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.

  • @jinhwakim-g8f
    @jinhwakim-g8f 3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

    ์œ„ ๋Œ€๋กœ ๋”ฐ๋ผํ•˜๋ฉด, ์ธํ„ฐ๋„ท ์—ฐ๊ฒฐ ์—†์ด๋„ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ๊ฒŒ ๋งž์„๊นŒ์š”? ์„ค์น˜ํ• ๋•Œ๋„ ์ธํ„ฐ๋„ท ์—ฐ๊ฒฐ ์—†๊ณ , ์‚ฌ์šฉํ•  ๋•Œ๋„ ์ธํ„ฐ๋„ท ์—ฐ๊ฒฐ ์—†์ด๋„ ๋˜๋Š”๊ฑธ๊นŒ์šฉ?

    • @teddynote
      @teddynote  3 ะผั–ััั†ั– ั‚ะพะผัƒ

      ์˜์ƒ์˜ ๋ฐฉ์‹์ด๋ผ๋ฉด ์„ค์น˜ ํ•  ๋•Œ๋Š” ์ธํ„ฐ๋„ท ์—ฐ๊ฒฐ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค~

  • @๋‹ค๋‹ˆ์—˜-q7o
    @๋‹ค๋‹ˆ์—˜-q7o 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +2

    ์•ˆ๋…•ํ•˜์„ธ์š”
    ๋กœ์ปฌ ์„œ๋น„์Šค ์„ธํŒ… ํ›„
    ์œˆ๋„์šฐ์—์„œ ๋กœ์ปฌ, ๋ฆฌ๋ชจํŠธ ์ ‘์†ํ•ด์„œ ์งˆ๋ฌธ์„ 1๊ฐœ๋งŒํ•ด๋„ ์†๋„๊ฐ€ ์—„์ฒญ ๋Š๋ฆฝ๋‹ˆ๋‹ค.
    ์งˆ๋ฌธ๊ณผ ๋™์‹œ์— cpu 99%, ๋ฉ”๋ชจ๋ฆฌ full, gpu๋Š” ๊ฑฐ์˜ ์•ˆ๋จน์Šต๋‹ˆ๋‹ค.
    (๋…ธํŠธ๋ถ ์‚ฌ์–‘ : i7 12์„ธ๋Œ€, 16g, ๋‚ด์žฅ๊ทธ๋ž˜ํ”ฝ)
    ํ˜น์‹œ ์ด์œ ๊ฐ€ ์žˆ์„๊นŒ์š”?

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ๋„ค ์™ธ์žฅ ๊ทธ๋ž˜ํ”ฝ(์—”๋น„๋””์•„ ๊ณ„์—ด) ์ด ๋‹ฌ๋ ค์žˆ์ง€ ์•Š์œผ๋ฉด ๋‹ต๋ณ€์ด ๊ต‰์žฅํžˆ ๋Š๋ฆฝ๋‹ˆ๋‹ค. ๋น ๋ฅธ ์ถœ๋ ฅ์„ ์œ„ํ•ด์„œ๋Š” GPU๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค!!

  • @์ด๊ผผ์‹œ
    @์ด๊ผผ์‹œ 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์œˆ๋„์šฐ ์‚ฌ์šฉ์ž์ž…๋‹ˆ๋‹ค. ollama run EEVE-Korean-10.8B:latest์„ ์‹คํ–‰ํ•˜๋ฉด llama runner process no longer running: 1 error:failed to create context with model ์ด๋ผ๋Š” ์˜ค๋ฅ˜๊ฐ€ ๋œจ๋Š”๋ฐ, ๋ญ๊ฐ€ ๋ฌธ์ œ์ผ๊นŒ์š”?ใ… ใ… 

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ollama ๊ฐ€ ๊ตฌ๋™ ์ค‘์ด์–ด์•ผ ํ•˜๋Š”๋ฐ ์–ด๋–ค ์ด์œ ์—์„ ์ง€ ์‹คํ–‰์ค‘์ด ์•„๋‹ˆ๋ผ๋Š” ๋ฉ”์‹œ์ง€ ๊ฐ™์•„์š”. ๋จผ์ € ollama serve ๋กœ ๊ตฌ๋™์‹œ์ผœ ๋†“๊ณ  ์ƒˆ๋กœ์šด ํ„ฐ๋ฏธ๋„์—์„œ ollama run ๋ช…๋ น์–ด ์‹คํ–‰ํ•ด ๋ณด์„ธ์š”!

    • @์ด๊ผผ์‹œ
      @์ด๊ผผ์‹œ 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      โ€‹@@teddynote ollama serve ๊ตฌ๋™ ํ›„์— ollama run์„ ์‹คํ–‰ํ•ด๋ดค๋”๋‹ˆ ollama serve๋ฅผ ๊ตฌ๋™ํ–ˆ๋˜ ํ„ฐ๋ฏธ๋„์— ์•„๋ž˜์™€ ๊ฐ™์€ ์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€๊ฐ€ ๋œน๋‹ˆ๋‹ค..ใ… ใ… 
      ggml_backend_cuda_buffer_type_alloc_buffer: allocating 384.00 MiB on device 0: cudaMalloc failed: out of memory
      llama_kv_cache_init: failed to allocate buffer for kv cache
      llama_new_context_with_model: llama_kv_cache_init() failed for self-attention cache
      llama_init_from_gpt_params: error: failed to create context with model 'C:\Users\Commeci\.ollama\models\blobs\sha256-2ede7a0e79157cecbdd6f6890d6a463e73d8b05040330bfd2fce53bb39b47e28'
      {"function":"load_model","level":"ERR","line":410,"model":"C:\\Users\\Commeci\\.ollama\\models\\blobs\\sha256-2ede7a0e79157cecbdd6f6890d6a463e73d8b05040330bfd2fce53bb39b47e28","msg":"unable to load model","tid":"19392","timestamp":1714406828}
      time=2024-04-30T01:07:08.795+09:00 level=ERROR source=routes.go:120 msg="error loading llama server" error="llama runner process no longer running: 1 error:failed to create context with model 'C:\\Users\\Commeci\\.ollama\\models\\blobs\\sha256-2ede7a0e79157cecbdd6f6890d6a463e73d8b05040330bfd2fce53bb39b47e28'"
      ๊ตฌ๊ธ€๋ง ํ•ด๋ด๋„ ํ•ด๊ฒฐ๋ฒ•์ด ๋‚˜์˜ค์ง€ ์•Š๋„ค์š”..ใ…œใ…œ

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@์ด๊ผผ์‹œ ๋ฉ”๋ชจ๋ฆฌ๊ฐ€ ๋ถ€์กฑํ•˜๋‹ค๋Š” ์—๋Ÿฌ์ธ ๊ฒƒ ๊ฐ™์•„์š”. ์ด๋ฏธ GPU ๊ฐ€ ๋‹ค๋ฅธ ํ”„๋กœ์„ธ์Šค์—์„œ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์–ด์„œ ๊ฐ€์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ฉ”๋ชจ๋ฆฌ๊ฐ€ ์ž‘์•„์„œ ์—๋Ÿฌ๋‚ฌ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค~

    • @์ด๊ผผ์‹œ
      @์ด๊ผผ์‹œ 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@teddynote ์™€์•„..ใ… ใ… ใ… ใ… ใ…  ์ง„์งœ์ง„์งœ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!!!!!!!! ๋•๋ถ„์— ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค!!!!!!! ๋Šฆ์€ ์‹œ๊ฐ„๊นŒ์ง€ ๋„์™€์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค ใ… ใ… ใ… ใ… ใ…  ํ•ญ์ƒ ๋งŽ์€ ๋„์›€ ๋ฐ›๊ณ  ์žˆ์–ด์š”!ใ… ใ… 

  • @Jbleeok
    @Jbleeok 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +2

    ๋ฉ‹์ง€๋„ค์š”.
    ๊ทธ๋Ÿฐ๋ฐ, cmd์—์„œ ์‹คํ–‰ํ•˜๋ฉด ํ™•์‹คํžˆ ๋น ๋ฅด๊ณ  gpu 100% ๋จน๋Š”๋ฐ, python server.js ํ•˜๋ฉด ๋Œ€๋‹ต๋„ ๋Š๋ฆฌ๊ณ  gpu ์‚ฌ์šฉ๋Ÿ‰๋„ ์•ˆ์˜ฌ๋ผ๊ฐ€๋Š”๋ฐ ์ด์œ ๊ฐ€ ๋ฌด์—‡์ผ๊นŒ์š”?

    • @netan81
      @netan81 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์•— ์ €๋„ ์ด๊ฑฐ์— ๋ง‰ํ˜€์„œ ์ด๊ฒƒ์ €๊ฒƒ ์ฐพ์•„๋ณด๋Š” ์ค‘์ธ ใ… _ใ…  CUDA ์„ค์ • server.py์— ํ•„์š”ํ•œ๊ฑฐ ๊ฐ™์€๋ฐ ์–ด๋””๋‹ค ํ•ด์•ผํ• ์ง€ ๋ชจ๋ฅด๊ฒ ๋„ค์š”;;

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      cuda ์„ค์ •์ด ์ž˜ ๋˜์–ด ์žˆ๋Š”์ง€ ํ™•์ธํ•ด ๋ณด์‹œ๊ฒ ์–ด์š”?

    • @netan81
      @netan81 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์•— ์ด๊ฒƒ์ €๊ฒƒ ํ•˜๋‹ค๊ฐ€ ํ•ด๊ฒฐ๋˜์—ˆ๋„ค์š”.
      1. CUDA์žฌ์„ค์น˜(์„ค์น˜๋‚ด์šฉ ์ž์„ธํžˆ ๋ณด๋‹ˆ 1๊ฐœ๋งŒ ์„ค์น˜์™„๋ฃŒ๋˜๊ณ  ๋‚˜๋จธ์ง„ ์ „๋ถ€ ์‹คํŒจ์˜€์Œ;;;)
      2. ๋‚ด์žฅ๊ทธ๋ž˜ํ”ฝ์นด๋“œ ๋ฐ”์ด์˜ค์Šค ์ƒ์—์„œ ์‚ฌ์šฉ ์•ˆํ•จ
      ๊ทธ๋‚˜์ €๋‚˜ ํŠน์ดํ•˜๊ฒŒ CMD์ƒ์—์„œ llama3:70B๋Š” cpu๋กœ ๋™์ž‘ํ•˜๋„ค์š”. ์ž‘์€๋ชจ๋ธ์€ GPU๋กœ ๋™์ž‘ํ•˜๋Š”๋ฐ;;;

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@netan81 70B ์–ด๋–ค ์–‘์žํ™” ๋ชจ๋ธ์„ ์‚ฌ์šฉํ•˜์˜€๋Š”์ง€๋Š” ๋ชจ๋ฅด๊ฒ ์ง€๋งŒ vram ๋ฉ”๋ชจ๋ฆฌ๊ฐ€ GPU 1์žฅ์œผ๋กœ๋Š” ๊ฐ๋‹นํ•˜๊ธฐ ์–ด๋ ค์šด ์‚ฌ์ด์ฆˆ๋ผ๋ฉด ๋ชป ์˜ฌ๋ฆด๊ป๋‹ˆ๋‹ค ใ…œ

  • @user-yj1nt8kg5c
    @user-yj1nt8kg5c 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ํ…Œ๋””๋‹˜ ๋Š˜ ์ข‹์€ ๊ฐ•์˜ ๊ฐ์‚ฌ ๋“œ๋ฆฝ๋‹ˆ๋‹ค. ํ•œ ๊ฐ€์ง€ ์งˆ๋ฌธ์ด ์žˆ์–ด ๋ฌธ์˜ ๋“œ๋ฆฝ๋‹ˆ๋‹ค. Streamlit ๋กœ์ปฌ ์—์„œ ๊ตฌํ˜„ ์‹œ, ํ˜น์‹œ ํ•œ๊ธ€ ์ž„๋ฒ ๋”ฉ ๊ด€๋ จํ•ด์„œ ํŽ˜์‡„๋ง์ธ๊ฒฝ์šฐ ์ถ”์ฒœ ํ•ด์ฃผ๋งŒํ•œ๊ฒŒ ์žˆ์„๊นŒ์š”?? ๋ฐ–์—์„œ๋Š” ์ž˜ ๋˜์—ˆ๋Š”๋ฐ ํ์‡„๋ง์ธ ๊ณณ์—์„œ๋Š” PDF๋“ฑ๋ก์‹œ์— ๊ณ„์† ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒ๋˜์–ด์„œ์š”

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์•ˆ๋…•ํ•˜์„ธ์š”! ํ˜น์‹œ langserve github์— ์—…๋กœ๋“œ๋œ streamlit ์˜ˆ์ œ์—์„œ bge-m3 ์ž„๋ฒ ๋”ฉ ์‚ฌ์šฉํ•˜๋Š” ์˜ˆ์ œ๊ฐ€ ์žˆ๋Š”๋ฐ์š”. ํ์‡„๋ง์—์„œ๋„ ๋ฌธ์ œ ์—†์ด ์ž˜ ๋™์ž‘ํ•˜๊ณ  pdf ๋„ ๋ฌธ์ œ ์—†์ด ์ž˜ ์ž„๋ฒ ๋”ฉ ๋˜๋Š”๋ฐ์š”. ํ•œ ๋ฒˆ ํ™•์ธํ•ด ๋ณด์‹œ๊ฒ ์–ด์š”? ์†Œ์Šค์ฝ”๋“œ ๋งํฌ ๋‚จ๊ฒจ๋“œ๋ฆฝ๋‹ˆ๋‹ค.
      github.com/teddylee777/langserve_ollama/blob/main/example/main.py

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋งŒ์•ฝ์— ํ์‡„๋ง์—์„œ ์•ˆ๋˜๋Š” ์ด์œ ๋ฅผ ์ฐพ์ž๋ฉด ํ—ˆ๊น…ํŽ˜์ด์Šค์—์„œ ๋ชจ๋ธ ๋‹ค์šด๋กœ๋“œ ํ•  ๋•Œ ๋ง‰ํ˜€์žˆ์„ ์ˆ˜๋Š” ์žˆ์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. ์ด ๋ถ€๋ถ„์€ ์™ธ๋ถ€๋ง์—์„œ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์•„ ๋†“์œผ์‹œ๊ณ  ๊ทธ ๋‹ค์Œ๋ถ€ํ„ฐ๋Š” ํ์‡„๋ง์œผ๋กœ ์ง„ํ–‰ํ•ด ๋ณด์‹ญ์‡ผ~!!

  • @๋ฐ”์˜ค-c3p
    @๋ฐ”์˜ค-c3p 6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์ง€๊ธˆ ๋ณด๋‹ˆ๊นŒ ์ด๋Ÿฐ Llm ํ˜ธ์ŠคํŒ…์€ ๊ฐ€๊ฒฉ์ด ์–ด๋งˆ์–ด๋งˆํ•˜๋˜๋ฐ... chatgpt๋ฅผ ํŒŒ์ธํŠœ๋‹์‹œ์ผœ์„œ ์„œ๋น„์Šค๋ฅผ ๋Ÿฐ์นญํ•˜๋Š” ๊ฒƒ๊ณผ ์ด๋ ‡๊ฒŒ ๋”ฐ๋กœ ์„œ๋ฒ„์— ๋„์›Œ์„œ ํ• ๊ฒฝ์šฐ ๋น„์šฉ ์ ˆ๊ฐ์€ ์–ด๋Š์ชฝ์ด ๋” ๋‚˜์„๊นŒ์š”?

    • @teddynote
      @teddynote  6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ChatGPT๋ฅผ ํŒŒ์ธํŠœ๋‹ ํ•˜๋Š” ๊ฒƒ์€ ๊ถŒ์žฅ๋“œ๋ฆฌ์ง€๋Š” ์•Š๊ณ  ์žˆ์–ด์š”. ์ด์œ ๋Š” ์šฐ๋ฆฌ๊ฐ€ ์ƒ๊ฐํ•˜๋Š” ๊ฒƒ์ฒ˜๋Ÿผ ๊ฒฐ๊ณผ๊ฐ€ ๋‚˜์˜ค์ง€ ์•Š๊ณ  ๋น„์šฉ์ด ๋น„์‹ผ ๊ฒƒ๋„ ๋‹จ์ ์ด๊ณ ์š”. ๋ฒ ์ด์Šค ๋ชจ๋ธ๋„ 3.5 ๊ธฐ๋ฐ˜์ž…๋‹ˆ๋‹ค.
      ๋น„์šฉ ์ ˆ๊ฐ๋งŒ ์ƒ๊ฐํ•˜์‹œ๋ฉด ํŒŒ์ธ ํŠœ๋‹ ๋ง๊ณ  ๊ทธ๋ƒฅ GPT api ์‚ฌ์šฉํ•˜์‹œ๋Š”๊ฒŒ ๋‚ซ๊ตฌ์š”. ์‚ฌ์šฉ๋Ÿ‰์ด ๋งŽ์•„์ง€๋ฉด ๊ทธ ๋•Œ๋Š” ํ˜ธ์ŠคํŒ… ๋น„์šฉ์ด ๋” ์‹ธ๊ฒŒ ๋จนํž ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค

  • @๊น€๋ฏผ์ˆ˜-b6m7e
    @๊น€๋ฏผ์ˆ˜-b6m7e 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์•ˆ๋…•ํ•˜์„ธ์š”!
    ์ข‹์€ ์˜์ƒ ์ž˜ ๋ดค์Šต๋‹ˆ๋‹ค
    ์ด๋ ‡๊ฒŒ ํ•˜๋ฉด ์‚ฌ๋‚ด ์„œ๋ฒ„์— ์„ค์น˜๋œ ์˜ฌ๋ผ๋งˆ๋ฅผ ํ†ตํ•ด์„œ๋งŒ ๋™์ž‘ํ•˜๋Š”๊ฑฐ์ฃ ?
    ์™ธ๋ถ€์™€์˜ ์—ฐ๊ฒฐ์ (๋ณด์•ˆ์ƒ ๋ฌธ์ œ ๊ด€๋ จ)์€ ์—†๋Š”๊ฑฐ์ฃ ?

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋„ค ์‚ฌ๋‚ด์—์„œ ๋™์ž‘ ๊ฐ€๋Šฅํ•˜๊ตฌ์š” ํ”„๋ก์‹œ๋„ ์„ค์ • ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค~ ๋ณด์•ˆ์€ ๋ชจ๋ธ ์ž์ฒด์˜ ๋ฌธ์ œ๋ณด๋‹ค๋Š” ์—ฐ๊ฒฐ์‹œ ๋ณด์•ˆ ์„ค์ •๋งŒ ์ž˜ ํ•ด์ฃผ์‹œ๋ฉด ๋ฌธ์ œ ์—†์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค^^

  • @์•„๋ฆฌ์•„๋‹˜
    @์•„๋ฆฌ์•„๋‹˜ 6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

    ์•ˆ๋…•ํ•˜์„ธ์š” ์ด๋ฒˆ์— ์ฒ˜์Œ ๋”ฅ๋Ÿฌ๋‹์„ ๊ณต๋ถ€ํ•˜๋Š” ์‚ฌ๋žŒ์ž…๋‹ˆ๋‹ค! ๋จผ์ € ์ข‹์€ ์˜์ƒ ๋‚จ๊ฒจ์ฃผ์…”์„œ ์ •๋ง ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค.
    ์ œ๊ฐ€ vscode์™€ wsl ์—ฐ๋™ํ•ด์„œ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š”๋ฐ wsl์— ๊นƒํ—ˆ๋ธŒ์— ์žˆ๋Š” requirement๋ฅผ ์„ค์น˜ํ•˜๊ณ 
    ์ฝ”๋“œ๋ฅผ ๊ทธ๋Œ€๋กœ ๊ฐ€์ ธ์™€์„œ server.py๋ฅผ ๋Œ๋ ค์„œ playground์— ๋“ค์–ด๊ฐ€์„œ ์งˆ๋ฌธํ–ˆ๋Š”๋ฐ ๋ฐ˜์‘์ด ์—†๋”๋ผ๊ตฌ์š” ํ˜น์‹œ cuda๋ฅผ wsl์•ˆ์—๋ž‘ ์•„๋‹ˆ๋ฉด ์œˆ๋„์šฐ ์ž์ฒด์— cuda๋ฅผ ๋‘˜๋‹ค ์„ค์น˜ ํ•ด์•ผํ•˜๋‚˜์š”?
    ์•„๋‹ˆ๋ฉด xionic.py์— ์žˆ๋Š” api_key๋ž‘ ๊ด€๋ จ ์žˆ๋Š”๊ฑด๊ฐ€ ํ•ด์„œ์š”!

  • @cklee4069
    @cklee4069 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์•ˆ๋…•ํ•˜์„ธ์š” ํ…Œ๋””๋‹˜, OpenAI๋กœ embedding ํ•˜๋Š”๊ฑด ์ž˜ ๋˜๋Š”๋ฐ์š”... ์•„๋ฌด๋ž˜๋„ ๋ณด์•ˆ์ ์ธ ๋ถ€๋ถ„์ด ๊ณ ๋ ค๋˜์–ด์„œ ๋งŒ๋“ค์–ด ๋†“์œผ์‹  ํ—ˆ๊น…ํŽ˜์ด์Šค ์ฝ”๋“œ๋กœ embedding์„ ํ•˜๊ณ  ์‹ถ์€๋ฐ, ์ž๋ฃŒ๋ฅผ ์˜ฌ๋ฆฌ๊ณ  ์งˆ๋ฌธ์„ ํ•˜๋ฉด AssertionError ๊ฐ€ ๋‚˜์˜ต๋‹ˆ๋‹ค. ์งง์€ ์‹œ๊ฐ„์— ์ƒ์„ฑ๊นŒ์ง€๋Š” ํ–ˆ๋Š”๋ฐ, ์ด ๋ถ€๋ถ„์—์„œ ๋ง‰ํ˜€์„œ ์ด๋ ‡๊ฒŒ ๋Œ“๊ธ€ ๋‚จ๊ฒจ๋ด…๋‹ˆ๋‹ค! ๊ทธ๋ฆฌ๊ณ  ์ž„๋ฒ ํŒ…์„ OpenAI๋กœ ํ•˜๋Š”๊ฑด ๋ณด์•ˆ์€ ๊ดœ์ฐฎ์„๊นŒ์š”? API๋Š” OpenAI๋Š” ํ•™์Šต๋ฐ์ดํ„ฐ๋กœ ์“ฐ์ง€ ์•Š๋Š”๋‹ค๊ณ ๋Š” ํ•˜๋Š”๋ฐ, ์•„๋ฌด๋ž˜๋„ ๊ฐœ์ธ์ •๋ณด๊ฐ€ ๋“ค์–ด๊ฐ„๋‹ค๋ฉด ๋ฌด์‹œํ•  ์ˆ˜ ์—†์„ ๊ฒƒ ๊ฐ™์€ ๋ถ€๋ถ„์ด๋ผ ์—ฌ์ญค๋ด…๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋„ค ์˜ค๋ฅ˜๊ฐ€ ๋‚˜๋Š” ๋ถ€๋ถ„์€ ๋””์Šค์ฝ”๋“œ์— ๋‚จ๊ฒจ์ฃผ์‹œ๋ฉด ๋ฉ”์‹œ์ง€ ๋ณด๊ณ  ๋‹ต๋ณ€ ๋“œ๋ฆด ์ˆ˜ ์žˆ์„ ๊ฒƒ ๊ฐ™์•„์š”. ๋Œ“๊ธ€๋กœ ๋‚จ๊ฒจ ์ฃผ์…”๋„ ์ข‹๊ตฌ์š”~
      openai embedding ์€ ๊ดœ์ฐฎ๋‹ค๊ณ  ์ƒ๊ฐํ•˜๋Š”๋ฐ์š”. api ์จ์„œ ๋ชจ๋ธ ๋‹ต๋ณ€ ๋ฐ›๋Š” ๊ฑด ์•„๋ฌด๋ž˜๋„ ๋ณด์•ˆ์ด ๊ฑฑ์ •๋˜์‹ค ์ˆ˜ ์žˆ์ฃ . ๋งŒ์•ฝ ์ด ๋ถ€๋ถ„์ด ๊ฑฑ์ •์ด์‹œ๋ผ๋ฉด ๋กœ์ปฌ ๋ชจ๋ธ๋กœ(llama3, eeve korean) ๋‹ค์šด ๋ฐ›์•„์„œ ์ง„ํ–‰ํ•˜์…”์•ผ ๋˜์ง€๋งŒ GPU ์ธํ”„๋ผ ๊ตฌ์ถ•์€ ๋™๋ฐ˜๋˜์–ด์•ผ ์›ํ•˜์‹œ๋Š” ์ถœ๋ ฅ์ด ๋‚˜์˜ค์‹ค๊บผ์—์š”! ์ฐธ๊ณ ํ•˜์‹ญ์‡ผ^^

    • @cklee4069
      @cklee4069 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@teddynote ์•„, ์ถ”๊ฐ€๋กœ ๋ง์”€ ๋“œ๋ฆฌ๋ฉด Nvidia ์นด๋“œ๊ฐ€ ์žˆ์–ด cuda๋กœ ์…‹ํŒ… ํ•˜๊ณ  ๊ณต์œ  ์ฃผ์‹  EEVE Korean์œผ๋กœ ์‚ฌ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค. ์‘๋‹ต์˜ ํ€„๋ฆฌํ‹ฐ๊ฐ€ ์ƒ๊ฐ๋ณด๋‹ค๋Š” ์ข‹์•„์„œ ๋” ์‚ฌ์šฉํ•ด๋ณด๊ณ  ์‹ถ์—ˆ์Šต๋‹ˆ๋‹ค. ๋‹ค๋งŒ embedding์„ OpenAI๋กœ ํ•˜๋ฉด ์˜ฌ๋ฆฌ๋Š” ๋ฐ์ดํ„ฐ๊ฐ€ ๋˜‘๊ฐ™์ด OpenAI๋กœ ๋„˜์–ด๊ฐ€๋Š” ๊ฒƒ ๊ฐ™์•„ ๊ฑฑ์ •๋˜์–ด์„œ ๋งŒ๋“ค์–ด๋†“์œผ์‹  USE_BGE_EMBEDDING = True๋กœ ํ•˜๊ณ  ์‚ฌ์šฉํ–ˆ๋”๋‹ˆ ์—๋Ÿฌ๊ฐ€ ๋‚œ๊ฑฐ์˜€์Šต๋‹ˆ๋‹ค!

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@cklee4069 ๋„ค~ ๊ทธ๋Ÿฌ์‹œ๊ตฐ์š”. ์ดํ•ดํ–ˆ์Šต๋‹ˆ๋‹ค. ์˜ค๋ฅ˜๋Š” ์„ธ๋ถ€๋กœ๊ทธ๊ฐ€ ์—†์œผ๋ฉด ๊ตฌ์ฒด์ ์œผ๋กœ ์›์ธ์„ ์•Œ๊ธฐ๊ฐ€ ์–ด๋ ต์Šต๋‹ˆ๋‹ค.
      ์œ ์ถ”ํ•ด๋ณด์ž๋ฉด VRAM ๋ฉ”๋ชจ๋ฆฌ ๋ถ€์กฑ์ผ ์ˆ˜ ์žˆ์„ ๊ฒƒ ๊ฐ™์•„์š” ์™œ๋ƒ๋ฉด BGE ๋ชจ๋ธ๋„ GPU์— ์˜ฌ๋ ค์•ผ ํ•˜๋Š”๋ฐ์š” ๊ธฐ์กด LLM๊ณผ ๋™์‹œ์— ์˜ฌ๋ผ๊ฐ€๋ ค๋ฉด ๋ฉ”๋ชจ๋ฆฌ ๋ถ€์กฑ์ด ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค~

    • @cklee4069
      @cklee4069 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@teddynote CPU๋กœ ๋ฐ”๊ฟ”๋„ ๋˜‘๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋‚˜์˜ค๋„ค์š”, ์—ฌ๊ธฐ๊นŒ์ง€ ๋งŒ์กฑํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ํŒจ์ŠคํŠธ ์บ ํผ์Šค ๊ฐ•์˜ ๋ณด๋ฉด์„œ, ํ•˜๋‚˜ํ•˜๋‚˜ ๊ณต๋ถ€ ํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ์›”๊ฐ„ ๋ผ์ด๋ธŒ๋„ ์ž˜ํ•˜์„ธ์š”~

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@cklee4069 ๋„ต! ๋‚˜์ค‘์— ๋””์Šค์ฝ”๋“œ์— ์—๋Ÿฌ ๋‚จ๊ฒจ์ฃผ์‹ฌ ํ•œ ๋ฒˆ ๋ณผ๊ฒŒ์š”~^^ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค

  • @naratteu
    @naratteu 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    --local-dir-use-symlinks ๊ฐ€ ๊ธฐ๋ณธ๊ฐ’์ด True์ด๊ธฐ๋•Œ๋ฌธ์— False๋ฅผ ๋ช…์‹œํ•ด์•ผํ•˜๋Š”๊ฑด๊ฐ€์š”? ๊ทธ๋ƒฅ ๋‹ค์šด๋กœ๋“œํ•˜๋Š”๊ฑด๋ฐ ์‹ฌ๋งํฌ๊ฐ€ ๊ตณ์ด ์–ด๋–ป๊ฒŒ ์™œ ์—ฐ๊ฒฐ๋˜๋Š”๊ฑด๊ฐ€์šฉ?

    • @naratteu
      @naratteu 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์—†์œผ๋ฉด ์ผ๋‹จ ~/.cache/~ ๊ฒฝ๋กœ๋กœ ๊ฐ„ ํ›„์— ์‹ฌ๋งํฌ๋ฅผ ๊ฑฐ๋Š”๊ตฐ์šฉ

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      True๋กœ ์„ค์ •ํ•˜๋ฉด ํŒŒ์ผ ํฌ๊ธฐ์— ๊ด€๊ณ„์—†์ด ์‹ฌ๋ณผ๋ฆญ ๋งํฌ๊ฐ€ ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค. False๋กœ ์„ค์ •ํ•˜๋ฉด ํŒŒ์ผ์ด ์บ์‹œ์—์„œ ๋ณต์ œ๋˜๊ฑฐ๋‚˜(์ด๋ฏธ ์กด์žฌํ•˜๋Š” ๊ฒฝ์šฐ) ํ—ˆ๋ธŒ์—์„œ ๋‹ค์šด๋กœ๋“œ๋˜์–ด ์บ์‹œ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค!

  • @๋ฐฑ์Šน๊ทผ-d1g
    @๋ฐฑ์Šน๊ทผ-d1g 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์˜์ƒ ๋ช‡ ์ผ ๋™์•ˆ ๋Œ๋ ค๋ณด๋ฉด์„œ ๊ฐ„์‹ ํžˆ ๋”ฐ๋ผํ•ด๋ณด์•˜์Šต๋‹ˆ๋‹ค. ์ •๋ง ํ›Œ๋ฅญํ•œ ๊ฐ•์˜ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ^^ ํ˜น์‹œ ๊ฐ•์˜ ์ดํ›„์— ํ•œ๊ธ€ embedder๋กœ rag ์„ฑ๋Šฅ ๋น„๊ต๋ฅผ ํ•ด๋ณด์‹  ์ ์ด ์žˆ์„๊นŒ์š”? embedder๋ฅผ ๋ณ€๊ฒฝํ•˜๋Š” ๊ฒƒ์œผ๋กœ๋„ ์„ฑ๋Šฅ์ฐจ์ด๊ฐ€ ๋งŽ์ด ๋‚˜์ง€๋Š” ์•Š์„๊นŒ ๊ถ๊ธˆํ•ด์„œ ์งˆ๋ฌธ๋“œ๋ ค ๋ด…๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ํ˜น์‹œ ํ•œ๊ตญ์–ด embedder๋กœ ์ถ”์ฒœํ•ด์ฃผ์‹ค ๋งŒํ•œ ๊ฒƒ์ด ์žˆ์„๊นŒ์š”?

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์ž„๋ฒ ๋”๋ฅผ ์–ด๋–ค ์ž„๋ฒ ๋”๋ฅผ ์‚ฌ์šฉํ•˜๋Š๋ƒ์— ๋”ฐ๋ผ์„œ ์„ฑ๋Šฅ ์ฐจ์ด๊ฐ€ ์žˆ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ, ์ง์ ‘ ๋ณ€๊ฒฝํ•ด ๋ณด์‹œ๋ฉด์„œ ํ…Œ์ŠคํŠธ ํ•ด๋ณด์‹œ๋Š” ๊ฒƒ์ด ์ค‘์š”ํ•œ ๊ณผ์ • ์ค‘์— ํ•˜๋‚˜๋ผ๊ณ  ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ณต๊ฐœ๋œ ๋ฌด๋ฃŒ ์ž„๋ฒ ๋” ์ค‘์—์„œ๋Š” BGE-M3 ์ž„๋ฒ ๋”ฉ ๊ดœ์ฐฎ์€ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค!

    • @plannedhappenstance7594
      @plannedhappenstance7594 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@teddynote ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๋ง์”€ํ•ด์ฃผ์‹  ์ž„๋ฒ ๋”๋ฅผ ํฌํ•จํ•ด์„œ ๋‹ค์–‘ํ•˜๊ฒŒ ์‹œ๋„ํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค^^

    • @SeunggeunBaeck-ou4qf
      @SeunggeunBaeck-ou4qf 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      โ€‹โ€‹โ€‹@@teddynote๋ง์”€ํ•ด์ฃผ์‹  bge-m3 ๋กœ ๊ณ„์† ์ž„๋ฒ ๋”ฉ ํ•ด์„œ ๋ ˆ๊ทธ ๊ตฌ์„ฑ ์ค‘์ž…๋‹ˆ๋‹ค. ์ž„๋ฒ ๋”ฉ์˜ ์ •ํ™•๋„ ๋ฌธ์ œ๋Š” ์ž˜ ์•ˆ๋Š๊ปด์ง€๋Š”๋ฐ ๋งค๋ฒˆ ์งˆ๋ฌธ ํ•˜๋‚˜ ์ž…๋ ฅํ•  ๋•Œ ๋งˆ๋‹ค ๋‹ต๋ณ€์„ ์ƒ์„ฑ ์ค‘์ž…๋‹ˆ๋‹ค๋ผ๋Š” ๋ฌธ๊ตฌ๊ฐ€ ๋‚˜ํƒ€๋‚˜๊ธฐ ์ „๊นŒ์ง€ 5์ดˆ ๊ฐ€๋Ÿ‰ ๋กœ๋“œ๋ฅผ ๊ณ„์† ํ•ฉ๋‹ˆ๋‹ค. ๋งˆ์น˜ ๋งค๋ฒˆ ์งˆ๋ฌธ ํ•  ๋•Œ๋งˆ๋‹ค ์ž„๋ฒ ๋”ฉ ๋ชจ๋ธ์„ ๋กœ๋“œํ•˜๋Š” ๋Š๋‚Œ์ด ๋“œ๋Š”๋ฐ ๋ญ๊ฐ€ ๋ฌธ์ œ์ผ๊นŒ์š”? ์ž„๋ฒ ๋”ฉ์„ cpu์™€ cuda๋กœ ๋ฐ”๊ฟ” ๋ด๋„ ๊ฐ™์€ ์†๋„๊ฐ€ ๊ฑธ๋ฆฝ๋‹ˆ๋‹ค. ใ… ใ…œ gpu๋Š” 3090์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

    • @SeunggeunBaeck-ou4qf
      @SeunggeunBaeck-ou4qf 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์•„๋ฌด๋ž˜๋„ open ai ์ฒ˜๋Ÿผ ์ž„๋ฒ ๋”์™€ ์ถ”๋ก  ๋ชจ๋ธ์ด ๊ฐ™์ด ์žˆ๋Š” ์‹œ์Šคํ…œ์ด ์•„๋‹ˆ๋ผ์„œ ์ผ๊นŒ์š”?

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@SeunggeunBaeck-ou4qf ์งˆ๋ฌธ๋„ ์ž„๋ฒ ๋”ฉ์„ ํ•ด์•ผํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์งˆ๋ฌธ์— ๋Œ€ํ•œ ์ž„๋ฒ ๋”ฉ ์‹œ๊ฐ„๋„ ๊ณ ๋ คํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค! gpu ์‚ฌ์šฉ๋ฅ  ์ฒดํฌํ•ด ๋ณด์‹œ๋ฉด์„œ ์ง„์งœ gpu๋ฅผ ํ™œ์šฉํ•œ ์ถ”๋ก  ํ•˜๊ณ  ์žˆ๋Š”์ง€๋„ ํ•œ ๋ฒˆ ์ฒดํฌํ•ด ์ฃผ์„ธ์š”^^

  • @nbright3700
    @nbright3700 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

    ์ข‹์€ ๊ฐ•์˜ ๋•๋ถ„์— ๋กœ์ปฌ RAG์‹œ์Šคํ…œ์„ ๊ตฌ์ถ•ํ•˜์˜€์Šต๋‹ˆ๋‹ค. ์งˆ๋ฌธ์ด ์žˆ๋Š”๋ฐ์š”. Runnable์„ ์“ธ๋•Œ , ๋‹ต๋ณ€์œผ๋กœ ์ฐธ์กฐ ๋ฌธ์„œ๋ฅผ ๋ฐ›์„ ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ๋‚˜์š”? ConversationalRetrievalChain์—์„œ return_source_documents=True ์š” ์˜ต์…˜์œผ๋กœ result['source_documents'] ์ด๋ ‡๊ฒŒ ๋ฐ›์•˜์—ˆ๋Š”๋ฐ Runnable์—์„œ PromptTemplate์— ์ถ”๊ฐ€๋ฅผ ํ•ด์ค˜ ๋ดค๋Š”๋ฐ, ์ž๊พธ ์—๋Ÿฌ๊ฐ€ ๋– ์„œ ์–ด๋–ค ์ฐธ๊ณ  ํ•  ๋งŒํ•œ ๋ฐฉ๋ฒ•์ด ์žˆ์„๊นŒ์š”?

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋‹ต๋ณ€์— ์ฐธ์กฐ ๋ฐ›์„ ์ˆ˜ ์žˆ์–ด์š”. ํ”„๋กฌํ”„ํŠธ์— ๋‹ต๋ณ€์— ์ฐธ์กฐ๋ฅผ ํฌํ•จํ•ด ๋‹ฌ๋ผ๋Š” ์š”์ฒญ์„ ํ•˜๊ฒŒ ๋˜๋ฉด ๋‹ต๋ณ€ ๋ฌธ์ž์—ด์— ์ฐธ์กฐ๊ฐ€ ํฌํ•จ๋˜์–ด์„œ ๋‚˜์˜ค๊ธฐ๋„ ํ•˜๊ตฌ์š”. key ๊ฐ’์œผ๋กœ ๋ฐ›๊ณ ์ž ํ•œ๋‹ค๋ฉด, json output parser ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ์œ„ํ‚ค๋…์Šค์— json output parser ๋กœ ๊ฒ€์ƒ‰ํ•ด์„œ ํŠœํ† ๋ฆฌ์–ผ ์ฐธ๊ณ ํ•˜์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์•„์š”~!

    • @nbright3700
      @nbright3700 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ์ผ๋‹จ ๋”ฐ๋กœ ์ฟผ๋ฆฌ ๋‚ ๋ ค์„œ ๊ฒ€์ƒ‰ํ•ด์„œ ์ฐพ์•„ ๋‚ด์—ˆ์Šต๋‹ˆ๋‹ค. ์•Œ๋ ค์ฃผ์‹  ๋ถ€๋ถ„๋„ ํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.

  • @๋ต์ฝฉ-j2d
    @๋ต์ฝฉ-j2d 6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ํ…Œ๋””๋‹˜, local ํ™˜๊ฒฝ์„ colab์œผ๋กœ ๋‘๊ณ  EEVE ๋ชจ๋ธ ๋ฐ›์„ ์ˆ˜ ์žˆ๋‚˜์š”?

    • @teddynote
      @teddynote  6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์ฝ”๋žฉ์—์‚ฌ๋Š” ๊ตฌ๋™ํ•˜๊ธฐ ์–ด๋ ต๊ธฐ ๋•Œ๋ฌธ์— PC์—์„œ ํ•ด๋ณด์„ธ์š”!

  • @iopp6090
    @iopp6090 5 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์ข‹์€ ์˜์ƒ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค! ํ˜น์‹œ RAG๋ฅผ ์ ์šฉ ํ–ˆ์„ ๋•Œ ์†๋„๊ฐ€ ๋งŽ์ด ๋Š๋ ค์ง€๋Š”๋ฐ chunk๋ฅผ ๋‚˜๋ˆ„๋Š” ๊ณผ์ •์„ ์ถ”๊ฐ€ํ•˜๋ฉด ๊ฐœ์„ ์ด ๋ ๊นŒ์š”??

    • @teddynote
      @teddynote  5 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์†๋„๋Š” vector db๋ฅผ ๋ฐ”๊ฟ”๋ณด์‹œ๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค!

    • @iopp6090
      @iopp6090 5 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@teddynote ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค! ํ…Œ๋””๋‹˜! ๋ช‡ ๊ฐ€์ง€ ๊ถ๊ธˆ์ฆ์ด ์žˆ์Šต๋‹ˆ๋‹ค...!
      1. RAG๋ฅผ ์‚ฌ์šฉํ•ด์„œ gpt4 ์ฒ˜๋Ÿผ ์›น ์ ‘๊ทผ ๊ฒฐ๊ณผ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์‘๋‹ต์„ ๋‚ด๋Š” ๊ฒƒ์ด ๊ฐ€๋Šฅํ•œ๊ฐ€์š”?
      2. ๋„ํ๋จผํŠธ ๋ฆฌํŠธ๋ฆฌ๋ฒ„๋กœ ์‘๋‹ต์„ ์ƒ์„ฑํ•˜๋Š” ๊ฒฝ์šฐ ๋„ํ๋จผํŠธ์˜ ๋‚ด์šฉ์ด ์•„๋‹Œ ๊ฒฝ์šฐ ์ผ๋ฐ˜ ๋ชจ๋ธ์„ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์„๊นŒ์š”?

    • @teddynote
      @teddynote  5 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@iopp6090 ๋„ค ๋‘๊ฐ€์ง€ ์ผ€์ด์Šค ๋ชจ๋‘ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.
      1๋ฒˆ์€ ์›น๊ฒ€์ƒ› ๋„๊ตฌ๋ฅผ ๋ถ™์ด๋ฉด ๋˜๊ณ ์š”!
      2๋ฒˆ๋„ ๊ตฌํ˜„ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค~

  • @๊น€์ •๋ฏผ-b6c1o
    @๊น€์ •๋ฏผ-b6c1o 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    10B์ด๋ฉด ์ƒ๋‹นํžˆ VRAM์ด ๋งŽ์ด ํ•„์š”ํ• ํ…๋ฐ ์–ด๋–ป๊ฒŒ ๋งฅ๋ถ์—์„œ ๋Œ์•„๊ฐ€๋‚˜์š”? ์•„๋ฌด๋ฆฌ MAX๋ผ๊ณ  ํ•ด๋„?

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์–‘์žํ™” ๋ชจ๋ธ์ด๋ผ์„œ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค!

  • @heejuneAhn
    @heejuneAhn 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ollama ๋กœ ๋Œ๋ฆฐ ๊ฒƒ์ด๋ž‘ transformer ๋กœ ๋Œ๋ฆฐ ๊ฒƒ์ด๋ž‘ ์„ฑ๋Šฅ ์ฐจ์ด๊ฐ€ ์ข€ ์žˆ๋Š”์ง€ ์ฐพ์•„ ๋ด์•ผ๊ฒ ๋„ค์š”

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์–‘์žํ™” ๋ชจ๋ธ์ด๊ธฐ ๋•Œ๋ฌธ์— ์–‘์žํ™” ์ˆ˜์ค€์— ๋”ฐ๋ผ ์•ฝ๊ฐ„์˜ ์„ฑ๋Šฅ ์ฐจ์ด๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค~

  • @๋ฐ”์˜ค-c3p
    @๋ฐ”์˜ค-c3p 6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์˜์ƒ ๋‹ต๋ณ€ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹คใ…œ ํ˜น์‹œ gpu๋ฅผ ๊ผญ ์จ์„œ ํ˜ธ์ŠคํŒ…ํ•ด์•ผ ํ•œ๋‹ค๋ฉด 3090์ •๋„๋Š” ๋˜์–ด์•ผ ํ• ๊นŒ์š”?

    • @teddynote
      @teddynote  6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      vram ์€ ๋„‰๋„‰ํ•  ์ˆ˜๋ก ์ข‹์Šต๋‹ˆ๋‹ค~ ์–ด๋–ค ๋ชจ๋ธ์ด๋ƒ์— ๋”ฐ๋ผ์„œ ์ถฉ๋ถ„ํ•  ์ˆ˜๋„ ํ˜น์€ ๋ถ€์กฑํ•  ์ˆ˜๋„ ์žˆ์„ ๊ฒƒ ๊ฐ™์•„์š”. ์—ฌ๊ธฐ์„œ ์ง์ ‘ ๊ณ„์‚ฐํ•ด ๋ณด์‹ค ์ˆ˜ ์žˆ์–ด์š”
      huggingface.co/spaces/NyxKrage/LLM-Model-VRAM-Calculator

  • @์—๋ฐ˜-d3q
    @์—๋ฐ˜-d3q 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ํ˜น์‹œ EEVE-Korean๊ณผ LLaMA3ํ•˜๊ณ  ์—ฐ๋™ํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์„๊นŒ์š”??

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋ชจ๋ธ์€ ๋ณดํ†ต ๋‘˜ ์ค‘ ํ•˜๋‚˜๋ฅผ ํƒ1 ํ•˜์—ฌ ์„ ํƒํ•˜์—ฌ ์ง„ํ–‰ํ•˜๋Š” ๊ฒƒ์•„ ์ผ๋ฐ˜์ ์ž…๋‹ˆ๋‹ค. ๋ณดํ†ต์€ ๋‘˜ ๋‹ค ํ…Œ์ŠคํŠธ ํ•ด๋ณด๊ณ  ๋” ๋‚˜์€ ๋ชจ๋ธ์€ ํƒ 1 ํ•ฉ๋‹ˆ๋‹ค๋งŒ, LLM ๋ผ์šฐํŒ…์ด๋ผ๋Š” ๋ฐฉ์‹๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ์ฝ”๋“œ์— ๊ด€๋ จํ•œ ๋‚ด์šฉ์€ llama ๊ฐ€ ํ•œ๊ตญ์–ด ์งˆ๋ฌธ์€ eeve ๊ฐ€ ๋‹ต๋ณ€ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•  ์ˆ˜ ์žˆ์–ด์š”~

  • @4527PENK
    @4527PENK 3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

    ๊ทธ๋Ÿผ ๋กœ์ปฌํ˜ธ์ŠคํŠธ๋กœ ๋Œ๋ฆฌ๋Š” AI๋Š”
    ์ตœ๋Œ€ ์ˆ˜์‹ , ๋‹ต๋ณ€ ๊ธธ์ด ์ œํ•œ์ด๋‚˜ ์ด๋Ÿฐ๊ฑฐ๋Š” ์—†๋‚˜์š”?

    • @teddynote
      @teddynote  3 ะผั–ััั†ั– ั‚ะพะผัƒ

      ๋‹ต๋ณ€ ๊ธธ์ด์˜ ์ œํ•œ์€ ์žˆ๊ณ ์š”. ๋‹ต๋ณ€ ๊ธธ์ด์˜ ์ œํ•œ์€ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์€ ๋กœ์ปฌ ๋ชจ๋ธ์˜ ๋‹ต๋ณ€ ์ œํ•œ์„ ๋”ฐ๋ผ๊ฐ‘๋‹ˆ๋‹ค~

    • @4527PENK
      @4527PENK 3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

      @@teddynote ์•„ํ•˜ ๊ทธ๋ ‡๊ตฐ์š”ใ… ใ… 
      Claude ๋Š” 250์ค„ ์ฏค์—์„œ hit the maximum length limit ๊ฐ€ ๋œจ๊ณ 
      GPT 4๋Š” ์ค‘๊ฐ„์— ์ฝ”๋“œ ๋นผ๋จน๋Š”
      (#์ด๋ฏธ์žˆ๋Š” ๊ตฌ์กฐ ์‚ฌ์šฉ) ์ด๋Ÿฐ๊ฒŒ ์•„๋‹ˆ๋ผ
      ๋ง๊ทธ๋Œ€๋กœ ์ฝ”๋“œ๊ฐ€ ๋น ์ง€๊ณ 
      ์ด์ƒํ•œ๋ฐ์— "]" ๋“ค์–ด๊ฐ€๋Š” ์ด์ƒํ•œ ๋ฌธ์ œ๊ฐ€
      ์žˆ์–ด์„œ ๋กœ์ปฌ๋ชจ๋ธ ์ฐพ์•„๋ณด๊ณ  ์žˆ๋Š”๋ฐ ใ… ใ… 
      ์•„์‰ฝ๋„ค์š”.
      ใ…กใ…กใ…กใ…กใ…กใ…กใ…กใ…ก
      ๊ถ๊ตผํ•œ๊ฒŒ ์žˆ์–ด์„œ ์ถ”๊ฐ€ ์งˆ๋ฌธ ์ข€ ๋“œ๋ ค๋ด…๋‹ˆ๋‹ค
      ์ง€๊ธˆ ์“ฐ๋Š” Gpu๊ฐ€ 1080ti 11GB ์ž…๋‹ˆ๋‹ค.
      ๋ผ๋งˆ 3 70B ๋ชจ๋ธ์„ ์จ๋ณด๋ ค๊ณ  ํ•˜๋Š”๋ฐ VRAM 11GB๋ฉด ์ถฉ๋ถ„ํ•œ์ง€ ๊ถ๊ตผํ•ฉ๋‹ˆ๋‹ค.
      ๋งŒ์•ฝ ๋ถ€์กฑํ•˜๋‹ค๋ฉด 48GB ๊นŒ์ง€๋Š” ๋Š˜๋ ค๋ณผ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
      ๊ตฌ๊ธ€๋ง ํ•ด๋ณด๋‹ˆ Vram 160Gb ํ•„์š”ํ•˜๊ณ 
      ๋ญ ์–‘์žํ™” ํ•˜๋ฉด ๊ดธ์ฐฎ๋‹ค๋Š”๋ฐ ๋งŸ๋‚˜์š”?

    • @teddynote
      @teddynote  3 ะผั–ััั†ั– ั‚ะพะผัƒ

      @@4527PENK ์–‘์žํ™”๋œ ๋ชจ๋ธ๋กœ ํ…Œ์ŠคํŠธ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. Q4 ์–‘์žํ™” ๋ชจ๋ธ๋กœ ํ…Œ์ŠคํŠธ ํ•ด๋ณด์‹œ๋ฉด ๋  ๊ฒƒ ๊ฐ™์•„์š”. 24~48GB ์‚ฌ์ด ์ •๋„ ๋  ๊ฒƒ ์ž…๋‹ˆ๋‹ค.
      ๋‹ค๋งŒ, Q4 ์–‘์žํ™”๋Š” ์ธํ…”๋ฆฌ์ ผ์Šค ์†์‹ค์ด ๋งŽ์Šต๋‹ˆ๋‹ค. ์›๋ณธ ๋ชจ๋ธ์ธ 160G ์งœ๋ฆฌ๋กœ ํ•ด์•ผ ๊ฑฐ์˜ ๋ฌด์†์‹ค์˜ ์ธํ…”๋ฆฌ์ ผ์Šค๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ, ๋ˆ„๊ตฌ๋‚˜ ๊ทธ๋Ÿฐ GPU ์ž์›์ด ์žˆ๋Š” ๊ฒƒ์€ ์•„๋‹ˆ๊ธฐ์— ๊ฐ€์šฉํ•  ์ˆ˜ ์žˆ๋Š” ์ž์›์— ๋งž์ถฐ ์–‘์žํ™”๋œ ๋ชจ๋ธ (Q4, Q6) ์ •๋„์—์„œ ํƒ€ํ˜‘ํ•ด์„œ ํ…Œ์ŠคํŠธ ํ•ด๋ณด์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค~

    • @4527PENK
      @4527PENK 3 ะผั–ััั†ั– ั‚ะพะผัƒ +1

      @@teddynote๋‹ต๋ณ€ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.๐Ÿ‘

  • @nitial
    @nitial 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ํ…Œ๋””๋…ธํŠธ๋‹˜ ์ „์— ํ…Œ๋””๋…ธํŠธ๋‹˜์˜์ƒ์—์„œ ๋ดฃ๋Š”๋ฐ ๊ทธ llm ์„ ํƒํ•ด์„œ ์‚ฌ์šฉํ• ์ˆ˜์žˆ๋Š” ํ”„๋กœ๊ทธ๋žจ์ด๋ฆ„์ด ๊ธฐ์–ต์ด์•ˆ๋‚˜์š”,. ์ฐพ์ง€๋„๋ชปํ•˜๊ฒ ๊ณ ...์ฑ—gpt์„ ํƒํ•˜๋ฉด api ํ‚ค๋„ฃ๊ณ  ๋กœ์ปฌ๊ตฌ๋™๊ฐ€๋Šฅํ•œ ๋ผ๋งˆ๊ฐ™์€๊ฑฐ ์„ ํƒํ•˜๋ฉด ๋ผ๋งˆ์•Œ์•„์„œ ๋‹ค์šด๋ฐ›์•„์„œ ์“ฐ๊ณ  ๊ทธ๋Ÿฐํ”„๋กœ๊ทธ๋žจ์ด์—ˆ๋Š”๋ฐ. ์ด๋Ÿฐํ”„๋กœ๊ทธ๋žจ์„ ๋งŽ์ด์จ์•ผ ๋” ์ข‹์•„์ง„๋‹ค ๋ญ์ด๋Ÿฐ๋งํ•˜์…ง๋˜๊ฑธ๋กœ๊ธฐ์–ตํ•ฉ๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      LM Studio ๊ฐ€ ๋กœ์ปฌ์—์„œ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์•„์„œ ๊ตฌ๋™ํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ์ด๊ตฌ์š”!
      Anything LLM ์€ RAG ๋‹จ๊ณ„๋ณ„ ๋ชจ๋“ˆ ์„ ํƒํ•˜์—ฌ ๊ตฌ๋™ํ•  ์ˆ˜ ์žˆ๋Š” ํ”„๋กœ๊ทธ๋žจ ์ž…๋‹ˆ๋‹ค!

    • @nitial
      @nitial 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@teddynote ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!!

  • @๋ต์ฝฉ-j2d
    @๋ต์ฝฉ-j2d 6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ํ…Œ๋””๋‹˜. ollama๋ฅผ local์ด ์•„๋‹Œ aws ์„œ๋ฒ„๋กœ ๋„์›Œ์„œ ์“ด๋‹ค๋ฉด ๋น„์šฉ์ด ๋งŽ์ด ๋“ค๊ฒ ์ฃ ..?

    • @teddynote
      @teddynote  6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      GPU ์ธ์Šคํ„ด์Šค ์ข…๋ฅ˜์— ๋”ฐ๋ผ์„œ ๋‹ค๋ฅผ ๊ฒƒ ๊ฐ™์•„์š”. ๋น„์šฉ์€ ์ข…๋Ÿ‰์ œ๋กœ ๋ฐœ์ƒํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์ง€์†์ ์ธ ๋น„์šฉ์€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค ใ…œ

    • @๋ต์ฝฉ-j2d
      @๋ต์ฝฉ-j2d 6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@teddynote ๋‹ค๋ฅธ open llm ์‚ฌ์šฉํ•ด๋„ ๋น„์šฉ๋ถ€๋‹ด์€ ํด์ˆ˜๋ฐ–์— ์—†๊ฒ ๋„ค์š”..!

  • @juanfortube
    @juanfortube 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    cuda๋Š” ๋ฏธ๋ฆฌ ์„ค์น˜ํ•ด์•ผ gpu๊ฐ€ ์ž‘๋™ํ•˜๋Š”๊ฑด๊ฐ€์š”? cuda์„ค์น˜์—†์œผ๋‹ˆ gpu๊ฐ€์•ˆ๋„๋ˆˆ๊ฑฐ๊ฐ™์•„์„œ์š”

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ๋งž์Šต๋‹ˆ๋‹ค cuda๋Š” ์„ค์น˜๋˜์–ด์•ผ gpu ์žก์•„์„œ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค!

  • @์ปน์Šค์ปน-d9j
    @์ปน์Šค์ปน-d9j 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์งˆ๋ฌธ ํ•˜๋‚˜๋งŒํ•ด๋„ gpu๊ฐ€ 100%๊ฐ€ ๋˜์–ด๋ฒ„๋ฆฌ๋„ค์š” ๋งŒ์•ฝ์•  gpt3์ฒ˜๋Ÿผ ์„œ๋น„์Šค๋ฅผ ํ•˜๋ ค๊ณ ํ•œ๋‹ค๋ฉด ์ปดํ“จํ„ฐ๊ฐ€ ๋ฌด์ˆ˜ํ•˜๊ฒŒ ๋งŽ์ด ํ•„์š”ํ• ๊นŒ์š”?

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      VRAM์„ ๋” ํฐ GPU๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๊ณ ์š” ์ •๋ง ์‚ฌ์šฉ์ž๊ฐ€ ๋งŽ๋‹ค๋ฉด ๋” ๋งŽ์€ ์žฅ๋น„๊ฐ€ ํ•„์š”ํ•  ์ˆ˜ ์žˆ์–ด์š”. ํด๋ผ์šฐ๋“œ ์„œ๋น„์Šค๋ฅผ ์ด์šฉํ•˜๋ฉด ์†์‰ฝ๊ฒŒ ํ™•์žฅํ•  ์ˆ˜ ์žˆ์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค! ๊ทธ๋Ÿฐ๋ฐ ๋ˆ์€ ๋งŽ์ด ๋“ค์ฃ  ใ…œ

  • @phillipkorea1
    @phillipkorea1 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์•„์ง ์˜ค๋ฅ˜๊ฐ€ ๋„ˆ๋ฌด ๋งŽ๋„ค์š”

  • @๊ณต๊ณต-p2v
    @๊ณต๊ณต-p2v 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    AI ์ดˆ๋ณด์ธ๋ฐ์š”, Ollama๊ฐ€ LLM์ธ๋ฐ EEVE ๋ชจ๋ธ์ด ์™œ ํ•„์š”ํ•œ์ง€ ๊ถ๊ธˆํ•˜๋„ค์š”

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋„ค~ ollama๋Š” llm์ด ์•„๋‹ˆ๊ณ  llm์„ ๊ตฌ๋™ํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ ์ž…๋‹ˆ๋‹ค. EEVE๊ฐ€ llm์ž…๋‹ˆ๋‹ค~

    • @๊ณต๊ณต-p2v
      @๊ณต๊ณต-p2v 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@teddynote ์•„~~๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค

  • @Withipad
    @Withipad 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ๋„ˆ๋ฌด ์ž˜๋ดค์Šต๋‹ˆ๋‹ค. ๋‹ค๋ฆ„์ด ์•„๋‹ˆ๋ผ ๊ถ๊ธˆํ•œ๊ฒŒ ์žˆ๋Š”๋ฐ์š”... ์œˆ๋„์šฐ์—์„œ๋„ ๋˜๋Š” ๊ฑด๊ฐ€์—ฌ?

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๋„ค ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค!

    • @Withipad
      @Withipad 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ๋„ˆ๋ฌด ์„ค๋ช…์ด ์ž˜๋˜์–ด์žˆ์–ด์„œ rag์ „๊นŒ์ง€๋Š” ์„ฑ๊ณต์„ ํ•˜์˜€์Šต๋‹ˆ๋‹ค. ๊ทธ rag๋ฅผ ํ•˜๋ ค๋ฉด ์ž„๋ฒ ๋”ฉ์„ openai๋กœ ํ•œ๋‹ค๊ณ  ํ•˜๊ณ  ๋‹ค๋ฅธ๊ฑธ๋กœ ํ• ์ˆ˜๋„ ์žˆ๋‹ค๊ณ  ํ•˜์…จ๋Š”๋ฐ ์˜คํ”ˆ์†Œ์Šค๋กœ ๋˜์–ด์žˆ๋Š”๊ฒƒ์ด ๋ญ๊ฐ€ ์žˆ์„๊นŒ์š”?

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@Withipad ํ—ˆ๊น…ํŽ˜์ด์Šค์— bge-m3 ์ž„๋ฒ ๋”ฉ์ด ์žˆ์Šต๋‹ˆ๋‹ค~ ํ•œ๊ธ€ ์ฒ˜๋ฆฌ ๋Šฅ๋ ฅ๋„ ์šฐ์ˆ˜ํ•œ ํŽธ์ž…๋‹ˆ๋‹ค

    • @Withipad
      @Withipad 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@teddynoteใ… ใ…กใ…  ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋“œ

    • @Withipad
      @Withipad 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ํ•œ๊ฐ€์ง€๋งŒ ๋งˆ์ง€๋ง‰์œผ๋กœ ์งˆ๋ฌธ๋“œ๋ฆฌ๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค..
      ๊ทธ ์˜คํ”„๋ผ์ธ ํ™˜๊ฒฝ์—์„œ๋Š” ์ ˆ๋Œ€ ์ง„ํ–‰ํ• ์ˆ˜์—†๋Š” ํ”„๋กœ์ ํŠธ์ธ๊ฐ€์š”??
      Server.py๋ฅผ ์˜คํ”„๋ผ์ธ์—์„œ ์‹คํ–‰์‹œ์ผฐ๋”๋‹ˆ,
      ์—๋Ÿฌ๊ฐ€ ๋œจ๋”๋ผ๊ตฌ์š” ๋žญ์ฒด์ธ ๋ชจ๋“ˆ์—์„œ ์˜จ๋ผ์ธ์œผ๋กœ ๊ฐ€์ ธ์˜ค๋Š”๊ฒŒ ์žˆ๋Š”๊ฒƒ ๊ฐ™๋˜๋ฐ์šฉ..

  • @Tworiver-d5w
    @Tworiver-d5w 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

    ๋‹จ์ˆœ ์„ฑ๋Šฅ๋งŒ ๋น„๊ตํ•˜๋ฉด ๊ทธ๋ž˜๋„ gpt4 ๊ณ„์—ด์˜ ๋ชจ๋ธ์ด EEVE๋ณด๋‹ค ๋งŽ์ด ์ข‹์€๊ฐ€์š”? ํ•œ๊ตญ์–ด ๊ธฐ์ค€์œผ๋กœ์š”!

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์„ฑ๋Šฅ์ด ์—ฌ๋Ÿฌ ๋ถ€๋ถ„์„ ํฌํ•จํ•˜๊ณ  ์žˆ์ง€๋งŒ GPT4๋Š” ์ž…๋ ฅ์œผ๋กœ ๋ฐ›๋Š” ์ปจํ…์ŠคํŠธ ๊ธธ์ด๊ฐ€ 128K๋กœ eeve ์˜ 4K๋Œ€๋น„ ํฌ๊ธฐ ๋•Œ๋ฌธ์— RAG๋ฅผ ํ•˜์‹ค ๋•Œ๋Š” ์ž…๋ ฅ์˜ ๊ธธ์ด๊ฐ€ ๊ธธ๋ฉด ์ข‹์œผ๋ฏ€๋กœ GPT4๊ฐ€ ์ข‹๋‹ค๊ณ  ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • @nalgut6387
    @nalgut6387 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

    ์•ผ๋†€์ž์˜ ํ•œ๊ธ€๋ชจ๋ธ๋กœ ๋ฒˆ์—ญํ•˜๋ฉด ๋”ฅ์—˜๊ณผ ๋น„๊ตํ•ด์„œ ์–ด๋–ค๊ฐ€์š”? ใ…Žใ…Ž

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์ผ๋ฐ˜ ๋ฒˆ์—ญ ์ˆ˜์ค€์€ ํ›Œ๋ฅญํ•ฉ๋‹ˆ๋‹ค. ์ €๋Š” ๋‚˜๋ฆ„ ๋งŒ์กฑํ•˜๋ฉด์„œ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์–ด์š”!

  • @๋‘๋‡ŒํŠธ๋ ˆ์ด๋‹-o8g
    @๋‘๋‡ŒํŠธ๋ ˆ์ด๋‹-o8g 4 ะผั–ััั†ั– ั‚ะพะผัƒ +1

    ๋กœ์ปฌ rtx 4060 8๊ธฐ๊ฐ€๋กœ ํ…Œ์ŠคํŠธํ•˜๋ฉด ์—„์ฒญ ๋Š๋ฆฐ๋ฐ ๋งž๋Š”๊ฑฐ์ฃ ? ใ… 

    • @teddynote
      @teddynote  4 ะผั–ััั†ั– ั‚ะพะผัƒ

      ํ˜น์‹œ CUDA ์„ค์ •์ด ๋˜์–ด ์žˆ์œผ์‹ค๊นŒ์š”~? ์•ˆ๋˜์–ด ์žˆ๋Š” ๊ฒฝ์šฐ ๋Š๋ฆด ์ˆ˜ ์žˆ์–ด์š” (CPU ์‚ฌ์šฉ)

    • @๋‘๋‡ŒํŠธ๋ ˆ์ด๋‹-o8g
      @๋‘๋‡ŒํŠธ๋ ˆ์ด๋‹-o8g 4 ะผั–ััั†ั– ั‚ะพะผัƒ

      @@teddynote ์–ด๋–ป๊ฒŒ ํ•˜๋ฉด cuda๋ฅผ ์‚ฌ์šฉํ•˜๋Š”์ง€ ๊ฐ„๋‹จํ•˜๊ฒŒ ์•Œ๋ ค์ฃผ์‹ค ์ˆ˜ ์žˆ์œผ์‹ ๊ฐ€์š”

    • @teddynote
      @teddynote  4 ะผั–ััั†ั– ั‚ะพะผัƒ

      @@๋‘๋‡ŒํŠธ๋ ˆ์ด๋‹-o8g cuda ๋ฅผ ์ด์šฉํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ์„ค์น˜ ๊ณผ์ •์ด ํ•„์š”ํ•œ๋ฐ์š”! ๋ธ”๋กœ๊ทธ์— ๊ฒ€์ƒ‰ํ•ด ๋ณด์‹œ๋ฉด ๊ด€๋ จ ์ž๋ฃŒ๊ฐ€ ๋งŽ์ด ๋‚˜์˜ต๋‹ˆ๋‹ค.
      GPU ๋ฒ„์ „์— ๋งž๋Š” CUDA๋ฅผ ์„ค์น˜ํ•˜์‹œ๋ฉด GPU๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ์‹œ ๋งํฌ ๊ณต์œ  ๋“œ๋ฆด๊ป˜์š”~
      velog.io/@sxngwxx/%EC%9C%88%EB%8F%84%EC%9A%B0Windows-CUDA-cuDNN-%EC%84%A4%EC%B9%98

  • @PliBoy
    @PliBoy 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

    LLM๋ชจ๋“œ์—์„œ Chat๋ชจ๋“œ๋กœ ์–ด๋–ป๊ฒŒ ๋ณ€๊ฒฝํ•˜๋‚˜์š”...?

    • @ever4cys-ururu
      @ever4cys-ururu 4 ะผั–ััั†ั– ั‚ะพะผัƒ

      ์ฃผ์†Œ๊ฐ€ /xionic/playground ๋กœ ๋˜์–ด ์žˆ์œผ๋ฉด Chat ๋ชจ๋“œ, /prompt/playground ๋กœ ๋˜์–ด ์žˆ์œผ๋ฉด LLM ๋ชจ๋“œ์ธ ๋“ฏ ํ•˜๋„ค์š”.

  • @์–‘์Šน๋ชจ-d3h
    @์–‘์Šน๋ชจ-d3h 6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

    ์œˆ๋„์šฐ ๊ธฐ์ค€์œผ๋กœ๋„ ์„ค๋ช…ํ•ด์ฃผ์‹ค์ˆ˜ ์žˆ์„๊นŒ์š”?

    • @teddynote
      @teddynote  6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์ œ๊ฐ€ ์œˆ๋„์šฐ๊ฐ€ ์—†์–ด์„œ์š” ใ…œใ…œ

    • @teddynote
      @teddynote  6 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์œˆ๋„์šฐ๋ผ๊ณ  ๋”ฑํžˆ ๋‹ค๋ฅธ ์ ์€ ์—†์„ ๊ฒƒ ๊ฐ™์•„์š”^^

  • @hyunbaek4917
    @hyunbaek4917 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์•ˆ๋…•ํ•˜์„ธ์š” ์˜์ƒ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.
    ์ƒ ์ดˆ๋ณด๊ฐ€ ๋”ฐ๋ผํ•˜๋ ค๊ณ  ํ•˜๋Š”๋ฐ, ์‹ธ์ดํŠธ์—์„œ GGUF ํŒŒ์ผ ๋ฐ›์•„, Modelfile ๋งŒ๋“œ๋ ค๋Š”๋ฐ, ์ž๊พธ ์—๋Ÿฌ๊ฐ€ ๋‚˜๋„ค์š”
    modelfile ํ™•์žฅ์ž๊ฐ€ yaml ๋งž๋‚˜์š”? ๋ฉ”๋ชจ์žฅ์—์„œ ํ™•์žฅ์ž๋ฅผ yaml๋กœ ์ €์žฅํ–ˆ์Šต๋‹ˆ๋‹ค.
    cmd ์ฐฝ์—์„œ Modelfile ์žˆ๋Š” ํด๋”๊ฐ€์„œ "ollama create EEVE -f Modelfile ๋กœ ํ•˜๋ฉด ํŒŒ์ผ์„ ๋ชป์ฐพ๊ฒ ๋‹ค๊ณ  ํ•˜๊ณ ,
    Modelfile.yaml ๋กœ ์น˜๋ฉด "no FROM line for the model was specified" ๋ผ๊ณ  ํ•˜๋Š” ์—๋Ÿฌ๊ฐ€ ๊ณ„์† ๋œจ๋„ค์š”.

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      1. Modelfile ์€ ๋ณ„๋„ ํ™•์žฅ์ž๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค ๊ทธ๋ƒฅ ํ™•์žฅ์ž ์—†์ด Modelfile ์ด๋ผ๊ณ  ๋งŒ๋“œ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค~
      2. Modelfile ์•ˆ์— ๋‚ด์šฉ์„ ์ž…๋ ฅํ•ด ์ฃผ์…”์•ผ ํ•ฉ๋‹ˆ๋‹ค ๋‚ด์šฉ์€ github.com/teddylee777/langserve_ollama/blob/main/ollama-modelfile/EEVE-Korean-Instruct-10.8B-v1.0/Modelfile
      ๋งํฌ์˜ ํŒŒ์ผ์„ ๋ณด์‹œ๊ณ  ์ž…๋ ฅํ•˜์‹œ๋ฉด ๋˜๋Š”๋ฐ์š”. ๋งจ ์œ„์˜ FROM ๋‹ค์Œ์— ๋‚˜์˜ค๋Š” ํŒŒ์ผ์˜ ๊ฒฝ๋กœ๋งŒ ๋ณธ์ธ์ด ์ €์žฅํ•œ ๊ฒฝ๋กœ๋กœ ๋ณ€๊ฒฝํ•ด ์ฃผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค!

    • @hyunbaek4917
      @hyunbaek4917 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@teddynote ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. modelfile ์„ ํ™•์žฅ์ž ์—†์ด ๋งŒ๋“ ๋‹ค๋Š” ๋ง์„ ์ดํ•ด๋ชปํ–ˆ์—ˆ๋Š”๋ฐ, ๋ฉ”๋ชจ์žฅ์ด ์•„๋‹ˆ๋ผ ํˆด ์ด์šฉํ•ด์„œ ๋งŒ๋“œ๋‹ˆ๊นŒ ๋˜๋„ค์š”!

  • @๋‹ค๋‹ˆ์—˜-q7o
    @๋‹ค๋‹ˆ์—˜-q7o 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์•ˆ๋…•ํ•˜์„ธ์š” ์˜์ƒ ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค.^^ EEVE ๋ชจ๋ธ์„ ์ƒ์—…์šฉ์œผ๋กœ ์‚ฌ์šฉํ•ด๋„ ๋˜๋‚˜์š”?

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      apache 2.0 ๋ผ์ด์„ผ์Šค๋ฅผ ๋”ฐ๋ฆ…๋‹ˆ๋‹ค. ์ƒ์—…์šฉ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•˜๋‚˜ ์ œ์•ฝ์ด ์žˆ์œผ๋‹ˆ ์‚ฌ์ „์— ํ™•์ธํ•ด ๋ณด์„ธ์š”^^

  • @JeongminYoo-rc5bl
    @JeongminYoo-rc5bl 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ํ˜น์‹œ ollama ์•„๋ž˜ ์—๋Ÿฌ๋Š” ์™œ ๋œจ๋Š”๊ฑด์ง€ ์•„์‹ค๊นŒ์š”? ๊ตฌ๊ธ€๋งํ•ด๋„ ์ž˜์•ˆ๋‚˜์˜ค๋„ค์š”
    ValueError: Ollama call failed with status code 500. Details: {"error":"llama runner process no longer running: -1 CUDA error: the provided PTX was compiled with an unsupported toolchain.
    current device: 0, in function ggml_cuda_compute_forward at /root/parts/ollama/build/llm/llama.cpp/ggml-cuda.cu:2212
    err
    GGML_ASSERT: /root/parts/ollama/build/llm/llama.cpp/ggml-cuda.cu:60: !\"CUDA error\""}

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      llama cpp ๋กœ ์‹คํ–‰ํ•˜์…จ๋‚˜์š”?

    • @JeongminYoo-rc5bl
      @JeongminYoo-rc5bl 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      @@teddynote ์•„๋‡จ ์ฒ˜์Œ์—” ollama pull๋กœ ๋•ก๊ฒจ์˜ค๋‹ค๊ฐ€ ์ € ์—๋Ÿฌ๊ฐ€ ๋œจ๊ธธ๋ž˜ ์˜์ƒ ๋ฐฉ์‹๋Œ€๋กœ GGUF์—์„œ ๊ฐ€์ ธ์™”๋Š”๋ฐ ๋˜‘๊ฐ™์€ ์ƒํ™ฉ์ž…๋‹ˆ๋‹ค. CUDA ๋ฒ„์ „๋ฌธ์ œ์ผ๊นŒ์š”? ์ฐธ๊ณ ๋กœ 12.2 ๋ฒ„์ „์ž…๋‹ˆ๋‹ค.

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      @@JeongminYoo-rc5bl CUDA ๋ฒ„์ „ ๋ฌธ์ œ์ผ ์ˆ˜ ์žˆ์–ด์š”. ์ง€์›ํ•˜๋Š” CUDA ๋ฒ„์ „ ํ•œ ๋ฒˆ ํ™•์ธํ•ด ๋ณด์‹œ๊ณ  ์ง€์›ํ•˜๋Š” ๋ฒ„์ „์œผ๋กœ ํ•œ ๋ฒˆ ์„ค์น˜ํ•ด ๋ณด์‹œ๊ฒ ์–ด์š”?

  • @jymoon-z1t
    @jymoon-z1t 7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ํ…Œ๋””๋‹˜! ์˜์ƒ๋ณด๋ฉฐ ๋‹ค๋ฅธ ๋ชจ๋ธ๋„ ์ ์šฉํ•ด ๋ณด๊ณ ์žˆ์Šต๋‹ˆ๋‹ค. ์ƒ˜ํ”Œ์ฝ”๋“œ๋ณด๋‹ˆ ๋ผ๋งˆ3๋„ ์ ์šฉํ•ด ๋ณด์‹ ๊ฑฐ ๊ฐ™์€๋ฐ ํ˜น์‹œ ํ•œ๊ธ€๋ฌธ์ œ ์—†์œผ์…จ๋‚˜์š”?
    ํ•œ๊ธ€๋‹ต๋ณ€์ด ์•ˆ๋‚˜์˜ค๋Š”๊ฑด ์•„๋‹Œ๋ฐ ๋ญ”๊ฐ€ ํ’ˆ์งˆ์ด ๋–จ์–ด์ง€๊ธฐ๋„ ํ•˜๊ณ  ์‹œ์Šคํ…œ ํ”„๋กฌํ”„ํŠธ๋ฅผ ์ค˜๋„ ์˜์–ด๋กœ ๋‹ต๋ณ€ํ•˜๊ธฐ๋„ ํ•˜๊ณ  ๊ทธ๋Ÿฌ๋„ค์š”^^;

    • @teddynote
      @teddynote  7 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ์—์ด์ „ํŠธ ์‚ฌ์šฉํ•˜๋ฉด ํ•œ๊ธ€ ๋‹ต๋ณ€์— ๋Œ€ํ•˜์—ฌ ์ข€ ํ’ˆ์งˆ์ด ๋–จ์–ด์ง€๋Š” ๊ฑด ์‚ฌ์‹ค ์ธ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. 8B์—์„œ๋Š” ํ™•์‹คํžˆ ๊ทธ๋ ‡๊ตฌ์š” 70B ์‚ฌ์šฉํ•˜๋‹ˆ๊น ํ™•์‹คํžˆ ์ข‹์Šต๋‹ˆ๋‹ค!

  • @์ด๋“œ๋‹ˆ
    @์ด๋“œ๋‹ˆ 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ์•ˆ๋…•ํ•˜์„ธ์š”. ํ•ญ์ƒ ์ž๋ฃŒ ๊ฐ์‚ฌํžˆ ๋ณด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค!
    ๋•๋ถ„์— LLM ๋„ ์†์‰ฝ๊ฒŒ ํ˜ธ์ŠคํŒ…์ด ๊ฐ€๋Šฅํ•˜๋‹ค๋Š”๊ฑธ ์•Œ๊ฒŒ ๋˜์—ˆ๋Š”๋ฐ์š”.
    ํ˜น์‹œ ์ž„๋ฒ ๋”ฉ ๋ชจ๋ธ๋„ ollama - langserve ์กฐํ•ฉ์œผ๋กœ remote ๊ฐ€ ๊ฐ€๋Šฅํ• ๊นŒ์š”?
    ๊ฐ€๋Šฅํ•˜๋‹ค๋ฉด ํ•œ๊ตญ์–ด๊ฐ€ ์ž˜๋˜๋Š” ์ž„๋ฒ ๋”ฉ ๋ชจ๋ธ๋กœ
    ์˜ˆ์‹œ) db = Chroma(..., embedding_function=RemoteEmbedding("์ฃผ์†Œ/embedding/", ...)

    • @teddynote
      @teddynote  8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ๊ฐ€๋Šฅํ•ด์š”.
      ์•„๋ž˜์˜ ์ฝ”๋“œ๋ฅผ ์ฐธ๊ณ  ํ•ด ์ฃผ์„ธ์š”
      from langchain_core.runnables import RunnableLambda
      embedder = HuggingFaceEmbeddings(...)
      runnable_embedder = RunnableLambda(afunc=embedder.aembed_documents)
      add_routes(app, runnable_embedder)
      ๊นƒํ—™ ์ด์Šˆ์— ์˜ฌ๋ผ์˜จ ๋‚ด์šฉ๋„ ๊ฐ™์ด ์ฐธ๊ณ ํ•˜์‹œ๋ฉด ์ข‹์•„์š”
      github.com/langchain-ai/langserve/discussions/383

    • @์ด๋“œ๋‹ˆ
      @์ด๋“œ๋‹ˆ 8 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

      ์ •๋ง ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹คใ… 
      ์ œํ•œ๋œ ํ™˜๊ฒฝ์ด๋ผ api ๋ฐฉ์‹ ๋ฐ–์— ์‚ฌ์šฉ ๋ชปํ–ˆ๋Š”๋ฐ ๋•๋ถ„์— ์—ฌ๋Ÿฌ๊ฐ€์ง€ ๋กœ์ปฌ๋ชจ๋ธ๋„ ์‹œ๋„ํ•ด๋ณผ์ˆ˜ ์žˆ๊ฒ ๋„ค์š”!!๐Ÿ˜Š

  • @hyungsungshim5714
    @hyungsungshim5714 9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ +1

    ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!!

    • @teddynote
      @teddynote  9 ะผั–ััั†ั–ะฒ ั‚ะพะผัƒ

      ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค~๐Ÿ™