pub enum MachineComprehension {
BiDAF,
BERTSquad,
RoBERTa(RoBERTa),
GPT2(GPT2),
}
Expand description
Machine Comprehension
This subset of natural language processing models that answer questions about a given context paragraph.
Source: https://github.com/onnx/models#machine_comprehension
Variants§
BiDAF
Answers a query about a given context paragraph.
This model is a neural network for answering a query about a given context paragraph.
Source: https://github.com/onnx/models/tree/master/text/machine_comprehension/bidirectional_attention_flow
Variant downloaded: ONNX Version 1.4 with Opset Version 9.
BERTSquad
Answers questions based on the context of the given input paragraph.
Source: https://github.com/onnx/models/tree/master/text/machine_comprehension/bert-squad
Variant downloaded: ONNX Version 1.5 with Opset Version 10.
RoBERTa(RoBERTa)
Large transformer-based model that predicts sentiment based on given input text.
Transformer-based language model for text generation.
Source: https://github.com/onnx/models/tree/master/text/machine_comprehension/roberta
GPT2(GPT2)
Large transformer-based language model that given a sequence of words within some text, predicts the next word.
Source: https://github.com/onnx/models/tree/master/text/machine_comprehension/gpt-2
Trait Implementations§
Source§impl Clone for MachineComprehension
impl Clone for MachineComprehension
Source§fn clone(&self) -> MachineComprehension
fn clone(&self) -> MachineComprehension
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more