Update README.md
This commit is contained in:
parent
789b7c43b7
commit
c8ec3761f3
|
@ -193,7 +193,7 @@ pip install torch
|
|||
from transformers import LlamaTokenizer, AutoModelForCausalLM, AutoConfig, GenerationConfig
|
||||
import torch
|
||||
|
||||
ckpt_path = '/workspace/BELLE-train/Version_raw/'
|
||||
ckpt_path = '/path/to_finetuned_model/'
|
||||
load_type = torch.float16
|
||||
device = torch.device(0)
|
||||
tokenizer = LlamaTokenizer.from_pretrained(ckpt_path)
|
||||
|
|
Loading…
Reference in New Issue