|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "code", |
5 | | - "execution_count": null, |
| 5 | + "execution_count": 1, |
6 | 6 | "id": "28ed6952", |
7 | 7 | "metadata": {}, |
8 | | - "outputs": [], |
| 8 | + "outputs": [ |
| 9 | + { |
| 10 | + "name": "stdout", |
| 11 | + "output_type": "stream", |
| 12 | + "text": [ |
| 13 | + "/home/aerdem/projects/nvidia/logits-processor-zoo\n" |
| 14 | + ] |
| 15 | + } |
| 16 | + ], |
9 | 17 | "source": [ |
10 | 18 | "%cd ../.." |
11 | 19 | ] |
12 | 20 | }, |
13 | 21 | { |
14 | 22 | "cell_type": "code", |
15 | | - "execution_count": null, |
| 23 | + "execution_count": 2, |
16 | 24 | "id": "a85f8503", |
17 | 25 | "metadata": {}, |
18 | 26 | "outputs": [], |
|
51 | 59 | "id": "cbf4c2d5", |
52 | 60 | "metadata": {}, |
53 | 61 | "outputs": [ |
| 62 | + { |
| 63 | + "name": "stderr", |
| 64 | + "output_type": "stream", |
| 65 | + "text": [ |
| 66 | + "The attention mask is not set and cannot be inferred from input because pad token is same as eos token. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.\n" |
| 67 | + ] |
| 68 | + }, |
54 | 69 | { |
55 | 70 | "name": "stdout", |
56 | 71 | "output_type": "stream", |
|
67 | 82 | " \n", |
68 | 83 | "\n", |
69 | 84 | "LLM response:\n", |
70 | | - "Bulbasaur is a fictional Pokémon species that appears in the Pokémon franchise. It was designed by Atsuko Nishida and first appeared in Pocket Monsters: Red and Green (Pokémon Red and Blue outside Japan). As a Grass and Poison-type Pokémon, Bulbasaur is considered to be one of the most iconic characters in the franchise.\n", |
| 85 | + "Bulbasaur is a fictional Pokémon species that appears in the Pokémon franchise. It was designed by Atsuko Nishida and first appeared in the original Pokémon games, specifically in Pokémon Red and Blue outside of Japan. As a Grass and Poison-type Pokémon, Bulbasaur serves as the starting Pokémon for players to catch and train.\n", |
71 | 86 | "\n", |
72 | | - "Since its debut, Bulbasaur has been featured in numerous sequels, spin-off games, related merchandise, and animated and printed adaptations of the franchise. In the Pokémon anime, it serves as a central character, being one of Ash Ketchum's main Pokémon for the first season. Later on, another Pokémon named May obtains a different Bulbasaur as her own.\n", |
| 87 | + "Throughout the series, Bulbasaur has been featured in numerous sequels, spin-offs, related merchandise, and animated and printed adaptations of the franchise. It plays an important role in the Pokémon anime, where it is one of Ash Ketchum's main Pokémon during the first season. Later on, another Pokémon named May obtains a different version of Bulbasaur as her own.\n", |
73 | 88 | "\n", |
74 | | - "In addition to its appearances in the anime, Bulbasaur also features prominently in various manga series, including those written by Satoshi Hoshino. Furthermore, it is owned by the protagonist Red in the Pokémon Adventures game.\n", |
75 | | - "\n", |
76 | | - "Overall, Bulbasaur is an important part of the Pokémon universe and continues to be popular among fans of the franchise.\n", |
| 89 | + "In addition to its appearances in the anime, Bulbasaur also features prominently in various manga stories and is owned by the protagonist Red in the Pokémon Adventures game. The Pokémon has become a beloved character within the franchise due to its enduring popularity across multiple platforms and generations of fans.\n", |
77 | 90 | "-----END-----\n", |
78 | | - "\n", |
79 | 91 | "\n" |
80 | 92 | ] |
81 | 93 | } |
|
114 | 126 | " \n", |
115 | 127 | "\n", |
116 | 128 | "LLM response:\n", |
117 | | - "Bulbasaur is a fictional Pokémon species that appears in the Pokémon franchise. It was designed by Atsuko Nishida and first appeared in Pocket Monsters: Red and Green (Pokémon Red and Blue outside Japan). As a Grass and Poison-type Pokémon, Bulbasaur is considered to be one of the most iconic characters in the franchise.\n", |
| 129 | + "Bulbasaur is a fictional Pokémon species that appears in the Pokémon franchise. It was designed by Atsuko Nishida and first appeared in the original Pokémon games, specifically in Pokémon Red and Blue outside of Japan. As a Grass and Poison-type Pokémon, Bulbasaur serves as the starting Pokémon for players to catch and train.\n", |
118 | 130 | "\n", |
119 | | - "Since its debut, Bulbasaur has been featured in numerous sequels, spin-off games, related merchandise, and animated and printed adaptations of the franchise. In the Pokémon anime, it serves as a central character, being one of Ash Ketchum's main Pokémon for the first season. Later on, another Pokémon named May obtains a different Bulbasaur as her own.\n", |
| 131 | + "Throughout the series, Bulbasaur has been featured in numerous sequels, spin-offs, related merchandise, and animated and printed adaptations of the franchise. It plays an important role in the Pokémon anime, where it is one of Ash Ketchum's main Pokémon during the first season. Later on, another Pokémon named May obtains a different version of Bulbasaur as her own.\n", |
120 | 132 | "\n", |
121 | | - "In addition to its appearances in the anime, Bulbasaur also features prominently in various manga series, including those written by Satoshi Hoshino. Furthermore, it is owned by the protagonist Red in the Pokémon Adventures game.\n", |
122 | | - "\n", |
123 | | - "Overall, Bulbasaur is an important part of the Pokémon universe and continues to be popular among fans of the franchise.\n", |
| 133 | + "In addition to its appearances in the anime, Bulbasaur also features prominently in various manga stories and is owned by the protagonist Red in the Pokémon Adventures game. The Pokémon has become a beloved character within the franchise due to its enduring popularity across multiple platforms and generations of fans.\n", |
124 | 134 | "\n", |
125 | 135 | "References: Wikipedia article on Bulbasaur.\n", |
126 | 136 | "-----END-----\n", |
127 | | - "\n", |
128 | 137 | "\n" |
129 | 138 | ] |
130 | 139 | } |
|
169 | 178 | " \n", |
170 | 179 | "\n", |
171 | 180 | "LLM response:\n", |
172 | | - "Bulbasaur is a fictional Pokémon species that appears in the Pokémon franchise. It was designed by Atsuko Nishida and first appeared in Pocket Monsters: Red and Green (Pokémon Red and Blue outside Japan). As a Grass and Poison-type Pokémon, Bulbasaur is considered to be one of the most iconic characters in the franchise.\n", |
| 181 | + "Bulbasaur is a fictional Pokémon species that appears in the Pokémon franchise. It was designed by Atsuko Nishida and first appeared in the original Pokémon games, specifically in Pokémon Red and Blue outside of Japan. As a Grass and Poison-type Pokémon, Bulbasaur serves as the starting Pokémon for players to catch and train.\n", |
173 | 182 | "\n", |
174 | | - "Since its debut, Bulbasaur has been featured in numerous sequels, spin-off games, related merchandise, and animated and printed adaptations of the franchise. In the Pokémon anime, it serves as a central character, being one of Ash Ketchum's main Pokémon for the first season. Later on, another Pokémon named May obtains a different Bulbasaur as her own.\n", |
| 183 | + "Throughout the series, Bulbasaur has been featured in numerous sequels, spin-offs, related merchandise, and animated and printed adaptations of the franchise. It plays an important role in the Pokémon anime, where it is one of Ash Ketchum's main Pokémon during the first season. Later on, another Pokémon named May obtains a different version of Bulbasaur as her own.\n", |
175 | 184 | "\n", |
176 | | - "In addition to its appearances in the anime, Bulbasaur also features prominently in various manga series, including those written by Satoshi Hoshino. Furthermore, it is owned by the protagonist Red in the Pokémon Adventures game.\n", |
| 185 | + "In addition to its appearances in the anime, Bulbasaur also features prominently in various manga stories and is owned by the protagonist Red in the Pokémon Adventures game. The Pokémon has become a beloved character within the franchise due to its enduring popularity across multiple platforms and generations of fans.\n", |
177 | 186 | "\n", |
178 | | - "Overall, Bulbasaur is an important part of the Pokémon universe and continues to be popular among fans of the franchise.\n", |
179 | | - "\n", |
180 | | - "Thanks for trying our RAG application! If you have more questions about Bulbasaur or any other topic, feel free to ask. We're here to help!\n", |
| 187 | + "Thanks for trying our RAG application! If you have more questions about Bulbasaur or any other topic, feel free to ask!\n", |
181 | 188 | "-----END-----\n", |
182 | | - "\n", |
183 | 189 | "\n" |
184 | 190 | ] |
185 | 191 | } |
|
196 | 202 | ], |
197 | 203 | "metadata": { |
198 | 204 | "kernelspec": { |
199 | | - "display_name": ".venv", |
| 205 | + "display_name": "Python 3 (ipykernel)", |
200 | 206 | "language": "python", |
201 | 207 | "name": "python3" |
202 | 208 | }, |
|
210 | 216 | "name": "python", |
211 | 217 | "nbconvert_exporter": "python", |
212 | 218 | "pygments_lexer": "ipython3", |
213 | | - "version": "3.12.7" |
| 219 | + "version": "3.10.13" |
214 | 220 | } |
215 | 221 | }, |
216 | 222 | "nbformat": 4, |
|
0 commit comments