JunxiongWang commited on
Commit
1b4d270
1 Parent(s): 784a648

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -19,7 +19,7 @@ model=MambaLMHeadModel.from_pretrained("JunxiongWang/MambaByte_Arxiv", device='c
19
 
20
  text = "\documentclass[12pt]{article}"
21
  text_byte = np.frombuffer(text.encode('utf-8'), dtype=np.uint8)
22
- input_ids = torch.from_numpy(text_byte[None, :]).long().cuda()
23
 
24
  sample = model.generate(
25
  input_ids=input_ids,
 
19
 
20
  text = "\documentclass[12pt]{article}"
21
  text_byte = np.frombuffer(text.encode('utf-8'), dtype=np.uint8)
22
+ input_ids = torch.from_numpy(text_byte[None, :].copy()).long().cuda()
23
 
24
  sample = model.generate(
25
  input_ids=input_ids,