|
--- |
|
license: apache-2.0 |
|
datasets: |
|
- None1145/Theresa |
|
library_name: transformers |
|
tags: |
|
- Theresa |
|
- Arknights |
|
- 特蕾西娅 |
|
- 魔王 |
|
- ChatGLM3 |
|
- ChatGLM |
|
- 明日方舟 |
|
base_model: |
|
- THUDM/chatglm3-6b |
|
pipeline_tag: text-generation |
|
--- |
|
## Model Introduction |
|
These models are based on the text training of Theresa from Arknights |
|
## Chat |
|
```ipython |
|
>>> from transformers import AutoTokenizer, AutoModel |
|
>>> tokenizer = AutoTokenizer.from_pretrained("None1145/ChatGLM3-6B-Theresa", trust_remote_code=True) |
|
>>> model = AutoModel.from_pretrained("None1145/ChatGLM3-6B-Theresa", trust_remote_code=True).half().cuda() |
|
>>> system_prompt = "请扮演特蕾西娅" |
|
>>> response, history = model.chat(tokenizer, "你好", history=[]) |
|
>>> print(response) |
|
现在我们出去走走,好吗? |
|
>>> response, history = model.chat(tokenizer, "好啊,特蕾西娅小姐", history=history) |
|
>>> print(response) |
|
让我们到那片小草地上看看吧,阿米娅。 |
|
``` |