Using greedy sampling (sample=false and top_k=0) you get "Bonjour, comment ĂȘtes-vous?", which appears to be a very direct translation.
As mentioned in one of my previous comments, these inaccuracies also occur in the PyTorch models, and so, it's not the library's fault :')
[1] https://github.com/xenova/transformers.js [2] https://twitter.com/xenovacom/status/1628895478749315073
Using greedy sampling (sample=false and top_k=0) you get "Bonjour, comment ĂȘtes-vous?", which appears to be a very direct translation.
As mentioned in one of my previous comments, these inaccuracies also occur in the PyTorch models, and so, it's not the library's fault :')
[1] https://github.com/xenova/transformers.js [2] https://twitter.com/xenovacom/status/1628895478749315073