starmpcc commited on
Commit
2846647
1 Parent(s): 9207fa5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -84,9 +84,9 @@ The response should provide the accurate answer to the instruction, while being
84
  [Instruction End]
85
  """
86
 
87
- from transformers import AutoTokenizer, AutoModel
88
- tokenizer = AutoTokenizer.from_pretrained("starmpcc/Asclepius-7B")
89
- model = AutoModel.from_pretrained("starmpcc/Asclepius-7B")
90
 
91
  note = "This is a sample note"
92
  question = "What is the diagnosis?"
 
84
  [Instruction End]
85
  """
86
 
87
+ from transformers import AutoTokenizer, AutoModelForCausalLM
88
+ tokenizer = AutoTokenizer.from_pretrained("starmpcc/Asclepius-7B", use_fast=False)
89
+ model = AutoModelForCausalLM.from_pretrained("starmpcc/Asclepius-7B")
90
 
91
  note = "This is a sample note"
92
  question = "What is the diagnosis?"