Update README.md
Browse files
README.md
CHANGED
@@ -78,7 +78,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
|
|
78 |
|
79 |
tokenizer = AutoTokenizer.from_pretrained('dnotitia/DNA-1.0-8B-Instruct')
|
80 |
model = AutoModelForCausalLM.from_pretrained('dnotitia/DNA-1.0-8B-Instruct', device_map='auto')
|
81 |
-
streamer = TextStreamer(tokenizer, skip_prompt=True)
|
82 |
|
83 |
conversation = [
|
84 |
{"role": "system", "content": "You are a helpful assistant, Dnotitia DNA."},
|
|
|
78 |
|
79 |
tokenizer = AutoTokenizer.from_pretrained('dnotitia/DNA-1.0-8B-Instruct')
|
80 |
model = AutoModelForCausalLM.from_pretrained('dnotitia/DNA-1.0-8B-Instruct', device_map='auto')
|
81 |
+
streamer = TextStreamer(tokenizer, skip_prompt=True, skip_special_tokens=True)
|
82 |
|
83 |
conversation = [
|
84 |
{"role": "system", "content": "You are a helpful assistant, Dnotitia DNA."},
|