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
20250227_OneThing_LT会
Search
はやて
March 05, 2025
22
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20250227_OneThing_LT会
はやて
March 05, 2025
More Decks by はやて
See All by はやて
20250711_OneThing_LT会
nowex35
0
10
自己紹介
nowex35
1
200
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
2
870
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
630
What's in a price? How to price your products and services
michaelherold
247
13k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2k
Abbi's Birthday
coloredviolet
4
10k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
600
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The Invisible Side of Design
smashingmag
301
52k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Everyday Curiosity
cassininazir
0
350
Transcript
DeepSeekをローカルで使ってみた 2025/02/27 OneThingLT会 筑波大学OneThing Hayate Aizawa(@nowex35)
自己紹介
名前:相澤 颯(@nowex35) 所属: 筑波大学情報学群情報科学類2年 興味があること: ・統計、機械学習関連 ・システムソフトウェア領域 (もっと勉強したい) 趣味: ・バスケットボール観戦
・知識を得ること? {Github,X,IG,note,Qiita}
今回の話題
ローカル環境で DeepSeekを動かしたい!! 個人開発のテスト用途で 従量課金APIにお金 払いたくないな~
どうやってローカルで AI を動かすの?
→Pythonのライブラリでモデルを 読み込んで実行するだけ!! (※強めのPCが必要です)
ゲームシストオフィスの強めのPC RTX A6000 VRAM 48GB
処理の流れ 1.transformerでモデルを読み込む (今回はサーバーエージェントが日本語で追加学習した DeepSeek-R1-Distill-Qwen-14Bを利用) 2.テキストをトークナイズして推論によるテキスト生成 (この時点で出力する機能は含まれてます) 3.FastAPIで実行して、API化する (インターフェースを調整して、他のアプリから POSTリクエストでAPIを叩けるようにします)
実装例
実行
結論
結論 皆さんも是非DeepSeekを使って ローカルのAI APIを作ってみてください! 興味があれば 詳しく話します!