Ketansomewhere commited on
Commit
41ec0e6
·
verified ·
1 Parent(s): b92c107

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -73,7 +73,7 @@ device = 'cuda'
73
  device = 0 if torch.cuda.is_available() else -1 # Use GPU if available, otherwise CPU
74
 
75
  # Create the pipeline
76
- text_generator = pipeline("text-generation", model=model, tokenizer=tokenizer, device=device)
77
 
78
 
79
  ```
 
73
  device = 0 if torch.cuda.is_available() else -1 # Use GPU if available, otherwise CPU
74
 
75
  # Create the pipeline
76
+ text_generator = pipeline("text-generation", model="Ketansomewhere/gpt-neo", tokenizer=tokenizer, device=device)
77
 
78
 
79
  ```