minhtoan commited on
Commit
8a91ea4
1 Parent(s): 5e42dcd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -29,8 +29,8 @@ Pretrained GPT-3 small, it's architecture intentionally resembles that of GPT-3,
29
  ~~~~
30
  from transformers import GPT2Tokenizer, GPTNeoForCausalLM
31
 
32
- tokenizer = GPT2Tokenizer.from_pretrained('gpt3-small-finetune-cnndaily-news-news')
33
- model = GPTNeoForCausalLM.from_pretrained('gpt3-small-finetune-cnndaily-news-news')
34
 
35
  text = "Ever noticed how plane seats appear to be getting smaller and smaller? "
36
  input_ids = tokenizer.encode(text, return_tensors='pt')
 
29
  ~~~~
30
  from transformers import GPT2Tokenizer, GPTNeoForCausalLM
31
 
32
+ tokenizer = GPT2Tokenizer.from_pretrained('gpt3-small-finetune-cnndaily-news')
33
+ model = GPTNeoForCausalLM.from_pretrained('gpt3-small-finetune-cnndaily-news')
34
 
35
  text = "Ever noticed how plane seats appear to be getting smaller and smaller? "
36
  input_ids = tokenizer.encode(text, return_tensors='pt')