# Translation using docs/transformers

**URL:** <https://discuss.huggingface.co/t/translation-using-docs-transformers/58584>\
**Category:** Beginners\
**Created:** [October 14, 2023, 10:59pm UTC](https://discuss.huggingface.co/t/translation-using-docs-transformers/58584 "2023-10-14T22:59:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nluin](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@nluin](https://discuss.huggingface.co/u/nluin)\
**Post date:** [October 14, 2023, 10:59pm UTC](https://discuss.huggingface.co/t/translation-using-docs-transformers/58584/1 "2023-10-14T22:59:25Z")

</div>

Hello,  
I was following the translation tutorial using this: [Translation](https://huggingface.co/docs/transformers/v4.34.0/en/tasks/translation#translation)

I encountered the following error

 ![Screenshot 2023-10-15 005621](https://us1.discourse-cdn.com/hellohellohello/original/3X/d/2/d22d5472943a10c341d67472d565820ec22d9efd.png)

Trouble shooting steps:  
!pip install transformers==4.28.0  
pip install accelerate -U  
pip install transformers[torch]  
restarting runtime

None of the trouble shooting helped.

Could you please advise?

Thanks
