spow12 commited on
Commit
cf4dac4
·
verified ·
1 Parent(s): fd5017f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -2
README.md CHANGED
@@ -59,7 +59,7 @@ character | visual_novel |
59
  from transformers import TextStreamer, pipeline, AutoTokenizer, AutoModelForCausalLM
60
  import json
61
 
62
- model_id = 'spow12/Roleplayer-VisualNovel'
63
  tokenizer = AutoTokenizer.from_pretrained(model_id)
64
 
65
  streamer = TextStreamer(tokenizer)
@@ -153,6 +153,31 @@ user: ユーザー:「早く学校行こう。そろそろ行かないと遅刻
153
  assistant: ムラサメ: うむ、そうじゃな
154
  ```
155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  ## Bias, Risks, and Limitations
157
 
158
  This model trained by japanese dataset included visual novel which contain nsfw content.
@@ -172,7 +197,7 @@ This repository can use Visual novel-based RAG, but i will not distribute it yet
172
  ```bibtex
173
  @misc {Visual-novel-transcriptor,
174
  author = { {YoungWoo Nam} },
175
- title = { Roleplayer-VisualNovel },
176
  year = 2024,
177
  url = { https://huggingface.co/spow12/Visual-novel-transcriptor },
178
  publisher = { Hugging Face }
 
59
  from transformers import TextStreamer, pipeline, AutoTokenizer, AutoModelForCausalLM
60
  import json
61
 
62
+ model_id = 'spow12/Waifu_roleplaying_chatbot'
63
  tokenizer = AutoTokenizer.from_pretrained(model_id)
64
 
65
  streamer = TextStreamer(tokenizer)
 
153
  assistant: ムラサメ: うむ、そうじゃな
154
  ```
155
 
156
+ To continue the conversation,
157
+ ```python
158
+ message.append({
159
+ 'role': 'user',
160
+ 'content': """ユーザー:「早く学校行こう。そろそろ行かないと遅刻しちゃうよ。」"""
161
+ })
162
+ out = pipe(message, **generation_configs)
163
+ out
164
+ ```
165
+
166
+ ```output
167
+ system: I want you to act like ムラサメ from SenrenBanka..
168
+ ....
169
+ ....
170
+ ....
171
+
172
+ ## Scene Background
173
+
174
+ Conversation start at here.
175
+
176
+ ユーザー: 「おはいよ、ムラサメ。」
177
+ assistant: ムラサメ: おお、ご主人
178
+ user: ユーザー:「早く学校行こう。そろそろ行かないと遅刻しちゃうよ。」
179
+ assistant: ムラサメ: うむ、そうじゃな
180
+ ```
181
  ## Bias, Risks, and Limitations
182
 
183
  This model trained by japanese dataset included visual novel which contain nsfw content.
 
197
  ```bibtex
198
  @misc {Visual-novel-transcriptor,
199
  author = { {YoungWoo Nam} },
200
+ title = { Waifu_roleplaying_chatbot },
201
  year = 2024,
202
  url = { https://huggingface.co/spow12/Visual-novel-transcriptor },
203
  publisher = { Hugging Face }