Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HF transformers: Small fixes nits #862

Merged
merged 1 commit into from
Jan 10, 2024
Merged

HF transformers: Small fixes nits #862

merged 1 commit into from
Jan 10, 2024

Conversation

rossdanlm
Copy link
Contributor

HF transformers: Small fixes nits

Small fixes from comments from Sarmad + me from these diffs:

Main things I did

  • rename refine_chat_completion_params --> chat_completion_params
  • edit get_text_output to not check for OutputDataWithValue
  • sorted the init file to be alphabetical
  • fixed some typos/print statements
  • made some error messages a bit more intuitive with prompt name
  • sorted some imports
  • fixed old class name HuggingFaceAutomaticSpeechRecognition --> HuggingFaceAutomaticSpeechRecognitionTransformer

Test Plan

These are all small nits and shouldn't change functionality

Small fixes from comments from Sarmad + me from these diffs:

- #854
- #855
- #821

Main things I did
- rename `refine_chat_completion_params` --> `chat_completion_params`
- edit `get_text_output` to not check for `OutputDataWithValue`
- sorted the init file to be alphabetical
- fixed some typos/print statements
- made some error messages a bit more intuitive with prompt name
- sorted some imports
- fixed old class name `HuggingFaceAutomaticSpeechRecognition` --> `HuggingFaceAutomaticSpeechRecognitionTransformer`

## Test Plan
These are all small nits and shouldn't change functionality
Copy link
Contributor

@saqadri saqadri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

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.

Fast Follows for image2Text HF model parser
2 participants