Easy Machine Translation with Machine Learning and HuggingFace Transformers

By MachineCurve - 2021-02-15

Description

Machine Translation with Python and Transformers - learn how to build an easy pipeline for translation and to extend it to more languages.

Summary

  • Transformers have significantly changed the way in which Natural Language Processing tasks can be performed.
  • pipelines for Machine Translation The two code examples below give fully working examples of pipelines for Machine Translation.
  • Using a Common Crawl-derived dataset called C4 and by prefixing the various tasks with instructions (such as “translate” or “summarize”), the authors were able to create a model that can be used for a variety of language tasks when finetuned for these tasks.
  • We also showed you how to create a pipeline for any pretrained Seq2Seq model for translation available within HuggingFace, using an English-to-Dutch translation model as an example.

 

Topics

  1. NLP (0.4)
  2. Machine_Learning (0.25)
  3. Backend (0.13)

Similar Articles

Automated Machine Learning in Python

By KDnuggets - 2020-11-14

An organization can also reduce the cost of hiring many experts by applying AutoML in their data pipeline. AutoML also reduces the amount of time it would take to develop and test a machine learning m ...

Visualizing Keras neural networks with Net2Vis and Docker

By MachineCurve - 2020-01-07

Visualizing the structure of your neural network is quite useful for publications, such as papers and blogs. Today, various tools exist for generating these visualizations – allowing engineers and res ...

How to Use AutoKeras for Classification and Regression

By Machine Learning Mastery - 2020-09-01

AutoML refers to techniques for automatically discovering the best-performing model for a given dataset. When applied to neural networks, this involves both discovering the model architecture and the ...