Skip to content

Commit

Permalink
Clarify some TODOs and comments on the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
aliciafmachado committed Jan 27, 2025
1 parent 57b3bf8 commit 3d0d0c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion animated-transformer/src/lib/transformer/gpt2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ export function computePredictionWithLoadedTokenizer(
// We tokenize directly with the preprocessing function from gpt-tokenizer.
inputs: string[],
generator: RandomStream
// TODO(@aliciafmachado): save the input as well, and split in two functions: one that tokenizes and one that doesn't.
): string[] {
// Encode inputs using the r50k_base.encode which is the tokenizer used for GPT2.
// TODO(@aliciafmachado): There is no clear padding in the vocabulary of GPT2. We are currently using
Expand Down

0 comments on commit 3d0d0c6

Please sign in to comment.