Update modeling_InternLM_XComposer.py
Browse files
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),
|