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
Demoの作り方_研究会チュートリアル
Search
Lexuss-D
July 13, 2022
How-to & DIY
0
110
Demoの作り方_研究会チュートリアル
Lexuss-D
July 13, 2022
Tweet
Share
More Decks by Lexuss-D
See All by Lexuss-D
Computational Approaches for Diachronic Semantic Change Detection_2024_8
lexusd
0
23
論文紹介_Learning Dynamic Contextualised Word Embeddings via Template-based Temporal Adptation
lexusd
0
97
論文紹介_Are Embedded Potatoes Still Vegetables_ On the Limitation of WordNet Embeddings for Lexical Semantics
lexusd
0
110
論文紹介_Interpretable Word Sense Representations via Definition Generation_ The Case of Semantic Change Analysis
lexusd
0
93
論文紹介_Twitter Topic Classification
lexusd
0
84
論文紹介_What is Done is Done_ an Incremental Approach to Semantic Shift Detection
lexusd
0
98
論文紹介_Ruddit_Norms of Offensiveness for English Readdit Comments
lexusd
0
34
論文紹介_I Beg to Differ A study of constructive disagreement in online conversations
lexusd
0
40
論文紹介_Distinguishing Japanese Non-standard Usages from Standard Ones
lexusd
0
41
Other Decks in How-to & DIY
See All in How-to & DIY
【技術カンファレンス運営の裏側】Iwaken Lab 技術好き学生の近況報告 & ことみんさんに技術カンファレンス運営の裏側を聞いちゃう会
kotomin_m
5
1.5k
「AITRIOS」でトカゲの活動量を可視化
hoshinoresearch
0
350
とある航空会社の飛行機の乗り方をお教えします。/20240913-lt
kwada
3
270
#Stampfly #M5Stack 開発ストーリーと今後の可能性 前説
takasumasakazu
0
100
JAWS-UGとAWS - JAWS-UG彩の国埼玉設立のお祝い
awsjcpm
2
350
「無理」を「コントロール」するスキル / Skills to Control "Muri"
hageyahhoo
5
1.3k
JAWS-UGについて JAWS-UG TOHOKU [青森] 弘前開催
awsjcpm
0
160
Invitation to Okinawa.rb in 2024
yasslab
PRO
1
810
Raspberry PiではじめるKiCad入門 / 20240226-rpi-jam
akkiesoft
1
4.3k
LLMはTRPGのGMができる(確信)
kgmkm
0
440
エンジニアになって2年間で学んだこと
kaiphoenix
0
140
さらなるアウトプットに、Let's ライトニングトーク! ― LTのやり方
ma2shita
2
1.1k
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.2k
The Invisible Side of Design
smashingmag
299
50k
Build The Right Thing And Hit Your Dates
maggiecrowley
35
2.7k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Why Our Code Smells
bkeepers
PRO
336
57k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Into the Great Unknown - MozCon
thekraken
38
1.8k
Six Lessons from altMBA
skipperchong
28
3.8k
GitHub's CSS Performance
jonrohan
1031
460k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Transcript
Demoの作り方 研究会チュートリアル M1 凌 志棟 2022.7.13
Demoとは • 研究で構築したモデルはどのような挙動を示したい • 多くの人に試してもらいたい →研究成果をアプリの形式で公開 • 現在のDemoは一般的にUIがあるアプリ
どのようなDemo • クライアントアプリ ◦ ユーザ側で計算 ◦ ユーザのコンピュータ性能に引っかかる可能性はある • Web アプリ
◦ ブラウザーで開く ◦ サーバ側で計算 ◦ 環境にこだわらない →Webアプリを推奨
• イメージとしては どのようなDemo 入力 モデル 出力 HuggingFaceでBERTのMLM Demo
どう作る • Webアプリの構築 (去年李さんのチュートリアル資料 link) ◦ バックエンド ◦ データベース ◦
サーバー ◦ フロントエンド ◦ デプロイ
どう作る • Webアプリの構築 (去年李さんのチュートリアル資料 link) ◦ バックエンド → python? Javascript? Ruby?
◦ データベース → SQL?NOSQL? ◦ サーバー → AWS? Azure? Heroku? ◦ フロントエンド → jQuery? React? ◦ デプロイ → どう設定する? 0から構築するのは時間がかかる
Streamlit • PythonコードをAPPにするためのフレームワーク link ◦ Pythonだけでアプリを作れる(学習コストが低い) ◦ たくさんのグラフライブラリーに対応 ▪ グラフやチャートの表示が簡単
◦ デプロイが簡単、Github上のRepositoryをstreamlit cloudとリ ンクすればいい
例:huggingfaceのようなBERTのMLM Demo • タイトルを追加
例:huggingfaceのようなBERTのMLM Demo • モデルとTokenizerを定義 ◦ HuggingfaceのExample
例:huggingfaceのようなBERTのMLM Demo • 文を入力するためのtext areaを追加 • 入力文を変数に保存
例:huggingfaceのようなBERTのMLM Demo • ボタンを追加して、押したらモデル計算開始
例:huggingfaceのようなBERTのMLM Demo • 出力を表示
デプロイ • streamlit cloudを利用し、Githubにリンク