Gong Baitao commited on
Commit
26fadc1
1 Parent(s): 693c995

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -83,8 +83,8 @@ trainset = Dataset() # Make sure trainset.__getitem__() can get data with corre
83
  # for details, you can read https://github.com/OpenBMB/CPM-Bee/tree/main/tutorials/basic_task_finetune
84
  train_loader = DataLoader(trainset, batch_size=1)
85
 
86
- tokenizer = AutoTokenizer.from_pretrained("openbmb/cpm-bee-1b", trust_remote_code=True)
87
- model = AutoModelForCausalLM.from_pretrained("openbmb/cpm-bee-1b", trust_remote_code=True).cuda()
88
 
89
  optimizer = torch.optim.Adam(model.parameters())
90
 
 
83
  # for details, you can read https://github.com/OpenBMB/CPM-Bee/tree/main/tutorials/basic_task_finetune
84
  train_loader = DataLoader(trainset, batch_size=1)
85
 
86
+ tokenizer = AutoTokenizer.from_pretrained("openbmb/cpm-bee-10b", trust_remote_code=True)
87
+ model = AutoModelForCausalLM.from_pretrained("openbmb/cpm-bee-10b", trust_remote_code=True).cuda()
88
 
89
  optimizer = torch.optim.Adam(model.parameters())
90