zjkarina commited on
Commit
caa76a7
·
1 Parent(s): b86dd2c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -17,7 +17,7 @@ gen_kwargs = {
17
  "num_return_sequences": 1
18
  }
19
  device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
20
- ft = 'gpt-j-onlyk_v2'
21
  tokenizer = AutoTokenizer.from_pretrained(ft)
22
  model = AutoModelForCausalLM.from_pretrained(ft, torch_dtype=torch.float16, low_cpu_mem_usage=True)
23
  model.to(device)
 
17
  "num_return_sequences": 1
18
  }
19
  device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
20
+ ft = 'zjkarina/ChatGPTJ_6B'
21
  tokenizer = AutoTokenizer.from_pretrained(ft)
22
  model = AutoModelForCausalLM.from_pretrained(ft, torch_dtype=torch.float16, low_cpu_mem_usage=True)
23
  model.to(device)