PEFT
Safetensors
ruslanmv commited on
Commit
31369d9
1 Parent(s): 99d8a3c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -29,7 +29,7 @@ finetuned_model = 'ruslanmv/Medical-Mixtral-7B-v1.5k'
29
  tokenizer = AutoTokenizer.from_pretrained(finetuned_model, trust_remote_code=True)
30
 
31
  # Load the model with the provided adapter configuration and weights
32
- model_pretrained = AutoModelForCausalLM.from_pretrained(finetuned_model, trust_remote_code=True, torch_dtype=torch.float16, cache_dir=cache_dir)
33
 
34
  messages = [
35
  {'role': 'user', 'content': 'What should I do to reduce my weight gained due to genetic hypothyroidism?'},
 
29
  tokenizer = AutoTokenizer.from_pretrained(finetuned_model, trust_remote_code=True)
30
 
31
  # Load the model with the provided adapter configuration and weights
32
+ model_pretrained = AutoModelForCausalLM.from_pretrained(finetuned_model, trust_remote_code=True, torch_dtype=torch.float16)
33
 
34
  messages = [
35
  {'role': 'user', 'content': 'What should I do to reduce my weight gained due to genetic hypothyroidism?'},