xDAN2099 commited on
Commit
4ccb205
1 Parent(s): 4c4e3ee

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -30,14 +30,14 @@ torch.set_default_dtype(torch.bfloat16)
30
  tokenizer = AutoTokenizer.from_pretrained("hpcai-tech/grok-1", trust_remote_code=True)
31
 
32
  model = AutoModelForCausalLM.from_pretrained(
33
- "hpcai-tech/grok-1",
34
  trust_remote_code=True,
35
  device_map="auto",
36
  torch_dtype=torch.bfloat16,
37
  )
38
  model.eval()
39
 
40
- text = "Replace this with your text"
41
  input_ids = tokenizer(text, return_tensors="pt").input_ids
42
  input_ids = input_ids.cuda()
43
  attention_mask = torch.ones_like(input_ids)
 
30
  tokenizer = AutoTokenizer.from_pretrained("hpcai-tech/grok-1", trust_remote_code=True)
31
 
32
  model = AutoModelForCausalLM.from_pretrained(
33
+ "xDAN-AI/APUS-xDAN-4.0-MOE",
34
  trust_remote_code=True,
35
  device_map="auto",
36
  torch_dtype=torch.bfloat16,
37
  )
38
  model.eval()
39
 
40
+ text = "Hi, xDAN-APUS4.0, nice to meet you!"
41
  input_ids = tokenizer(text, return_tensors="pt").input_ids
42
  input_ids = input_ids.cuda()
43
  attention_mask = torch.ones_like(input_ids)