spow12 commited on
Commit
cf4dac4
β€’
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 }