7° Sessione - L’intelligenza artificiale a supporto della ricerca, servizi di deep learning e...
-
Upload
juergen-ambrosi -
Category
Education
-
view
129 -
download
1
Transcript of 7° Sessione - L’intelligenza artificiale a supporto della ricerca, servizi di deep learning e...
CNTK (Computational Network Toolkit ) e le nuove Azure N-Series VMs (GPU)
NC6 NC12 NC24 NC24r
Cores 6 12 24 24
GPU 1 x K80 GPU 2 x K80 GPUs 4 x K80 GPUs 4 x K80 GPUs
Memory 56 GB 112 GB 224 GB 224 GB
Disk 380 GB SSD 680 GB SSD 1.44 TB SSD 1.44TB SSD
Network Azure Network Azure Network Azure Network InfiniBand & Azure Network
NV6 NV12 NV24
Cores 6 12 24
GPU 1 x M60 GPU 2 x M60 GPUs 4 x M60 GPUs
Memory 56 GB 112 GB 224 GB
Disk 380 GB SSD 680 GB SSD 1.44 TB SSD
Network Azure Network Azure Network Azure Network
NVIDIA GRID Yes Yes Yes
Cortana Intelligence Suite – dal dato all’azione
Action
People
Automated Systems
Apps
Web
Mobile
Bots
Intelligence
Dashboards &
Visualizations
Cortana
Information
Management
Event Hubs
Data Catalog
Data Factory
Machine Learning
and Analytics
HDInsight
(Hadoop and
Spark)
Stream Analytics
Intelligence
Data Lake
Analytics
Machine
Learning
Big Data Stores
SQL Data
Warehouse
Data Lake Store
Data Sources
Apps
Sensors and devices
Data
Power BI
Cognitive
Services
Bot
Framework
Build applications that understand people
• Faces, images, emotion recognition and video intelligence
• Spoken language processing, speaker recognition, custom speech recognition
• Natural language processing, sentiment and topics analysis, spelling errors
• Complex tasks processing, knowledge exploration, intelligent recommendations
• Bing engine capabilities for Web, Autosuggest, Image, Video and News
Intelligence
Cortana
Bot
Framework
Cognitive
Services
JSON:{"language": "en","orientation": "Up","regions": [{"boundingBox": "41,77,918,440","lines": [{"boundingBox": "41,77,723,89","words": [{"boundingBox": "41,102,225,64","text": "LIFE"},{"boundingBox": "356,89,94,62","text": "IS"},{"boundingBox": "539,77,225,64","text": "LIKE"}
. . .
"faceRectangle": {"width": 193, "height": 193, "left": 326, "top": 204}
“scores": { "anger": 5.182241e-8,
"contempt": 0.0000242813,
"disgust": 5.621025e-7,
"fear": 0.00115027453,
"happiness": 1.06114619e-8,
"neutral": 0.003540177,
"sadness": 9.30888746e-7,
"surprise": 0.9952837}
"faceRectangle": {"width": 193, "height": 193, "left": 326, "top": 204}
…
"attributes": { "age": 42, "gender": "male", "headPose": { "roll": "8.2", "yaw": "-37.8", "pitch": "0.0" }}
Your bots – wherever your users converse
Intelligence
Cortana
Bot
Framework
Cognitive
Services
• Bot Connector Service: A service to register your bot, configure channels and publish to the Bot Directory. Connect your bot(s) seamlessly to text/sms, Office 365 mail, Skype, Slack, Twitter, and more.
• Bot Builder SDK: An open source SDK hosted on GitHub. Everything you need to build great dialogs within your Node.js or C# bot
• Bot Directory: A public directory of bots registered through the Bot Connector Service. Discover, try, and add bots to conversation experiences
WHAT?
BUILD AND CONNECT INTELLIGENT BOTS TO INTERACT
WITH YOUR USERS NATURALLY WHEREVER THEY ARE —
FROM YOUR WEBSITE OR APP TO TEXT/SMS, SKYPE,
SLACK, FACEBOOK MESSENGER, OFFICE 365 MAIL,
TEAMS AND OTHER POPULAR SERVICES.
https://dev.botframework.com/
B
O
T
F
R
A
M
E
W
O
R
K
HOW?
WEBSITE REST API
+=YOUR CODE
+
COGNITIVE SERVICES
3°-PARTY RESOURCES
AZURE FUNCTIONS
HOW?
• C# OR NODE.JS (SDK)
• RICH DIALOGS
• FORM DIALOGS
• ATTACHMENTS
• SPEECH RECOGNITION (LUISS)
HOW?
public async Task<HttpResponseMessage> Post([FromBody]Activity activity)
{
ConnectorClient connector = new ConnectorClient(new Uri(activity.ServiceUrl));
Activity reply;
if (activity.Type == ActivityTypes.Message)
{
reply = activity.CreateReply("HELLO WORLD!");
}
await connector.Conversations.ReplyToActivityAsync(reply);
var response = Request.CreateResponse(HttpStatusCode.OK);
return response;
}
WHERE?
WEBSITE AZURE BOT SERVICE
DEMOFANTACALCIO BOT
FANTACALCIO BOT
SOURCE
WEBSITESEMANTIC
VIEW
HTML
PLAIN LIST
??
?
- Jürgen Ambrosi <[email protected]>
- Francesco Umiliaco <[email protected]>
- Riccardo Trubiani <[email protected]>- Gianluca Bertelli <[email protected]>
GRAZIE PER AVERCI SEGUITO
Linkshttp://www.nextbigfuture.com/2016/12/cray-and-microsoft-accelerate-deep.html
https://www.microsoft.com/cognitive-services/en-us/apis
www.botframework.com
notebooks.azure.com/library/cntkbeta2
LinksCNTK hands-on tutorial: https://youtu.be/pl-kbFJ1KzU
https://dev.botframework.com
www.luis.ai
www.botframework.com
Your Bot Framework Bot
Bot Connector Bot DirectoryBot Builder SDKsConnect your bot(s) to text/sms, Office 365 mail, Skype, Slack, Twitter, and other services.
Build great dialogs within
your Node.js- or C#-based
bot
COMING SOON - Try, use, and add published bots to the world’s top conversation experiences
• Register, connect, publish and manage your bot through the bot dashboard
• Message routing
• Automatic translation to 30+ languages
• User and state management
• Embeddable web chat control
• Debugging tools
• Open source SDK on Github
• From simple built-in prompts and command dialogs to simple to use yet sophisticated ‘FormFlow’ dialogs
• Libraries, samples and tools to make a great conversationalist
• Chat emulator
• Leverage related services available in Cognitive Services
• Public directory of bots registered and approved with Bot Framework
• Users can try your bot from the directory via the web chat control
• Users can discover and add your bot to the channels on which it is configured