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
100
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
8
論文紹介_Learning Dynamic Contextualised Word Embeddings via Template-based Temporal Adptation
lexusd
0
90
論文紹介_Are Embedded Potatoes Still Vegetables_ On the Limitation of WordNet Embeddings for Lexical Semantics
lexusd
0
89
論文紹介_Interpretable Word Sense Representations via Definition Generation_ The Case of Semantic Change Analysis
lexusd
0
88
論文紹介_Twitter Topic Classification
lexusd
0
78
論文紹介_What is Done is Done_ an Incremental Approach to Semantic Shift Detection
lexusd
0
93
論文紹介_Ruddit_Norms of Offensiveness for English Readdit Comments
lexusd
0
30
論文紹介_I Beg to Differ A study of constructive disagreement in online conversations
lexusd
0
32
論文紹介_Distinguishing Japanese Non-standard Usages from Standard Ones
lexusd
0
35
Other Decks in How-to & DIY
See All in How-to & DIY
Earthquake and Kominka
ramtop
0
160
「RubyでLチカ」に挑戦してみた
isaka1022
0
160
GPT-4oに遅刻理由を考えてもらうボタン #gpt_4o #iotlt #chatgpt
n0bisuke2
0
300
骨折と入院とIoT #iotlt
n0bisuke2
1
260
How to get hundreds of organic backlinks through statistics link building
ronishehu
1
210
グローバルAWSユーザー コミュニティとJAWS-UG - JAWS FESTA 2024 in Hiroshima
awsjcpm
0
4.4k
Why did my proposals get rejected?
okuramasafumi
1
540
Notionでの快適メモ術
ayumu11
0
1.1k
CH32Vシリーズを楽しもう(74thの場合) / enjoy ch32v series
74th
1
630
Terra Charge|普通充電器ご利用ガイドブック / Terra Charge Ordinary Charger Guidebook
contents
1
190
JAWS-UGから学んだコミュニティの成功要因 (Success Factors)
awsjcpm
4
400
音に負けない!子どもが騒いでいる脇でも快適オンラインMTGの秘伝
kaitou
0
340
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
34
3.1k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
4 Signs Your Business is Dying
shpigford
182
22k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
Speed Design
sergeychernyshev
27
790
Practical Orchestrator
shlominoach
186
10k
Bash Introduction
62gerente
611
210k
Optimizing for Happiness
mojombo
376
70k
Facilitating Awesome Meetings
lara
52
6.2k
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にリンク