Update README.md
Browse files
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
|
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')
|
|
|
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')
|