class_docstr: Text Pair Classification Model for tasks such as Recognizing Textual Entailment, build upon TextClassifier.
  
  The model takes document embeddings and puts resulting text representation(s) into a linear layer to get the
  actual class label. We provide two ways to embed the DataPairs: Either by embedding both DataPoints
  and concatenating the resulting vectors ("embed_separately=True") or by concatenating the DataPoints and embedding
  the resulting vector ("embed_separately=False").
class_docstr_tok: ["Text","Pair","Classification","Model","for","tasks","such","as","Recognizing","Textual","Entailment",",","build","upon","TextClassifier",".","The","model","takes","document","embeddings","and","puts","resulting","text","representation","(","s",")","into","a","linear","layer","to","get","the","actual","class","label",".","We","provide","two","ways","to","embed","the","DataPairs",":","Either","by","embedding","both","DataPoints","and","concatenating","the","resulting","vectors","(","``","embed_separately=True","''",")","or","by","concatenating","the","DataPoints","and","embedding","the","resulting","vector","(","``","embed_separately=False","''",")","."]
code: def _get_data_points_from_sentence(
      self, sentence: TextPair
  ) -> List[TextPair]:
      return [sentence]
  
file_path: flair/flair/models/pairwise_classification_model.py
imports: import typing
  from typing import List
  import torch
  import flair.embeddings
  import flair.nn
  from flair.data import Corpus, Sentence, TextPair, _iter_dataset
label_desc: Use image node_id 3 for calling the TextPairClassifier obj's underlying member method code with example usage: obj._get_data_points_from_sentence(sentence) and returns: list