Skip to content

HF transformers: Small fixes nits#862

Merged
rossdanlm merged 1 commit intomainfrom
pr862
Jan 10, 2024
Merged

HF transformers: Small fixes nits#862
rossdanlm merged 1 commit intomainfrom
pr862

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