Text Generation
PEFT
Japanese
stardust-coder commited on
Commit
4f93f4b
1 Parent(s): f7cdd63

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -1
README.md CHANGED
@@ -46,7 +46,6 @@ bnb_config = BitsAndBytesConfig(
46
  bnb_4bit_compute_dtype=torch.bfloat16
47
  )
48
  config = AutoConfig.from_pretrained(model_id)
49
- config.pretraining_tp = 1 #LLama-2-70bなら必要
50
  tokenizer = AutoTokenizer.from_pretrained(model_id)
51
  model = AutoModelForCausalLM.from_pretrained(model_id, quantization_config=bnb_config,
52
  device_map="auto")
 
46
  bnb_4bit_compute_dtype=torch.bfloat16
47
  )
48
  config = AutoConfig.from_pretrained(model_id)
 
49
  tokenizer = AutoTokenizer.from_pretrained(model_id)
50
  model = AutoModelForCausalLM.from_pretrained(model_id, quantization_config=bnb_config,
51
  device_map="auto")