YanshekWoo
commited on
Commit
•
b5f5536
1
Parent(s):
fa9d65b
Update README.md
Browse files
README.md
CHANGED
@@ -48,4 +48,8 @@ history_str = "对话历史:" + tokenizer.sep_token.join(history)
|
|
48 |
input_ids = tokenizer(history_str, return_tensors='pt').input_ids
|
49 |
output_ids = model.generate(input_ids)[0]
|
50 |
print(tokenizer.decode(output_ids, skip_special_tokens=True))
|
51 |
-
```
|
|
|
|
|
|
|
|
|
|
48 |
input_ids = tokenizer(history_str, return_tensors='pt').input_ids
|
49 |
output_ids = model.generate(input_ids)[0]
|
50 |
print(tokenizer.decode(output_ids, skip_special_tokens=True))
|
51 |
+
```
|
52 |
+
|
53 |
+
|
54 |
+
# Contact
|
55 |
+
If you encounter any issue, feel free to contact us via mail: `[email protected]` .
|