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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ShitoRyo
July 13, 2022
How-to & DIY
180
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
32
Tutorial of Coding Environment for Research by Docker
lexusd
0
49
Computational Approaches for Diachronic Semantic Change Detection_2024_8
lexusd
0
58
論文紹介_Learning Dynamic Contextualised Word Embeddings via Template-based Temporal Adptation
lexusd
0
150
論文紹介_Are Embedded Potatoes Still Vegetables_ On the Limitation of WordNet Embeddings for Lexical Semantics
lexusd
0
160
論文紹介_Interpretable Word Sense Representations via Definition Generation_ The Case of Semantic Change Analysis
lexusd
0
140
論文紹介_Twitter Topic Classification
lexusd
0
120
論文紹介_What is Done is Done_ an Incremental Approach to Semantic Shift Detection
lexusd
0
130
論文紹介_Ruddit_Norms of Offensiveness for English Readdit Comments
lexusd
0
75
Other Decks in How-to & DIY
See All in How-to & DIY
MustをWillに変える技術 〜アイドル・郁田はるきが"すべき"の壁を超えるまで〜
subroh0508
1
2k
ドローンをAWSで制御してみた
nagi900
0
170
JAWS-UG と AWS - JAWS-UG 沖縄 Cloud on the Beach 2025
awsjcpm
0
180
大学内にファブスペースをつくってみた #sapporo3dp / Making HIU Fab
yumulab
1
190
エッジで動くNode-REDを作る実験 #noderedjp #noderedcon
n0bisuke2
0
620
スタックチャンはカワイイの夢を見るか?
syumme01
0
140
EXPO 2025 大屋根リングをぐるっと周回! 【GPSマルチユニット×ソラカメ実験】
scbc1167
0
140
What's the difference in taste between expensive and cheap mills? Measuring coffee particle size distribution using ImageJ
dogrunjp
0
860
JAWS-UG鹿児島2.0 reboot - JAWS-UG/AWS Communitiesのご紹介
awsjcpm
0
120
JAWS-UG/AWSコミュニティプログラムのご紹介 (JAWS-UG広島)
awsjcpm
1
160
「変えること」「変わること」を楽しむ力で"敵わない存在"と向き合う
subroh0508
2
1.7k
なぜJAWS-UGはこんなにも活発なのか?
awsjcpm
1
250
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
350
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Designing Powerful Visuals for Engaging Learning
tmiket
1
460
Google's AI Overviews - The New Search
badams
0
1.1k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
250
The Cult of Friendly URLs
andyhume
79
7k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
67
56k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
How to train your dragon (web standard)
notwaldorf
97
6.7k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.1k
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にリンク