File size: 950 Bytes
038a398
ab3785e
038a398
 
 
 
 
 
 
 
 
0856ffe
49bf5d1
038a398
 
425053f
038a398
 
d532b06
f0066e6
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
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)
让我们到那片小草地上看看吧,阿米娅。
```