Clova
user’s speech data
Speech
Recognition
user’s
speech data
Ͷ͑ Clova,
ࠓͷ৽॓ͷఱؾ?
ݱࡏͷ৽॓ͷఱؾΕ
(The weather of the present Shinjuku is sunny)
8
Slide 9
Slide 9 text
Clova
user’s speech data
Speech
Recognition
recognized
text list
user’s
speech data
Ͷ͑ Clova,
ࠓͷ৽॓ͷఱؾ?
ݱࡏͷ৽॓ͷఱؾΕ
(The weather of the present Shinjuku is sunny)
ࠓͷ৽॓ͷ
ఱؾ?
9
Slide 10
Slide 10 text
Clova
NLU / DM
recognized
text list
user’s speech data
Speech
Recognition
recognized
text list
user’s
speech data
Ͷ͑ Clova,
ࠓͷ৽॓ͷఱؾ?
ݱࡏͷ৽॓ͷఱؾΕ
(The weather of the present Shinjuku is sunny)
ࠓͷ৽॓ͷ
ఱؾ?
10
Slide 11
Slide 11 text
Clova
Key Value
Domain Weather
Intention Inform
Main Goal General
Place Shinjuku
Time Present
NLU
Result
NLU / DM
recognized
text list
user’s speech data
Speech
Recognition
recognized
text list
user’s
speech data
Ͷ͑ Clova,
ࠓͷ৽॓ͷఱؾ?
ݱࡏͷ৽॓ͷఱؾΕ
(The weather of the present Shinjuku is sunny)
ࠓͷ৽॓ͷ
ఱؾ?
11
Slide 12
Slide 12 text
Clova
Weather
web API
generated text
NLU
Result
NLU
Result
ࠓͷ৽॓ͷ
ఱؾ?
NLU / DM
recognized
text list
user’s speech data
Speech
Recognition
recognized
text list
user’s
speech data
Ͷ͑ Clova,
ࠓͷ৽॓ͷఱؾ?
ݱࡏͷ৽॓ͷఱؾΕ
Key Value
Domain Weather
Intention Inform
Main Goal General
Place Shinjuku
Time Present
12
Slide 13
Slide 13 text
Clova
Speech
Synthesis
generated text
Weather
web API
generated text
NLU
Result
Key Value
Domain Weather
Intention Inform
Main Goal General
Place Shinjuku
Time Present
NLU
Result
NLU / DM
recognized
text list
user’s speech data
Speech
Recognition
recognized
text list
user’s
speech data
Ͷ͑ Clova,
ࠓͷ৽॓ͷఱؾ?
ݱࡏͷ৽॓ͷఱؾΕ
ࠓͷ৽॓ͷ
ఱؾ?
13
Slide 14
Slide 14 text
Clova
Speech
Synthesis
synthesized
speech data
synthesized speech data
Weather
web API
generated text
NLU
Result
NLU
Result
NLU / DM
recognized
text list
user’s speech data
Speech
Recognition
recognized
text list
user’s
speech data
Ͷ͑ Clova,
ࠓͷ৽॓ͷఱؾ?
generated text
ࠓͷ৽॓ͷ
ఱؾ?
Key Value
Domain Weather
Intention Inform
Main Goal General
Place Shinjuku
Time Present
14
Slide 15
Slide 15 text
NLUγεςϜͷΞʔΩςΫνϟ
γεςϜؒ, εςʔΫϗϧμʔؒΛૄ݁߹ʹ͢ΔͨΊͷߏ
15
Slide 16
Slide 16 text
Clova
Key Value
Domain Weather
Intention Inform
Main Goal General
Place Shinjuku
Time Present
NLU
Result
NLU / DM
recognized
text list
ࠓͷ৽॓ͷ
ఱؾ?
16
NLUγεςϜ͕͍ͯ͠Δ͜ͱ(͓͞Β͍)
1. ൃͷจࣈྻΛड͚औΔ
2. ߏԽ͞ΕͨσʔλΛฦ͢
Slide 17
Slide 17 text
NLUγεςϜͷ༷มߋͷେม͞
Өڹൣғґଘ͕ؔෳࡶʹͳΓ͍͢
• ʮແݶύλʔϯͷൃ x ෳࡶͳcontextʯΛ
༷ʑͳDomainͰਖ਼͘͠୲͢Δඞཁ͕͋ΔͨΊ
17
ػցֶशϞσϧͷཧͷࡉ͔͍εςοϓ
• format data
• train a new model
• evaluate the model
• share the result to members
• Implement API to use model
• estimate machine resource
• set machine resource
• Implement client side
• deploy to development
environment
• set endpoint for dev API
• confirm it works expectedly
• deploy to staging environment
• set endpoint for staging API
• QA
• minor fix
• fix some training data
• train a new model
• deploy a fixed model to staging
environment
• set endpoint for staging API
• deploy to production
environment
• blue-green deployment
• set endpoint for production
API
• AB Test
• monitoring
• trouble shooting
• rollback
• … 29
Example DAG
38
ֶश → ϞσϧΛRekcurd DashboardʹΞοϓϩʔυ → sandboxڥͰ͏
→ (ฒྻͰ)ධՁ༻σʔλͷΞοϓϩʔυ → ϞσϧͷੑೳධՁ → ݁ՌΛग़ྗ
→ if ੑೳ͕ྑ͍: developmentڥͰ͏ (ಈ࡞֬ೝͷεςοϓʹਐΉͨΊ)
→ else: ϞσϧΛRekcurd Dashboard͔Βআ
Slide 39
Slide 39 text
Video
Slide 40
Slide 40 text
ػցֶशϞσϧͷཧͷࡉ͔͍εςοϓ
• format data
• train a new model
• evaluate the model
• share the result to members
• Implement API to use model
• estimate machine resource
• set machine resource
• Implement client side
• deploy to development
environment
• set endpoint for dev API
• confirm it works expectedly
• deploy to staging environment
• set endpoint for staging API
• QA
• minor fix
• fix some training data
• train a new model
• deploy a fixed model to staging
environment
• set endpoint for staging API
• deploy to production
environment
• blue-green deployment
• set endpoint for production
API
• AB Test
• monitoring
• trouble shooting
• rollback
• … 40
Slide 41
Slide 41 text
ػցֶशϞσϧͷཧͷࡉ͔͍εςοϓ
• format data
• train a new model
• evaluate the model
• share the result to members
• Implement API to use model
• estimate machine resource
• set machine resource
• Implement client side
• deploy to development
environment
• set endpoint for dev API
• confirm it works expectedly
• deploy to staging environment
• set endpoint for staging API
• QA
• minor fix
• fix some training data
• train a new model
• deploy a fixed model to staging
environment
• set endpoint for staging API
• deploy to production
environment
• blue-green deployment
• set endpoint for production
API
• AB Test
• monitoring
• trouble shooting
• rollback
• … 41
ɹɹɹɹ: AirflowͱRekcurdͰ
ࣗಈԽ, ؆қԽ
Ͱ͖ͨ෦