classy.data.data_drivers
Functions
Classes
ClassySample
DataDriver
Subclasses (5)
save
def save(
self,
samples: Iterator[ClassySample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[ClassySample],
path: str,
use_predicted_annotation: bool = False,
)
GenerationDataDriver
Subclasses (2)
save
def save(
self,
samples: Iterator[GenerationSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[GenerationSample],
path: str,
use_predicted_annotation: bool = False,
)
GenerationSample
JSONLGenerationDataDriver
save
def save(
self,
samples: Iterator[GenerationSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[GenerationSample],
path: str,
use_predicted_annotation: bool = False,
)
JSONLQADataDriver
JSONLSentencePairDataDriver
save
def save(
self,
samples: Iterator[SentencePairSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[SentencePairSample],
path: str,
use_predicted_annotation: bool = False,
)
JSONLSequenceDataDriver
save
def save(
self,
samples: Iterator[SequenceSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[SequenceSample],
path: str,
use_predicted_annotation: bool = False,
)
JSONLTokensDataDriver
save
def save(
self,
samples: Iterator[TokensSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[TokensSample],
path: str,
use_predicted_annotation: bool = False,
)
QADataDriver
Subclasses (2)
QASample
SentencePairDataDriver
Subclasses (2)
save
def save(
self,
samples: Iterator[SentencePairSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[SentencePairSample],
path: str,
use_predicted_annotation: bool = False,
)
SentencePairSample
SequenceDataDriver
Subclasses (2)
save
def save(
self,
samples: Iterator[SequenceSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[SequenceSample],
path: str,
use_predicted_annotation: bool = False,
)
SequenceSample
TSVGenerationDataDriver
save
def save(
self,
samples: Iterator[GenerationSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[GenerationSample],
path: str,
use_predicted_annotation: bool = False,
)
TSVQADataDriver
TSVSentencePairDataDriver
save
def save(
self,
samples: Iterator[SentencePairSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[SentencePairSample],
path: str,
use_predicted_annotation: bool = False,
)
TSVSequenceDataDriver
save
def save(
self,
samples: Iterator[SequenceSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[SequenceSample],
path: str,
use_predicted_annotation: bool = False,
)
TSVTokensDataDriver
save
def save(
self,
samples: Iterator[TokensSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[TokensSample],
path: str,
use_predicted_annotation: bool = False,
)
TokensDataDriver
Subclasses (2)
save
def save(
self,
samples: Iterator[TokensSample],
path: str,
use_predicted_annotation: bool = False,
)
self,
samples: Iterator[TokensSample],
path: str,
use_predicted_annotation: bool = False,
)