Suryanshg commited on
Commit
00a19c4
·
verified ·
1 Parent(s): b8d55e6

Upload PEFT LoRA adapter: General-DoD-translator

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -26,7 +26,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
26
  base_model = AutoModelForCausalLM.from_pretrained(
27
  "meta-llama/Llama-3.1-8B-Instruct", torch_dtype="auto", device_map="auto",
28
  )
29
- model = PeftModel.from_pretrained(base_model, "<this-repo-id>")
30
  tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.1-8B-Instruct")
31
  ```
32
 
 
26
  base_model = AutoModelForCausalLM.from_pretrained(
27
  "meta-llama/Llama-3.1-8B-Instruct", torch_dtype="auto", device_map="auto",
28
  )
29
+ model = PeftModel.from_pretrained(base_model, "Suryanshg/General-DoD-translator")
30
  tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.1-8B-Instruct")
31
  ```
32