Update all references to canonical models (#29001)
* Script & Manual edition * Update
This commit is contained in:
@@ -156,7 +156,7 @@ def data():
|
||||
yield f"My example {i}"
|
||||
|
||||
|
||||
pipe = pipe(model="gpt2", device=0)
|
||||
pipe = pipe(model="openai-community/gpt2", device=0)
|
||||
generated_characters = 0
|
||||
for out in pipe(data()):
|
||||
generated_characters += len(out["generated_text"])
|
||||
|
||||
Reference in New Issue
Block a user