Skip to content

Commit

Permalink
Do not add token types for FalconTokenizer
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Oct 3, 2023
1 parent 965a715 commit 8f30a28
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/tokenizers.js
Original file line number Diff line number Diff line change
Expand Up @@ -2705,12 +2705,7 @@ export class CodeLlamaTokenizer extends PreTrainedTokenizer { }
export class XLMRobertaTokenizer extends PreTrainedTokenizer { }
export class MPNetTokenizer extends PreTrainedTokenizer { }

export class FalconTokenizer extends PreTrainedTokenizer {
/** @type {add_token_types} */
prepare_model_inputs(inputs) {
return add_token_types(inputs);
}
}
export class FalconTokenizer extends PreTrainedTokenizer { }

export class GPTNeoXTokenizer extends PreTrainedTokenizer { }

Expand Down

0 comments on commit 8f30a28

Please sign in to comment.