Update modeling_mists.py
Browse files- modeling_mists.py +7 -0
modeling_mists.py
CHANGED
@@ -239,6 +239,13 @@ class MistsForConditionalGeneration(MistsPreTrainedModel):
|
|
239 |
# else self.config.vision_feature_select_strategy
|
240 |
# )
|
241 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
if inputs_embeds is None:
|
243 |
# 1. Extra the input embeddings
|
244 |
inputs_embeds = self.get_input_embeddings()(input_ids)
|
|
|
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
|
251 |
inputs_embeds = self.get_input_embeddings()(input_ids)
|