yihong0618 / bilingual_book_maker

Make bilingual epub books Using AI translate
MIT License
7.3k stars 1.04k forks source link

Is it possible to add support for using context in gpt-3.5? #346

Open chaojiang06 opened 12 months ago

chaojiang06 commented 12 months ago

Hey, thank you for the great work!

I am wondering if it is possible to add the function of using context in gpt-3.5 model? As that model is considerably cheaper, adding context is relatively affordable and may help to improve the translation quality.

Moreover, if the context length can be adjusted, e.g., 1 or 2 or 3 paragraphs, that will be awesome!

Thanks again for this great work!

astromaddie commented 11 months ago

Hey, I could probably add this in as the model works currently. When I first added the context feature, the 3.5 model's total token limit was considerably shorter than it is now. Also, great idea about the context length, I should add that in too!

mkXultra commented 1 month ago

@chaojiang06 @astromaddie Hi I implented this feature. https://github.com/yihong0618/bilingual_book_maker/pull/420 @yihong0618 pls check this PR