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
Demoの作り方_研究会チュートリアル
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ShitoRyo
July 13, 2022
How-to & DIY
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Demoの作り方_研究会チュートリアル
ShitoRyo
July 13, 2022
More Decks by ShitoRyo
See All by ShitoRyo
論文紹介_LSC-Eval: A General Framework to Evaluate Methods for Assessing Dimensions of Lexical Semantic Change Using LLM-Generated Synthetic Data
lexusd
0
43
Tutorial of Coding Environment for Research by Docker
lexusd
0
63
Computational Approaches for Diachronic Semantic Change Detection_2024_8
lexusd
0
69
論文紹介_Learning Dynamic Contextualised Word Embeddings via Template-based Temporal Adptation
lexusd
0
160
論文紹介_Are Embedded Potatoes Still Vegetables_ On the Limitation of WordNet Embeddings for Lexical Semantics
lexusd
0
180
論文紹介_Interpretable Word Sense Representations via Definition Generation_ The Case of Semantic Change Analysis
lexusd
0
150
論文紹介_Twitter Topic Classification
lexusd
0
120
論文紹介_What is Done is Done_ an Incremental Approach to Semantic Shift Detection
lexusd
0
140
論文紹介_Ruddit_Norms of Offensiveness for English Readdit Comments
lexusd
0
83
Other Decks in How-to & DIY
See All in How-to & DIY
OSSコミュニティがくれた「人との繋がり」
tanahiro2010
2
470
2025版 鯖落ちパーツで安価に機械学習用マシンを作ってみる
bobfromjapan
0
1.1k
JAWS-UG/AWSコミュニティ アップデート (JAWS-UG函館支部)
awsjcpm
3
200
終わりのない会議を超えて:HolacracyのTactical Meetingを体験しよう!
andrearc
0
510
What $10 Fake AirPods and a $30 Chip Decap Reveal About China's Semiconductors
takasumasakazu
0
160
EjecTea 2026 / 20260228-osc26tk-ejectea
akkiesoft
0
1.1k
LT#9 非線形な物理現象に基づく真性乱数生成器の構築と、暗号学的エントロピー密度の定量的評価について
sakopon
0
150
JAWS/AWS Community Updates - JAWS-UG新潟 #29
awsjcpm
1
180
10分de名コミュ “最高の自分”を演じ憧れの同業者と渡り合う
subroh0508
1
690
5年間ぐらい、 スプリントレトロスペクティブは、 「+/Δ」しかしてないので、 あらためて良いのか悪いか考えてみる / Doing Plus Delta for about five years
camel_404
1
510
エッジで動くNode-REDを作る実験 #noderedjp #noderedcon
n0bisuke2
0
680
QGIS in Your Language
salamanderezo
1
250
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
55
13k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
310
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Music & Morning Musume
bryan
48
7.4k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Are puppies a ranking factor?
jonoalderson
2
4.1k
So, you think you're a good person
axbom
PRO
2
2.2k
Balancing Empowerment & Direction
lara
6
1.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
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にリンク