Skip to content

Conversation

Kausheya2006
Copy link

The output shown was mistakenly generated from:
encoded_input = tokenizer(["How are you?", "I'm fine, thank you!"], padding=True, return_tensors="pt")

However, this same output was incorrectly displayed for the following cases as well:

  • tokenizer("How are you?", "I'm fine, thank you!")
  • tokenizer("How are you?", "I'm fine, thank you!", return_tensors="pt")

This update fixes the discrepancy by ensuring each example has its correct output.

The output shown was mistakenly generated from:
encoded_input = tokenizer(["How are you?", "I'm fine, thank you!"], padding=True, return_tensors="pt")

However, this same output was incorrectly displayed for the following cases as well:
- tokenizer("How are you?", "I'm fine, thank you!")
- tokenizer("How are you?", "I'm fine, thank you!", return_tensors="pt")

This update fixes the discrepancy by ensuring each example has its correct output.
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants