HachiML commited on
Commit
a21b9e7
1 Parent(s): a2b0a5e

Update modeling_mists.py

Browse files
Files changed (1) hide show
  1. modeling_mists.py +7 -6
modeling_mists.py CHANGED
@@ -239,12 +239,13 @@ class MistsForConditionalGeneration(MistsPreTrainedModel):
239
  # else self.config.vision_feature_select_strategy
240
  # )
241
 
242
- print("model inputs:")
243
- print("input_ids: ", input_ids.shape if input_ids is not None else None)
244
- print("attention_mask: ", attention_mask.shape if attention_mask is not None else None)
245
- print("time_series_values: ", time_series_values.shape if time_series_values is not None else None)
246
- print("time_series_input_mask: ", time_series_input_mask.shape if time_series_input_mask is not None else None)
247
- print("==========")
 
248
 
249
  if inputs_embeds is None:
250
  # 1. Extra the input embeddings
 
239
  # else self.config.vision_feature_select_strategy
240
  # )
241
 
242
+ # モデルInput確認用(学習時)
243
+ # print("model inputs:")
244
+ # print("input_ids: ", input_ids.shape if input_ids is not None else None)
245
+ # print("attention_mask: ", attention_mask.shape if attention_mask is not None else None)
246
+ # print("time_series_values: ", time_series_values.shape if time_series_values is not None else None)
247
+ # print("time_series_input_mask: ", time_series_input_mask.shape if time_series_input_mask is not None else None)
248
+ # print("==========")
249
 
250
  if inputs_embeds is None:
251
  # 1. Extra the input embeddings