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

Implementing Encoder Begin Callback for golang binding #2291

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aderbedr
Copy link

@aderbedr aderbedr commented Jul 8, 2024

Adding in EncoderBeginCallback to the Context's Process callback. This optional callback function returns false if computation should be aborted.

Adding in EncoderBeginCallback to the Context's Process callback.
This optional callback function returns false if computation should
be aborted.
@ggerganov
Copy link
Owner

Could you help fixing the Go CI?

Updating the default parameters to match the C++ binary's parameters. This includes:
- updating the strategy to SAMPLING_BEAM_SEARCH
- greedy.best_of (previously -1)
- thold_pt  (previously .01)
- thold_ptsum  (previously .01)
Adding in a function, GetDetectedLanguage, which will retrieve the detected language, if available.
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