nlpodyssey / verbaflow

Neural Language Model for Go
BSD 2-Clause "Simplified" License
58 stars 5 forks source link

Chinese output is garbled! #4

Open linkerlin opened 1 year ago

linkerlin commented 1 year ago

First of all, thank you for providing such a great open source project! I tried the default model in the README, everything is OK, except when I want the model to output Chinese. The output is garbled.


macos go 1.20

4:12PM TRC Input: "\nQ: 中文会不会?\n\nA:" 4:12PM TRC Building prompt from template: "{{.Text}}" 4:12PM TRC Input fields: {Text: Q: 中文会不会?

A: Question: TargetLanguage:} 4:12PM TRC Final prompt: "\nQ: 中文会不会?\n\nA:" ä¸įä¼ļ4:13PM DBG Done. ^^^^^^^

matteo-grella commented 1 year ago

Ops! I’m sorry for that but it should be trivial to fix :) I’ll be back to you soon.