Skip to content

Commit

Permalink
fix: Mute warnings by removing protected namespaces for Seq2Seq schema (
Browse files Browse the repository at this point in the history
  • Loading branch information
franz101 authored Dec 3, 2024
1 parent 577d97a commit 90685a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataquality/loggers/logger_config/seq2seq/seq2seq_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Seq2SeqLoggerConfig(BaseLoggerConfig):
# Decoder only below
id_to_formatted_prompt_length: Dict[str, Dict[int, int]] = defaultdict(dict)
response_template: Optional[List[int]] = None
model_config = ConfigDict(arbitrary_types_allowed=True)
model_config = ConfigDict(arbitrary_types_allowed=True, protected_namespaces=())


seq2seq_logger_config = Seq2SeqLoggerConfig()

0 comments on commit 90685a5

Please sign in to comment.