stanrom commited on
Commit
f77165e
1 Parent(s): 7600482

Update modeling_InternLM_XComposer.py

Browse files
Files changed (1) hide show
  1. modeling_InternLM_XComposer.py +1 -0
modeling_InternLM_XComposer.py CHANGED
@@ -108,6 +108,7 @@ conversation
108
 
109
  self.eoh = '<TOKENS_UNUSED_0>' # end of human
110
  self.eoa = '<TOKENS_UNUSED_1>' # end of assistant
 
111
  stop_words_ids = [
112
  torch.tensor([103027]).to(config.device),
113
  torch.tensor([103028]).to(config.device),
 
108
 
109
  self.eoh = '<TOKENS_UNUSED_0>' # end of human
110
  self.eoa = '<TOKENS_UNUSED_1>' # end of assistant
111
+ print('config.device =', config.device)
112
  stop_words_ids = [
113
  torch.tensor([103027]).to(config.device),
114
  torch.tensor([103028]).to(config.device),