tt1225 commited on
Commit
d2feb50
·
verified ·
1 Parent(s): 8f4ed79

Update modeling_prismatic.py

Browse files
Files changed (1) hide show
  1. modeling_prismatic.py +3 -1
modeling_prismatic.py CHANGED
@@ -440,7 +440,9 @@ class PrismaticForConditionalGeneration(PrismaticPreTrainedModel):
440
 
441
  # print("loss", language_model_output.loss.shape)
442
  print("logits", language_model_output.logits.shape)
443
- print("hidden_states", language_model_output.hidden_states.shape)
 
 
444
  print("attentions", language_model_output.attentions.shape)
445
 
446
  return PrismaticCausalLMOutputWithPast(
 
440
 
441
  # print("loss", language_model_output.loss.shape)
442
  print("logits", language_model_output.logits.shape)
443
+ print("hidden_states")
444
+ for i in hidden_states:
445
+ print(i.shape)
446
  print("attentions", language_model_output.attentions.shape)
447
 
448
  return PrismaticCausalLMOutputWithPast(