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

Can we specify the language for generating content, such as French, German, Chinese, etc #76

Open
jackqdldd opened this issue Nov 12, 2024 · 3 comments

Comments

@jackqdldd
Copy link

Restricting the output language in prompt words may not work for some outputs

@e-p-armstrong
Copy link
Owner

Yeah this is often asked for, I'm thinking of making an optional "translation" step after the main pipeline executes to translate the outputs into the desired language... might not be ideal for international INPUT text though. Would the post-execution translation step be a good solution for your usecase?

@isikepalaku
Copy link

yes sir, community need it, equal education for every nation :D

@jackqdldd
Copy link
Author

Yeah this is often asked for, I'm thinking of making an optional "translation" step after the main pipeline executes to translate the outputs into the desired language... might not be ideal for international INPUT text though. Would the post-execution translation step be a good solution for your usecase?

It should be able to solve the above problem!My current way is to add a restriction on the output language at the end of the prompt like "the generated qa-tuples must be in chinese!" :D

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

No branches or pull requests

3 participants