SlideShare a Scribd company logo
1 of 19
Download to read offline
MCQ Generation in edtech using
Natural Language Processing
Thu, May 20th, 2021
10 PM - 11:30 PM (India)
6:30 PM - 8:00 PM (Italy)
Hosted by: Data Science Milan
Talk by
Ramsri Goutham
ramsri.ai
Colab Code and slides:
http://bit.ly/datasciencemilan
Who am I ?
Lead Data Scientist with 8+ years of work
experience across Silicon Valley, Singapore,
and India.
Most recently been a Co-founder and CTO
of an AI-assisted assessments startup.
Spent the last 2 years on question
generation using Natural Language
processing in edtech.
Ramsri Goutham Golla
ramsri.ai
https://github.com/ramsrigouthamg/Questgen.ai
Open Source library for question generation
Questgen
Instrutor
Assessment creation (Quizzes and Tests) is manual and not
scalable for online transformation due to the pandemic.
The problem
A textbook publisher hired you as a data scientist to create a
tool that automates the assessment creation process .
Instrutor
Elon Musk has shown again he can influence
the digital currency market with just his
tweets.
After saying that his electric vehicle-making
company Tesla will not accept payments in
Bitcoin because of environmental concerns,
he tweeted that he was working with
developers of Dogecoin to improve system
transaction efficiency.
Following the two distinct statements from
him, the world's largest cryptocurrency hit
a two-month low, while Dogecoin rallied by
about 20 percent.
The solution
News Article
Elon Musk and Dogecoin
Multiple Choice Questions (MCQs)
Fill in the Blanks
True or False Questions
Match the following
1
3
2
4
Let's get
started!
Are you ready?
Instrutor
Talk Outline
Text2MCQ generation using T5 transformers and sense2vec vectors
Use ONNX quantization to create a light-weight model of T5
1
2
We will use Google Colab notebooks as the development environment for our demos
Elon Musk has shown again he can influence the digital currency market with just his
tweets. After saying that his electric vehicle-making company Tesla will not accept
payments in Bitcoin because of environmental concerns, he tweeted that he was working
with developers of Dogecoin to improve system transaction efficiency.
Following the two distinct statements from him, the world's largest cryptocurrency hit a
two-month low, while Dogecoin rallied by about 20 percent. The SpaceX CEO has in recent
months often tweeted in support of Dogecoin, but rarely for Bitcoin. In a recent tweet,
Musk put out a statement from Tesla that it was “concerned” about the rapidly increasing
use of fossil fuels for Bitcoin mining and transaction, and hence was suspending vehicle
purchases using the cryptocurrency.
A day later he again tweeted saying, “To be clear, I strongly believe in crypto, but it can't
drive a massive increase in fossil fuel use, especially coal”. It triggered a downward spiral
for Bitcoin value but the cryptocurrency has stabilized since.
Instrutor News Article
Elon Musk and Dogecoin
Step 1 : Identify key Sentences/Concepts
Musk tweeted that his electric vehicle-making company tesla will not accept payments in
bitcoin because of environmental concerns. He also said that the company was working
with developers of dogecoin to improve system transaction efficiency.
The world's largest cryptocurrency hit a two-month low, while dogecoin rallied by about
20 percent. Musk has in recent months often tweeted in support of crypto, but rarely for
bitcoin.
Instrutor News Article
Elon Musk and Dogecoin
Step 2 : Identify keywords from sentences
Musk Tesla
Bitcoin Dogecoin
Extract Keywords
Musk tweeted that his electric vehicle-making company tesla will not accept payments in
bitcoin because of environmental concerns. He also said that the company was working
with developers of dogecoin to improve system transaction efficiency.
The world's largest cryptocurrency hit a two-month low, while dogecoin rallied by about
20 percent. Musk has in recent months often tweeted in support of crypto, but rarely for
bitcoin.
Instrutor Elon Musk and Dogecoin
Step 3: Form multiple-choice questions (MCQs)
Bitcoin
What cryptocurrency did Musk
rarely tweet about?
What company did Musk say would
not accept bitcoin payments?
Dogecoin
ETH
Litecoin
Tesla
Nissan
Ford
Toyota
Instrutor
Elon Musk has shown again he can influence
the digital currency market with just his
tweets.
After saying that his electric vehicle-making
company Tesla will not accept payments in
Bitcoin because of environmental concerns,
he tweeted that he was working with
developers of Dogecoin to improve system
transaction efficiency.
Following the two distinct statements from
him, the world's largest cryptocurrency hit
a two-month low, while Dogecoin rallied by
about 20 percent.
Abstractive/Extractive summarization (T5,
BART, Pegasus Models)
Paraphrasing of sentences (T5, GPT-2 etc)
Keyword/Keyphrase Extraction (YAKE,
TopicRank, KeyBERT etc)
Question generation (T5, GPT-2, GPT-3 etc)
Wrong choices/distractors generation
(Wordnet, Word2vec, Sense2vec etc)
Posing it as an NLP problem
News Article
Elon Musk and Dogecoin
Context: Answer:
Question
Generate a question using T5 Transformer model
Musk tweeted that his electric
vehicle-making company Tesla
will not accept payments in
bitcoin because of environmental
concerns.
Tesla
What company did Musk say would not accept
bitcoin payments?
T5
Text to text transfer
transformer
https://rajpurkar.github.io/SQuAD-explorer/
Squad dataset used for training
Instrutor
Extract Keywords
Extract Keyphrases using
Python Keyword Extraction Library
Bitcoin, Dogecoin, Tesla, Cryptocurrency
https://github.com/boudinfl/pke
MultipartiteRank
Elon Musk has shown again he can influence
the digital currency market with just his
tweets.
After saying that his electric vehicle-making
company Tesla will not accept payments in
Bitcoin because of environmental concerns,
he tweeted that he was working with
developers of Dogecoin to improve system
transaction efficiency.
Following the two distinct statements from
him, the world's largest cryptocurrency hit
a two-month low, while Dogecoin rallied by
about 20 percent.
News Article
Elon Musk and Dogecoin
WordNet® captures relations.
A hyponym is in a type-of relationship
with its hypernym.
A hypernym is an umbrella term and
blanket term. Eg: Color is the hypernym
for Purple.
Red, Blue, Green are the hyponyms of
"Color". Since Red is a type of color.
Our goal is to extract Co-Hyponyms as
distractors.
https://wordnet.princeton.edu/
Generate distractors using Wordnet
Source: https://en.wikipedia.org/wiki/Hyponymy_and_hypernymy
Contextual information is captured. Trained on
Reddit comments.
The words with the same senses are differentiated
with parts of speech eg: duck|VERB and
duck|NOUN
Noun phrases and named entities are annotated
during training so multiword phrases like "natural
language processing" also have an entry.
Generate distractors using Sense2vec
Source: https://explosion.ai/demos/sense2vec
https://explosion.ai/blog/sense2vec-reloaded
Musk tweeted that his
electric vehicle-making
company tesla will not
accept payments in
bitcoin because of
environmental
concerns.
Extract Keywords
Bitcoin
T5 Text to Text
Transformer model
trained on SQUAD
dataset
Dogecoin
Tesla
Overview: Generate MCQs from any content.
Paragraph Keywords
Question
Generation
Transformer Model
What company did Musk say would
not accept bitcoin payments??
Generated Question
Nissan
a
Tesla
b
Toyota
c
Ford
d
Pick a keyword
eg: Tesla
Text2MCQ
Google Colab Coding Session
Colab Code and slides:
http://bit.ly/datasciencemilan
Udemy Course: Question generation using
Natural Language Processing (bit.ly/questiongeneration)
Connect with me
on Social Media:
ramsri.ai
Email:
ramsri@questgen.ai
Coupon Code: DSMILAN

More Related Content

What's hot

Awt, Swing, Layout managers
Awt, Swing, Layout managersAwt, Swing, Layout managers
Awt, Swing, Layout managersswapnac12
 
Dynamic and Static Modeling
Dynamic and Static ModelingDynamic and Static Modeling
Dynamic and Static ModelingSaurabh Kumar
 
DDA (digital differential analyzer)
DDA (digital differential analyzer)DDA (digital differential analyzer)
DDA (digital differential analyzer)Inamul Hossain Imran
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationmewaseem
 
Computer Graphics 471 Project Report Final
Computer Graphics 471 Project Report FinalComputer Graphics 471 Project Report Final
Computer Graphics 471 Project Report FinalAli Ahmed
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modelingShahid Riaz
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramAshesh R
 
Directed Acyclic Graph Representation of basic blocks
Directed Acyclic Graph Representation of basic blocksDirected Acyclic Graph Representation of basic blocks
Directed Acyclic Graph Representation of basic blocksMohammad Vaseem Akaram
 
COMPUTER GRAPHICS PROJECT REPORT
COMPUTER GRAPHICS PROJECT REPORTCOMPUTER GRAPHICS PROJECT REPORT
COMPUTER GRAPHICS PROJECT REPORTvineet raj
 
anatomy of a jsp page & jsp syntax.pptx
anatomy of a jsp page & jsp syntax.pptxanatomy of a jsp page & jsp syntax.pptx
anatomy of a jsp page & jsp syntax.pptxSameenafathima4
 
Bezier Curve in Computer Graphics.docx
Bezier Curve in Computer Graphics.docxBezier Curve in Computer Graphics.docx
Bezier Curve in Computer Graphics.docxbcanawakadalcollege
 
Difference between cts and cls
Difference between cts and clsDifference between cts and cls
Difference between cts and clsUmar Ali
 

What's hot (20)

Servlet life cycle
Servlet life cycleServlet life cycle
Servlet life cycle
 
Awt, Swing, Layout managers
Awt, Swing, Layout managersAwt, Swing, Layout managers
Awt, Swing, Layout managers
 
Dynamic and Static Modeling
Dynamic and Static ModelingDynamic and Static Modeling
Dynamic and Static Modeling
 
DDA (digital differential analyzer)
DDA (digital differential analyzer)DDA (digital differential analyzer)
DDA (digital differential analyzer)
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Direct linking loaders
Direct linking loadersDirect linking loaders
Direct linking loaders
 
Behavioural modelling
Behavioural modellingBehavioural modelling
Behavioural modelling
 
Sequence Diagram
Sequence DiagramSequence Diagram
Sequence Diagram
 
Computer Graphics 471 Project Report Final
Computer Graphics 471 Project Report FinalComputer Graphics 471 Project Report Final
Computer Graphics 471 Project Report Final
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modeling
 
Active x control
Active x controlActive x control
Active x control
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Directed Acyclic Graph Representation of basic blocks
Directed Acyclic Graph Representation of basic blocksDirected Acyclic Graph Representation of basic blocks
Directed Acyclic Graph Representation of basic blocks
 
Frame buffer
Frame bufferFrame buffer
Frame buffer
 
Shading methods
Shading methodsShading methods
Shading methods
 
COMPUTER GRAPHICS PROJECT REPORT
COMPUTER GRAPHICS PROJECT REPORTCOMPUTER GRAPHICS PROJECT REPORT
COMPUTER GRAPHICS PROJECT REPORT
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
anatomy of a jsp page & jsp syntax.pptx
anatomy of a jsp page & jsp syntax.pptxanatomy of a jsp page & jsp syntax.pptx
anatomy of a jsp page & jsp syntax.pptx
 
Bezier Curve in Computer Graphics.docx
Bezier Curve in Computer Graphics.docxBezier Curve in Computer Graphics.docx
Bezier Curve in Computer Graphics.docx
 
Difference between cts and cls
Difference between cts and clsDifference between cts and cls
Difference between cts and cls
 

Similar to Question generation using Natural Language Processing by QuestGen.AI

Mathematical analysis of co-relation between tesla and bitcoin during covid
Mathematical analysis of co-relation between tesla and bitcoin during covidMathematical analysis of co-relation between tesla and bitcoin during covid
Mathematical analysis of co-relation between tesla and bitcoin during covidIRJET Journal
 
powers and exponents
powers and exponentspowers and exponents
powers and exponentsarivuselvi3
 
Why Exponents are Important
Why Exponents are ImportantWhy Exponents are Important
Why Exponents are ImportantPassy World
 
Leonid Nekhymchuk: LLMs and No-code, how to simplify data operations with AI ...
Leonid Nekhymchuk: LLMs and No-code, how to simplify data operations with AI ...Leonid Nekhymchuk: LLMs and No-code, how to simplify data operations with AI ...
Leonid Nekhymchuk: LLMs and No-code, how to simplify data operations with AI ...Lviv Startup Club
 
Gibbs ensemble and socketon – essential Components for creating cloud computi...
Gibbs ensemble and socketon – essential Components for creating cloud computi...Gibbs ensemble and socketon – essential Components for creating cloud computi...
Gibbs ensemble and socketon – essential Components for creating cloud computi...ijccsa
 
Sustainable UX at IA Summit 2017 Vancouver
Sustainable UX at IA Summit 2017 VancouverSustainable UX at IA Summit 2017 Vancouver
Sustainable UX at IA Summit 2017 VancouverJames Christie
 
Blockchain history | The Brief History of Blockchain till 2018
Blockchain history | The Brief History of Blockchain till 2018Blockchain history | The Brief History of Blockchain till 2018
Blockchain history | The Brief History of Blockchain till 2018Noor Muhammad Khan
 
MICROSOFT TO ADD EXTENSIVE SUPPORT FOR BITCOIN, DESCRIBES IT AS CURRENCY
MICROSOFT TO ADD EXTENSIVE SUPPORT FOR BITCOIN, DESCRIBES IT AS CURRENCYMICROSOFT TO ADD EXTENSIVE SUPPORT FOR BITCOIN, DESCRIBES IT AS CURRENCY
MICROSOFT TO ADD EXTENSIVE SUPPORT FOR BITCOIN, DESCRIBES IT AS CURRENCYSteven Rhyner
 
State of Blockchain 2017: Smartnetworks and the Blockchain Economy
State of Blockchain 2017:  Smartnetworks and the Blockchain EconomyState of Blockchain 2017:  Smartnetworks and the Blockchain Economy
State of Blockchain 2017: Smartnetworks and the Blockchain EconomyMelanie Swan
 
School introduction to mis is the most important class in the
School introduction to mis is the most important class in the School introduction to mis is the most important class in the
School introduction to mis is the most important class in the amrit47
 
Makeblock brief presentation 2016
Makeblock brief presentation 2016Makeblock brief presentation 2016
Makeblock brief presentation 2016Tony Zheng
 
Intro to Bitcoin by Cornerstone Product Manager
Intro to Bitcoin by Cornerstone Product ManagerIntro to Bitcoin by Cornerstone Product Manager
Intro to Bitcoin by Cornerstone Product ManagerProduct School
 
Meme Coin Development
Meme Coin DevelopmentMeme Coin Development
Meme Coin DevelopmentAdamJoseUSA
 
Meme Coin Development Company
Meme Coin Development CompanyMeme Coin Development Company
Meme Coin Development CompanyAdamJoseUSA
 
Bmw intends to reduce emissions in europe while reaching together with its in...
Bmw intends to reduce emissions in europe while reaching together with its in...Bmw intends to reduce emissions in europe while reaching together with its in...
Bmw intends to reduce emissions in europe while reaching together with its in...Extent News
 

Similar to Question generation using Natural Language Processing by QuestGen.AI (20)

Mathematical analysis of co-relation between tesla and bitcoin during covid
Mathematical analysis of co-relation between tesla and bitcoin during covidMathematical analysis of co-relation between tesla and bitcoin during covid
Mathematical analysis of co-relation between tesla and bitcoin during covid
 
powers and exponents
powers and exponentspowers and exponents
powers and exponents
 
Why Exponents are Important
Why Exponents are ImportantWhy Exponents are Important
Why Exponents are Important
 
Leonid Nekhymchuk: LLMs and No-code, how to simplify data operations with AI ...
Leonid Nekhymchuk: LLMs and No-code, how to simplify data operations with AI ...Leonid Nekhymchuk: LLMs and No-code, how to simplify data operations with AI ...
Leonid Nekhymchuk: LLMs and No-code, how to simplify data operations with AI ...
 
Gibbs ensemble and socketon – essential Components for creating cloud computi...
Gibbs ensemble and socketon – essential Components for creating cloud computi...Gibbs ensemble and socketon – essential Components for creating cloud computi...
Gibbs ensemble and socketon – essential Components for creating cloud computi...
 
Sustainable UX at IA Summit 2017 Vancouver
Sustainable UX at IA Summit 2017 VancouverSustainable UX at IA Summit 2017 Vancouver
Sustainable UX at IA Summit 2017 Vancouver
 
Blockchain history | The Brief History of Blockchain till 2018
Blockchain history | The Brief History of Blockchain till 2018Blockchain history | The Brief History of Blockchain till 2018
Blockchain history | The Brief History of Blockchain till 2018
 
web squared, mobile web2.0
web squared, mobile web2.0web squared, mobile web2.0
web squared, mobile web2.0
 
Web2.0!
Web2.0!Web2.0!
Web2.0!
 
MICROSOFT TO ADD EXTENSIVE SUPPORT FOR BITCOIN, DESCRIBES IT AS CURRENCY
MICROSOFT TO ADD EXTENSIVE SUPPORT FOR BITCOIN, DESCRIBES IT AS CURRENCYMICROSOFT TO ADD EXTENSIVE SUPPORT FOR BITCOIN, DESCRIBES IT AS CURRENCY
MICROSOFT TO ADD EXTENSIVE SUPPORT FOR BITCOIN, DESCRIBES IT AS CURRENCY
 
State of Blockchain 2017: Smartnetworks and the Blockchain Economy
State of Blockchain 2017:  Smartnetworks and the Blockchain EconomyState of Blockchain 2017:  Smartnetworks and the Blockchain Economy
State of Blockchain 2017: Smartnetworks and the Blockchain Economy
 
School introduction to mis is the most important class in the
School introduction to mis is the most important class in the School introduction to mis is the most important class in the
School introduction to mis is the most important class in the
 
Internet Squared, Korea Squared, and Cooperative Sharing Economy WeHome
Internet Squared, Korea Squared, and Cooperative Sharing Economy WeHomeInternet Squared, Korea Squared, and Cooperative Sharing Economy WeHome
Internet Squared, Korea Squared, and Cooperative Sharing Economy WeHome
 
Makeblock brief presentation 2016
Makeblock brief presentation 2016Makeblock brief presentation 2016
Makeblock brief presentation 2016
 
Intro to Bitcoin by Cornerstone Product Manager
Intro to Bitcoin by Cornerstone Product ManagerIntro to Bitcoin by Cornerstone Product Manager
Intro to Bitcoin by Cornerstone Product Manager
 
Meme Coin Development
Meme Coin DevelopmentMeme Coin Development
Meme Coin Development
 
Meme Coin Development Company
Meme Coin Development CompanyMeme Coin Development Company
Meme Coin Development Company
 
Crypto Dev Report · 2022
Crypto Dev Report · 2022Crypto Dev Report · 2022
Crypto Dev Report · 2022
 
Bmw intends to reduce emissions in europe while reaching together with its in...
Bmw intends to reduce emissions in europe while reaching together with its in...Bmw intends to reduce emissions in europe while reaching together with its in...
Bmw intends to reduce emissions in europe while reaching together with its in...
 
Cheat sheet 3 19-12
Cheat sheet 3 19-12Cheat sheet 3 19-12
Cheat sheet 3 19-12
 

More from Data Science Milan

ML & Graph algorithms to prevent financial crime in digital payments
ML & Graph  algorithms to prevent  financial crime in  digital paymentsML & Graph  algorithms to prevent  financial crime in  digital payments
ML & Graph algorithms to prevent financial crime in digital paymentsData Science Milan
 
How to use the Economic Complexity Index to guide innovation plans
How to use the Economic Complexity Index to guide innovation plansHow to use the Economic Complexity Index to guide innovation plans
How to use the Economic Complexity Index to guide innovation plansData Science Milan
 
Robustness Metrics for ML Models based on Deep Learning Methods
Robustness Metrics for ML Models based on Deep Learning MethodsRobustness Metrics for ML Models based on Deep Learning Methods
Robustness Metrics for ML Models based on Deep Learning MethodsData Science Milan
 
"You don't need a bigger boat": serverless MLOps for reasonable companies
"You don't need a bigger boat": serverless MLOps for reasonable companies"You don't need a bigger boat": serverless MLOps for reasonable companies
"You don't need a bigger boat": serverless MLOps for reasonable companiesData Science Milan
 
Speed up data preparation for ML pipelines on AWS
Speed up data preparation for ML pipelines on AWSSpeed up data preparation for ML pipelines on AWS
Speed up data preparation for ML pipelines on AWSData Science Milan
 
Serverless machine learning architectures at Helixa
Serverless machine learning architectures at HelixaServerless machine learning architectures at Helixa
Serverless machine learning architectures at HelixaData Science Milan
 
MLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML InfrastructureMLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML InfrastructureData Science Milan
 
Reinforcement Learning Overview | Marco Del Pra
Reinforcement Learning Overview | Marco Del PraReinforcement Learning Overview | Marco Del Pra
Reinforcement Learning Overview | Marco Del PraData Science Milan
 
Time Series Classification with Deep Learning | Marco Del Pra
Time Series Classification with Deep Learning | Marco Del PraTime Series Classification with Deep Learning | Marco Del Pra
Time Series Classification with Deep Learning | Marco Del PraData Science Milan
 
Ludwig: A code-free deep learning toolbox | Piero Molino, Uber AI
Ludwig: A code-free deep learning toolbox | Piero Molino, Uber AILudwig: A code-free deep learning toolbox | Piero Molino, Uber AI
Ludwig: A code-free deep learning toolbox | Piero Molino, Uber AIData Science Milan
 
Audience projection of target consumers over multiple domains a ner and baye...
Audience projection of target consumers over multiple domains  a ner and baye...Audience projection of target consumers over multiple domains  a ner and baye...
Audience projection of target consumers over multiple domains a ner and baye...Data Science Milan
 
Weak supervised learning - Kristina Khvatova
Weak supervised learning - Kristina KhvatovaWeak supervised learning - Kristina Khvatova
Weak supervised learning - Kristina KhvatovaData Science Milan
 
GANs beyond nice pictures: real value of data generation, Alex Honchar
GANs beyond nice pictures: real value of data generation, Alex HoncharGANs beyond nice pictures: real value of data generation, Alex Honchar
GANs beyond nice pictures: real value of data generation, Alex HoncharData Science Milan
 
Continual/Lifelong Learning with Deep Architectures, Vincenzo Lomonaco
Continual/Lifelong Learning with Deep Architectures, Vincenzo LomonacoContinual/Lifelong Learning with Deep Architectures, Vincenzo Lomonaco
Continual/Lifelong Learning with Deep Architectures, Vincenzo LomonacoData Science Milan
 
3D Point Cloud analysis using Deep Learning
3D Point Cloud analysis using Deep Learning3D Point Cloud analysis using Deep Learning
3D Point Cloud analysis using Deep LearningData Science Milan
 
Deep time-to-failure: predicting failures, churns and customer lifetime with ...
Deep time-to-failure: predicting failures, churns and customer lifetime with ...Deep time-to-failure: predicting failures, churns and customer lifetime with ...
Deep time-to-failure: predicting failures, churns and customer lifetime with ...Data Science Milan
 
50 Shades of Text - Leveraging Natural Language Processing (NLP), Alessandro ...
50 Shades of Text - Leveraging Natural Language Processing (NLP), Alessandro ...50 Shades of Text - Leveraging Natural Language Processing (NLP), Alessandro ...
50 Shades of Text - Leveraging Natural Language Processing (NLP), Alessandro ...Data Science Milan
 
Pricing Optimization: Close-out, Online and Renewal strategies, Data Reply
Pricing Optimization: Close-out, Online and Renewal strategies, Data ReplyPricing Optimization: Close-out, Online and Renewal strategies, Data Reply
Pricing Optimization: Close-out, Online and Renewal strategies, Data ReplyData Science Milan
 
"How Pirelli uses Domino and Plotly for Smart Manufacturing" by Alberto Arrig...
"How Pirelli uses Domino and Plotly for Smart Manufacturing" by Alberto Arrig..."How Pirelli uses Domino and Plotly for Smart Manufacturing" by Alberto Arrig...
"How Pirelli uses Domino and Plotly for Smart Manufacturing" by Alberto Arrig...Data Science Milan
 
A view of graph data usage by Cerved
A view of graph data usage by CervedA view of graph data usage by Cerved
A view of graph data usage by CervedData Science Milan
 

More from Data Science Milan (20)

ML & Graph algorithms to prevent financial crime in digital payments
ML & Graph  algorithms to prevent  financial crime in  digital paymentsML & Graph  algorithms to prevent  financial crime in  digital payments
ML & Graph algorithms to prevent financial crime in digital payments
 
How to use the Economic Complexity Index to guide innovation plans
How to use the Economic Complexity Index to guide innovation plansHow to use the Economic Complexity Index to guide innovation plans
How to use the Economic Complexity Index to guide innovation plans
 
Robustness Metrics for ML Models based on Deep Learning Methods
Robustness Metrics for ML Models based on Deep Learning MethodsRobustness Metrics for ML Models based on Deep Learning Methods
Robustness Metrics for ML Models based on Deep Learning Methods
 
"You don't need a bigger boat": serverless MLOps for reasonable companies
"You don't need a bigger boat": serverless MLOps for reasonable companies"You don't need a bigger boat": serverless MLOps for reasonable companies
"You don't need a bigger boat": serverless MLOps for reasonable companies
 
Speed up data preparation for ML pipelines on AWS
Speed up data preparation for ML pipelines on AWSSpeed up data preparation for ML pipelines on AWS
Speed up data preparation for ML pipelines on AWS
 
Serverless machine learning architectures at Helixa
Serverless machine learning architectures at HelixaServerless machine learning architectures at Helixa
Serverless machine learning architectures at Helixa
 
MLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML InfrastructureMLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML Infrastructure
 
Reinforcement Learning Overview | Marco Del Pra
Reinforcement Learning Overview | Marco Del PraReinforcement Learning Overview | Marco Del Pra
Reinforcement Learning Overview | Marco Del Pra
 
Time Series Classification with Deep Learning | Marco Del Pra
Time Series Classification with Deep Learning | Marco Del PraTime Series Classification with Deep Learning | Marco Del Pra
Time Series Classification with Deep Learning | Marco Del Pra
 
Ludwig: A code-free deep learning toolbox | Piero Molino, Uber AI
Ludwig: A code-free deep learning toolbox | Piero Molino, Uber AILudwig: A code-free deep learning toolbox | Piero Molino, Uber AI
Ludwig: A code-free deep learning toolbox | Piero Molino, Uber AI
 
Audience projection of target consumers over multiple domains a ner and baye...
Audience projection of target consumers over multiple domains  a ner and baye...Audience projection of target consumers over multiple domains  a ner and baye...
Audience projection of target consumers over multiple domains a ner and baye...
 
Weak supervised learning - Kristina Khvatova
Weak supervised learning - Kristina KhvatovaWeak supervised learning - Kristina Khvatova
Weak supervised learning - Kristina Khvatova
 
GANs beyond nice pictures: real value of data generation, Alex Honchar
GANs beyond nice pictures: real value of data generation, Alex HoncharGANs beyond nice pictures: real value of data generation, Alex Honchar
GANs beyond nice pictures: real value of data generation, Alex Honchar
 
Continual/Lifelong Learning with Deep Architectures, Vincenzo Lomonaco
Continual/Lifelong Learning with Deep Architectures, Vincenzo LomonacoContinual/Lifelong Learning with Deep Architectures, Vincenzo Lomonaco
Continual/Lifelong Learning with Deep Architectures, Vincenzo Lomonaco
 
3D Point Cloud analysis using Deep Learning
3D Point Cloud analysis using Deep Learning3D Point Cloud analysis using Deep Learning
3D Point Cloud analysis using Deep Learning
 
Deep time-to-failure: predicting failures, churns and customer lifetime with ...
Deep time-to-failure: predicting failures, churns and customer lifetime with ...Deep time-to-failure: predicting failures, churns and customer lifetime with ...
Deep time-to-failure: predicting failures, churns and customer lifetime with ...
 
50 Shades of Text - Leveraging Natural Language Processing (NLP), Alessandro ...
50 Shades of Text - Leveraging Natural Language Processing (NLP), Alessandro ...50 Shades of Text - Leveraging Natural Language Processing (NLP), Alessandro ...
50 Shades of Text - Leveraging Natural Language Processing (NLP), Alessandro ...
 
Pricing Optimization: Close-out, Online and Renewal strategies, Data Reply
Pricing Optimization: Close-out, Online and Renewal strategies, Data ReplyPricing Optimization: Close-out, Online and Renewal strategies, Data Reply
Pricing Optimization: Close-out, Online and Renewal strategies, Data Reply
 
"How Pirelli uses Domino and Plotly for Smart Manufacturing" by Alberto Arrig...
"How Pirelli uses Domino and Plotly for Smart Manufacturing" by Alberto Arrig..."How Pirelli uses Domino and Plotly for Smart Manufacturing" by Alberto Arrig...
"How Pirelli uses Domino and Plotly for Smart Manufacturing" by Alberto Arrig...
 
A view of graph data usage by Cerved
A view of graph data usage by CervedA view of graph data usage by Cerved
A view of graph data usage by Cerved
 

Recently uploaded

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Recently uploaded (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 

Question generation using Natural Language Processing by QuestGen.AI

  • 1. MCQ Generation in edtech using Natural Language Processing Thu, May 20th, 2021 10 PM - 11:30 PM (India) 6:30 PM - 8:00 PM (Italy) Hosted by: Data Science Milan Talk by Ramsri Goutham ramsri.ai Colab Code and slides: http://bit.ly/datasciencemilan
  • 2. Who am I ? Lead Data Scientist with 8+ years of work experience across Silicon Valley, Singapore, and India. Most recently been a Co-founder and CTO of an AI-assisted assessments startup. Spent the last 2 years on question generation using Natural Language processing in edtech. Ramsri Goutham Golla ramsri.ai
  • 4. Instrutor Assessment creation (Quizzes and Tests) is manual and not scalable for online transformation due to the pandemic. The problem A textbook publisher hired you as a data scientist to create a tool that automates the assessment creation process .
  • 5. Instrutor Elon Musk has shown again he can influence the digital currency market with just his tweets. After saying that his electric vehicle-making company Tesla will not accept payments in Bitcoin because of environmental concerns, he tweeted that he was working with developers of Dogecoin to improve system transaction efficiency. Following the two distinct statements from him, the world's largest cryptocurrency hit a two-month low, while Dogecoin rallied by about 20 percent. The solution News Article Elon Musk and Dogecoin Multiple Choice Questions (MCQs) Fill in the Blanks True or False Questions Match the following 1 3 2 4
  • 7. Instrutor Talk Outline Text2MCQ generation using T5 transformers and sense2vec vectors Use ONNX quantization to create a light-weight model of T5 1 2 We will use Google Colab notebooks as the development environment for our demos
  • 8. Elon Musk has shown again he can influence the digital currency market with just his tweets. After saying that his electric vehicle-making company Tesla will not accept payments in Bitcoin because of environmental concerns, he tweeted that he was working with developers of Dogecoin to improve system transaction efficiency. Following the two distinct statements from him, the world's largest cryptocurrency hit a two-month low, while Dogecoin rallied by about 20 percent. The SpaceX CEO has in recent months often tweeted in support of Dogecoin, but rarely for Bitcoin. In a recent tweet, Musk put out a statement from Tesla that it was “concerned” about the rapidly increasing use of fossil fuels for Bitcoin mining and transaction, and hence was suspending vehicle purchases using the cryptocurrency. A day later he again tweeted saying, “To be clear, I strongly believe in crypto, but it can't drive a massive increase in fossil fuel use, especially coal”. It triggered a downward spiral for Bitcoin value but the cryptocurrency has stabilized since. Instrutor News Article Elon Musk and Dogecoin Step 1 : Identify key Sentences/Concepts
  • 9. Musk tweeted that his electric vehicle-making company tesla will not accept payments in bitcoin because of environmental concerns. He also said that the company was working with developers of dogecoin to improve system transaction efficiency. The world's largest cryptocurrency hit a two-month low, while dogecoin rallied by about 20 percent. Musk has in recent months often tweeted in support of crypto, but rarely for bitcoin. Instrutor News Article Elon Musk and Dogecoin Step 2 : Identify keywords from sentences Musk Tesla Bitcoin Dogecoin Extract Keywords
  • 10. Musk tweeted that his electric vehicle-making company tesla will not accept payments in bitcoin because of environmental concerns. He also said that the company was working with developers of dogecoin to improve system transaction efficiency. The world's largest cryptocurrency hit a two-month low, while dogecoin rallied by about 20 percent. Musk has in recent months often tweeted in support of crypto, but rarely for bitcoin. Instrutor Elon Musk and Dogecoin Step 3: Form multiple-choice questions (MCQs) Bitcoin What cryptocurrency did Musk rarely tweet about? What company did Musk say would not accept bitcoin payments? Dogecoin ETH Litecoin Tesla Nissan Ford Toyota
  • 11. Instrutor Elon Musk has shown again he can influence the digital currency market with just his tweets. After saying that his electric vehicle-making company Tesla will not accept payments in Bitcoin because of environmental concerns, he tweeted that he was working with developers of Dogecoin to improve system transaction efficiency. Following the two distinct statements from him, the world's largest cryptocurrency hit a two-month low, while Dogecoin rallied by about 20 percent. Abstractive/Extractive summarization (T5, BART, Pegasus Models) Paraphrasing of sentences (T5, GPT-2 etc) Keyword/Keyphrase Extraction (YAKE, TopicRank, KeyBERT etc) Question generation (T5, GPT-2, GPT-3 etc) Wrong choices/distractors generation (Wordnet, Word2vec, Sense2vec etc) Posing it as an NLP problem News Article Elon Musk and Dogecoin
  • 12. Context: Answer: Question Generate a question using T5 Transformer model Musk tweeted that his electric vehicle-making company Tesla will not accept payments in bitcoin because of environmental concerns. Tesla What company did Musk say would not accept bitcoin payments? T5 Text to text transfer transformer
  • 14. Instrutor Extract Keywords Extract Keyphrases using Python Keyword Extraction Library Bitcoin, Dogecoin, Tesla, Cryptocurrency https://github.com/boudinfl/pke MultipartiteRank Elon Musk has shown again he can influence the digital currency market with just his tweets. After saying that his electric vehicle-making company Tesla will not accept payments in Bitcoin because of environmental concerns, he tweeted that he was working with developers of Dogecoin to improve system transaction efficiency. Following the two distinct statements from him, the world's largest cryptocurrency hit a two-month low, while Dogecoin rallied by about 20 percent. News Article Elon Musk and Dogecoin
  • 15. WordNet® captures relations. A hyponym is in a type-of relationship with its hypernym. A hypernym is an umbrella term and blanket term. Eg: Color is the hypernym for Purple. Red, Blue, Green are the hyponyms of "Color". Since Red is a type of color. Our goal is to extract Co-Hyponyms as distractors. https://wordnet.princeton.edu/ Generate distractors using Wordnet Source: https://en.wikipedia.org/wiki/Hyponymy_and_hypernymy
  • 16. Contextual information is captured. Trained on Reddit comments. The words with the same senses are differentiated with parts of speech eg: duck|VERB and duck|NOUN Noun phrases and named entities are annotated during training so multiword phrases like "natural language processing" also have an entry. Generate distractors using Sense2vec Source: https://explosion.ai/demos/sense2vec https://explosion.ai/blog/sense2vec-reloaded
  • 17. Musk tweeted that his electric vehicle-making company tesla will not accept payments in bitcoin because of environmental concerns. Extract Keywords Bitcoin T5 Text to Text Transformer model trained on SQUAD dataset Dogecoin Tesla Overview: Generate MCQs from any content. Paragraph Keywords Question Generation Transformer Model What company did Musk say would not accept bitcoin payments?? Generated Question Nissan a Tesla b Toyota c Ford d Pick a keyword eg: Tesla
  • 18. Text2MCQ Google Colab Coding Session Colab Code and slides: http://bit.ly/datasciencemilan
  • 19. Udemy Course: Question generation using Natural Language Processing (bit.ly/questiongeneration) Connect with me on Social Media: ramsri.ai Email: ramsri@questgen.ai Coupon Code: DSMILAN