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
0
160
Demoの作り方_研究会チュートリアル
ShitoRyo
July 13, 2022
Tweet
Share
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
11
Tutorial of Coding Environment for Research by Docker
lexusd
0
25
Computational Approaches for Diachronic Semantic Change Detection_2024_8
lexusd
0
45
論文紹介_Learning Dynamic Contextualised Word Embeddings via Template-based Temporal Adptation
lexusd
0
130
論文紹介_Are Embedded Potatoes Still Vegetables_ On the Limitation of WordNet Embeddings for Lexical Semantics
lexusd
0
140
論文紹介_Interpretable Word Sense Representations via Definition Generation_ The Case of Semantic Change Analysis
lexusd
0
110
論文紹介_Twitter Topic Classification
lexusd
0
100
論文紹介_What is Done is Done_ an Incremental Approach to Semantic Shift Detection
lexusd
0
110
論文紹介_Ruddit_Norms of Offensiveness for English Readdit Comments
lexusd
0
55
Other Decks in How-to & DIY
See All in How-to & DIY
多摩ニュータウンを、 味わう
aokiplayer
PRO
0
330
活動振り返りと生成AIによるコード生成の試み
covao
0
140
JAWS-UG 山梨 第10回 勉強会 Community Update
awsjcpm
0
770
Azure PortalのQoLを上げてたら Big Techに怒られた
horihiro
2
560
ModuleLLM、最前線!
anoken
1
310
キャリア科目では教えてくれない、就活を生き抜く法則
logica0419
2
250
JAWS-UG と AWS - JAWS-UG 沖縄 Cloud on the Beach 2025
awsjcpm
0
140
2025年03月02日 メイカーズながおかまつり での講演 「コミュニティベースでの製品開発ものづくりフェアの役割」
takasumasakazu
0
310
おっきなガジェットの回線事情
2bo
1
190
家具家電付アパートの自室の冷蔵庫をスマートIoT化してみた!
scbc1167
0
170
あなたは何故コミュニティに参加するのか?
awsjcpm
2
290
JAWS-UG/AWSコミュニティ JAWS-UG おおいた
awsjcpm
2
2.9k
Featured
See All Featured
Marketing to machines
jonoalderson
1
5k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Chasing Engaging Ingredients in Design
codingconduct
0
130
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
120
Color Theory Basics | Prateek | Gurzu
gurzu
0
220
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
230
Side Projects
sachag
455
43k
Building the Perfect Custom Keyboard
takai
2
700
The agentic SEO stack - context over prompts
schlessera
0
670
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
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にリンク