Update README.md
Browse files
README.md
CHANGED
@@ -142,7 +142,7 @@ from datasets import load_dataset
|
|
142 |
generator = pipeline(model="google/gemma-2b-it",device_map="auto")
|
143 |
dataset = load_dataset("somosnlp/Resumen_Noticias_Clickbait",split="test")
|
144 |
|
145 |
-
outputs = generator(dataset[0], return_full_text=False,max_length=4096)
|
146 |
print(outputs)
|
147 |
```
|
148 |
|
|
|
142 |
generator = pipeline(model="google/gemma-2b-it",device_map="auto")
|
143 |
dataset = load_dataset("somosnlp/Resumen_Noticias_Clickbait",split="test")
|
144 |
|
145 |
+
outputs = generator(dataset[0]["prompt"], return_full_text=False,max_length=4096)
|
146 |
print(outputs)
|
147 |
```
|
148 |
|