Skip to content

tokenized text has special character prepended #19

@talkhanz

Description

@talkhanz

text = "Good night 😊"
encoded_input = tokenizer(text, return_tensors='tf')
print(tokenizer.convert_ids_to_tokens(encoded_input['input_ids'][0])) will print the line below. why are their Ġ characters in the tokenized text
['', 'Good', 'Ġnight', 'ĠðŁĺ', 'Ĭ', '']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions