Translation
PEFT
English
German
bnjmnmarie commited on
Commit
f4cc300
1 Parent(s): 8e8a48b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -45,7 +45,7 @@ bnb_config = BitsAndBytesConfig(
45
  bnb_4bit_use_double_quant=True,
46
  )
47
  model = AutoModelForCausalLM.from_pretrained(
48
- original_model_directory, device_map={"": 0}, quantization_config=bnb_config
49
  )
50
  tokenizer = AutoTokenizer.from_pretrained(base_model, use_fast=True)
51
  model = PeftModel.from_pretrained(model, "kaitchup/Llama-2-7b-mt-German-to-English")
 
45
  bnb_4bit_use_double_quant=True,
46
  )
47
  model = AutoModelForCausalLM.from_pretrained(
48
+ base_model, device_map={"": 0}, quantization_config=bnb_config
49
  )
50
  tokenizer = AutoTokenizer.from_pretrained(base_model, use_fast=True)
51
  model = PeftModel.from_pretrained(model, "kaitchup/Llama-2-7b-mt-German-to-English")