ros-ai / ros2_whisper

Whisper C++ Inference Action Server for ROS 2
29 stars 9 forks source link

Keep context #7

Closed mhubii closed 1 year ago

mhubii commented 1 year ago

Utilize whisper tokens

https://github.com/ros-ai/ros2_whisper/blob/30f3e78139af8379f9c338e49a1e43f5a76a5f41/whisper_util/include/whisper_util/whisper.hpp#L19

to keep context in inference loop

https://github.com/ros-ai/ros2_whisper/blob/30f3e78139af8379f9c338e49a1e43f5a76a5f41/whisper_server/src/inference_node.cpp#L120

These can be handed to whisper params

https://github.com/ros-ai/ros2_whisper/blob/30f3e78139af8379f9c338e49a1e43f5a76a5f41/whisper_util/include/whisper_util/whisper.hpp#L22

mhubii commented 1 year ago

refer to #8