Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
20230322 - Generative AI 小聚 ft. Happy Designer
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
蒼時弦や
March 22, 2023
Technology
510
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20230322 - Generative AI 小聚 ft. Happy Designer
TLDR
蒼時弦や
March 22, 2023
More Decks by 蒼時弦や
See All by 蒼時弦や
2024 - COSCUP - Clean Architecture in Rails
elct9620
2
240
2023 - RubyConfTW - Rethink Rails Architecture
elct9620
0
300
20230916 - DDDTW - 導入 Domain-Driven Design 的最佳時機
elct9620
0
540
2023 - WebConf - 選擇適合你的技能組合
elct9620
0
770
2022 - 默默會 - 重新學習 MVC 的 Model
elct9620
1
540
MOPCON 2022 - 從 Domain-Driven Design 看網站開發框架隱藏
elct9620
1
550
2022 - COSCUP - 我想慢慢寫程式該怎麼辦?
elct9620
0
340
2022 - COSCUP - 打造高速 Ruby 專案開發流程
elct9620
0
380
2021 - RubyKaigi - It is time to build your mruby VM on the microcontroller?
elct9620
0
330
Other Decks in Technology
See All in Technology
Running Kotlin + Quarkus with Lambda
nealle
1
4.1k
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
930
導入から定着へ ~コーディングエージェントを日常業務に組み込む実践知~
yukisakai1225
0
150
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
310
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
290
LLM Content Moderationを支える評価・改善ループの実践
suikabar
1
260
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
180
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
220
Rust で関数型ドメインモデリング
takonda
0
180
Codex を使った障害対応机上演習の実際
orgachem
PRO
0
210
こんにちは!SORACOM です & IoT とは【SORACOM UG 東北 in 八戸】
soracom
PRO
0
150
dbt Semantic Layerで進めるenechainのデータ民主化
akizhou
1
170
Featured
See All Featured
A designer walks into a library…
pauljervisheath
211
25k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
570
We Have a Design System, Now What?
morganepeng
55
8.4k
WCS-LA-2024
lcolladotor
0
900
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
The Invisible Side of Design
smashingmag
301
52k
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
Transcript
除了串 API 之外工程師還能做些什麼 Generative AI Meetup ft. Happy Designer
蒼時弦也 Software Developer https://blog.aotoki.me
開始之前 生態系進化太快,都不知道該怎麼辦⋯⋯
Diffusers 簡單使用 Stable Diffusion 的方法
Hugging Face AI 領域的 GitHub,大部分開源模型都可以在上面找到
import from import = = = = = torch diffusers
StableDiffusionPipeline pipe StableDiffusionPipeline.from_pretrained( , torch.float16) pipe pipe.to( ) prompt image pipe(prompt).images[ ] # 載入模型 # 進行運算 "runwayml/stable- diffusion-v1-5" "cuda" "a photo of an astronaut riding a horse on mars" torch_dtype 0
# ... # 載入不同模型 # 多重處理 prompt image txt2image(prompt).images[ ]
image upscale(image).images[ ] image image2image(image).images[ ] = = = = "a photo of an astronaut riding a horse on mars" 0 0 0
None
http://bit.ly/3JJf16o
Replicate 目前最好用的 Serverless GPU 服務
None
from import import class def def = = = =
= return cog BasePredictor, Path, Input torch ( ): (self): (self, image: Path Input( ), scale: Input( , ) ) -> Path: output Predictor BasePredictor setup predict # 初始化、載入模型 # 處理 e.g. Stable Diffusion Pipeline description description default "Image to enlarge" "Factor to scale image by" float 1.5
$ $ cog login cog push r8.im your username your
model name /< - >/< - - >
有 GPU 的伺服器、API 都有了,剩下就是套應用
AI Gacha 使用 Diffusers、Replicate 的實驗性專案
None
http://bit.ly/3yImmgc
我的看法 能做的事情其實不多,大部分應用的成本也偏高,但是商用已經沒 有問題,剩下要處理的大概會在 跟讓更多人能 合法的版權 輕鬆上手