nemo_curator.stages.text.experimental.translation.pipeline
nemo_curator.stages.text.experimental.translation.pipeline
Experimental translation pipeline composition.
Module Contents
Classes
Data
API
Dataclass
Bases: CompositeStage[DocumentBatch, DocumentBatch]
Experimental composite stage for translation and optional quality scoring.
backend_config
backend_type
client
enable_faith_eval
faith_model_name
faith_threshold
filter_enabled
generation_config
merge_scores
messages_content_field
messages_field
min_segment_chars
model_name
name
output_field
output_mode
reconstruct_messages
segmentation_mode
skip_translated
source_lang
target_lang
text_field
translation_column
Construct the ordered list of sub-stages.
Validate optional FAITH scoring configuration.
Validate source and target language codes.
Validate requested output mode.
Validate score-merging options.
Validate backend-specific translation requirements.
Return the ordered sub-stages for pipeline execution.