shunxing1234
commited on
Commit
•
7034db9
1
Parent(s):
26da5b5
Update chat_test.py
Browse files- chat_test.py +2 -0
chat_test.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
from transformers import AutoTokenizer, AquilaForCausalLM
|
2 |
import torch
|
3 |
from cyg_conversation import default_conversation, covert_prompt_to_input_ids_with_history
|
|
|
1 |
+
#If you need to use this code, please install the following transformers
|
2 |
+
#https://github.com/shunxing1234/transformers
|
3 |
from transformers import AutoTokenizer, AquilaForCausalLM
|
4 |
import torch
|
5 |
from cyg_conversation import default_conversation, covert_prompt_to_input_ids_with_history
|