likejazz commited on
Commit
b58233e
·
verified ·
1 Parent(s): 2d84212

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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."},