IlyaGusev commited on
Commit
8a4f384
1 Parent(s): 3d6684a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
README.md CHANGED
@@ -91,6 +91,8 @@ model = PeftModel.from_pretrained(
91
  MODEL_NAME,
92
  torch_dtype=torch.float16
93
  )
 
 
94
  tokenizer = AutoTokenizer.from_pretrained(MODEL_NAME)
95
  generation_config = GenerationConfig.from_pretrained(MODEL_NAME)
96
  print(generation_config)
 
91
  MODEL_NAME,
92
  torch_dtype=torch.float16
93
  )
94
+ model.eval()
95
+
96
  tokenizer = AutoTokenizer.from_pretrained(MODEL_NAME)
97
  generation_config = GenerationConfig.from_pretrained(MODEL_NAME)
98
  print(generation_config)