Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
개발자를 위한_Large Language Model(LLM) _ 한성민 [Hello ...
Search
Sungmin Han
July 19, 2023
Technology
99
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
개발자를 위한_Large Language Model(LLM) _ 한성민 [Hello World]
Sungmin Han
July 19, 2023
More Decks by Sungmin Han
See All by Sungmin Han
Gemma for Your Device - IO Extended Inchoen 2025
kennethanceyer
0
59
BigQuery powered by Vertex AI Gemini - 데이터야놀자 2024
kennethanceyer
0
150
Is Go A Good Language to Build Compilers?
kennethanceyer
0
210
CPython 인터프리터 구조 파헤치기 - PyCon Korea 24
kennethanceyer
0
400
개발자 커뮤니티와 함께 성장하기 - DevFest Songdo 2023
kennethanceyer
0
130
DataKorea-Python_Data_생태계_오늘과_내일
kennethanceyer
0
170
Python의 최적화 그리고 C 바인딩 이야기 _ 한성민 [PyCon Korea 2021]
kennethanceyer
0
230
프론트엔드 모던 프레임워크 _ 한성민 [GDG DevFest Seoul 2017]
kennethanceyer
0
140
AI 연구자를 위한 클린코드 _ 한성민 [GDG Devfest Seoul 2019]
kennethanceyer
0
180
Other Decks in Technology
See All in Technology
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
19k
2026-08-15 JAWS-UG 茨城 #16 Secrets ManagerにおけるSecret値の管理(Terraformの場合) / Secrets Manager Secrets
masasuzu
0
340
SO-101×VLAによる3色キューブのピック&プレース
abeja
0
220
AIのためのEthernet技術動向 (SerDes)
markunet
1
230
SmartHR Engineering Team Deck
smarthr
1
3k
AI・HPC開発を支えるGPU環境の新しい選択肢 液冷GPUシステム「AquSys」の取り組み
gpuunite_official
0
130
Kiro入門|仕様駆動開発で変わるAI時代の開発スタイル
cmkudo
0
200
LanceDB入門
mocobeta
9
620
Master Dataグループ紹介資料
sansan33
PRO
1
4.8k
なぜ Temporal の大小比較には compare しかないのか / Why Does Temporal Only Have compare() for Comparisons
kazukihayase
1
180
AI時代に、人は何を、どう学ぶのか #pbl_pub / What and How Do We Learn in the AI Era?
takaking22
1
130
小粒でもパワフルなJS Runtime Antjsについて
comamoca
0
110
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
470
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
460
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
210
Deep Space Network (abreviated)
tonyrice
0
260
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
Designing for Timeless Needs
cassininazir
1
450
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
350
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
sira's awesome portfolio website redesign presentation
elsirapls
0
330
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
580
Transcript
Large Language Model(LLM) SungMin Han GDE for ML | GDG
Golang Korea
Speaker (SungMin Han) - MLOps Lead at Riiid - GDE
for ML - GDG Golang Korea Organizer - Python Mentor at F-Lab - Former) Research Engineer at Naver Clova - Former) Software Engineer at 심심이
Agenda • Generative AI • Large Language Model(LLM) • ChatGPT
(and GPT 4) • Instruct GPT • GPT in Go • Appendix
Generative AI
Keywords GPT 4 GPT 3.5 ChatGPT LLaMA Stanford Alpaca T5
Google Bard Megatron-TLG Stable Diffusion MidJourney BingChat DALL·E 2 Microsoft 365 Copilot LaMDA BLOOM
Keywords in 2023 GPT 4 GPT 3.5 ChatGPT LLaMA Stanford
Alpaca T5 Google Bard Megatron-TLG Stable Diffusion MidJourney BingChat DALL·E 2 Microsoft 365 Copilot LaMDA BLOOM
Image Midjourney, NovelAI, Stable Diffusion…
Audio Riffusion MurfAI
Text Google Bard OpenAI ChatGPT
Landscapes https://www.antler.co/blog/generative-ai
Large Language Model (LLM)
(2020) https://www.microsoft.com/en-us/research/blog/turing-nlg-a-17-billion-parameter-language-model-by-microsoft/
2022 https://huggingface.co/blog/large-language-models
ChatGPT
Reinforcement Learning with Human Feedback (RLHF) https://github.com/Hannibal046/Awesome-LLM/blob/main/resources/creepy_llm.jpeg
Intruct GPT (GPT 3.5) ChatGPT (GPT 3.5 turbo) https://matt-rickard.com/gpt-lineage https://lifearchitect.ai/
Instruct GPT: 3 Step Training Method https://openai.com/blog/chatgpt *PPO => Proximal
Policy Optimization Algorithm in the field of Reinforcement Learning
None
None
CTO
None
Manim
Mermaid
Do Anything Now (DAN): ChatGPT
Do Anything Now (DAN): Jailbreak
Prompt Base Awesome ChatGPT Prompt
GPT4: Multi-modal (Image)
LLM 복잡한 문제
한계: 할루시네이션1
None
: regurgitation engine
Instruct GPT
None
LeetCode
None
None
GPT in Go
None
package main import ( "fmt" gpt35 "github.com/AlmazDelDiablo/gpt3-5-turbo-go" ) func main()
{ api_key := "<REDACTED>" instruct := ` 내가 앞으로 음식 재료들을 입력하면, 너가 입력된 재료들을 조합한 음식 키워드를 하나 뽑아줘. 줄 넘김은 하면 안돼 ! 예시 1: INPUT: 시금치, 고추장, 계란, 밥, 콩나물, 고사리 OUTPUT: 비빔밥 예시 2: INPUT: 면, 라면스프, 물 OUTPUT: 라면 시작해볼까?` c := gpt35.NewClient(api_key) fmt.Println("음식 재료를 입력하세요 (쉼표로 구분):") var ingredients string fmt.Scanln(&ingredients)
req := &gpt35.Request{ Model: gpt35.ModelGpt35Turbo, Messages: []*gpt35.Message{ { Role: gpt35.RoleUser,
Content: instruct, }, { Role: gpt35.RoleSystem, Content: "네, 시작해봅시다! 어떤 재료를 사용하실 건가요?", }, { Role: gpt35.RoleUser, Content: ingredients, }, }, } resp, err := c.GetChat(req) if err != nil { panic(err) } fmt.Println("추천 음식:", resp.Choices[0].Message.Content) }
$ go run main.go 음식 재료를 입력하세요 (쉼표로 구분): 시금치,고추장,
나물 추천 음식: 추천하는 음식 키워드는 된장찌개입니다! $ go run main.go 음식 재료를 입력하세요 (쉼표로 구분): 옥수수, 고춧가루, 소금 추천 음식: 옥수수, 고춧가루, 소금으로 만드는 음식은 '옥수수전'입니다. 즐거운 조리되 세요!
Appendix
Appendix: Stanford Alpaca LLaMA GPT 3.5(text-davinci-003) 7B LLM.
None