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
36
Tutorial of Coding Environment for Research by Docker
lexusd
0
51
Computational Approaches for Diachronic Semantic Change Detection_2024_8
lexusd
0
61
論文紹介_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
170
論文紹介_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
76
Other Decks in How-to & DIY
See All in How-to & DIY
AWS Community Builders Update - JAWS-UG Tokyo and Sainokuni
awsjcpm
3
300
ときメモは 運営が30年かけて “実プレイ”していた
mzryuka
0
120
OSSコミュニティがくれた「人との繋がり」
tanahiro2010
2
390
JAWS-UG/AWSコミュニティ JAWS-UG おおいた
awsjcpm
2
3.1k
251011「ひとりより、みんなで!」 九州の支部で始めた、新しい連携のかたち
east_takumi
2
180
大量のiOSシミュレータにアプリをインストールする
gurrium
0
160
大学内にファブスペースをつくってみた #sapporo3dp / Making HIU Fab
yumulab
1
200
チームパフォーマンスを高めるための2種類のセルフマネジメント / Two Types of Self-Management for Improving Team Performance
iwashi86
4
920
私がカンファレンスのプロポーザルを書くときに考えていること
kotomin_m
1
780
なぜJAWS-UGはこんなにも活発なのか?
awsjcpm
1
260
Azure PortalのQoLを上げてたら Big Techに怒られた
horihiro
2
620
What's the difference in taste between expensive and cheap mills? Measuring coffee particle size distribution using ImageJ
dogrunjp
0
870
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
55
8.3k
Building Applications with DynamoDB
mza
96
7.2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
370
The Language of Interfaces
destraynor
162
27k
Technical Leadership for Architectural Decision Making
baasie
3
490
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Site-Speed That Sticks
csswizardry
13
1.4k
Designing for Performance
lara
611
70k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
The Limits of Empathy - UXLibs8
cassininazir
1
610
Un-Boring Meetings
codingconduct
0
390
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にリンク