Update README.md
Browse files
README.md
CHANGED
@@ -23,9 +23,9 @@ You can use this model directly with a pipeline for text generation. This exampl
|
|
23 |
|
24 |
from transformers import AutoModelForCausalLM, AutoTokenizer, FlaxAutoModelForCausalLM
|
25 |
|
26 |
-
model = AutoModelForCausalLM.from_pretrained("flax-community/gpt-neo-125M-code-clippy-
|
27 |
|
28 |
-
tokenizer = AutoTokenizer.from_pretrained("flax-community/gpt-neo-125M-code-clippy-
|
29 |
|
30 |
prompt = """def greet(name):
|
31 |
'''A function to greet user. Given a user name it should say hello'''
|
|
|
23 |
|
24 |
from transformers import AutoModelForCausalLM, AutoTokenizer, FlaxAutoModelForCausalLM
|
25 |
|
26 |
+
model = AutoModelForCausalLM.from_pretrained("flax-community/gpt-neo-125M-code-clippy-dedup")
|
27 |
|
28 |
+
tokenizer = AutoTokenizer.from_pretrained("flax-community/gpt-neo-125M-code-clippy-dedup")
|
29 |
|
30 |
prompt = """def greet(name):
|
31 |
'''A function to greet user. Given a user name it should say hello'''
|