nielsr HF staff commited on
Commit
9648b08
1 Parent(s): 87b061a

Add print statements

Browse files
Files changed (1) hide show
  1. modeling_cogvlm.py +1 -1
modeling_cogvlm.py CHANGED
@@ -439,7 +439,7 @@ class CogVLMModel(CogVLMPreTrainedModel):
439
  images_features = images_features.to(dtype=inputs_embeds.dtype, device=inputs_embeds.device)
440
 
441
  print("First values of text embeddings:", inputs_embeds[0, :3, :3])
442
- print("First values of images_features:", images_features[0, :3, :3])
443
 
444
  inputs_embeds = inputs_embeds.index_put([token_type_ids == VISION_TOKEN_TYPE], images_features)
445
 
 
439
  images_features = images_features.to(dtype=inputs_embeds.dtype, device=inputs_embeds.device)
440
 
441
  print("First values of text embeddings:", inputs_embeds[0, :3, :3])
442
+ print("First values of images_features:", images_features[0, :3])
443
 
444
  inputs_embeds = inputs_embeds.index_put([token_type_ids == VISION_TOKEN_TYPE], images_features)
445