fix train_new_from_iterator in the case of byte-level tokenizers (#17549)
This commit is contained in:
@@ -116,6 +116,11 @@ class IBertModelTester:
|
||||
quant_mode=True,
|
||||
)
|
||||
|
||||
def get_pipeline_config(self):
|
||||
config = self.get_config()
|
||||
config.vocab_size = 300
|
||||
return config
|
||||
|
||||
def create_and_check_model(
|
||||
self, config, input_ids, token_type_ids, input_mask, sequence_labels, token_labels, choice_labels
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user