Translate text between multiple languages
Translate text between multiple languages
Correct and translate text to Lithuanian
Build and deploy custom workflows for language tasks
Translate text from Russian to other languages
Translate text across 200 languages
Translate English to Spanish
Translate Russian to Ossetian
Translate song lyrics into different languages
Detect language of your text input
Generate responses using a language model
Translate text between English and Vietnamese
Translate text between English and toki pona
Facebook-m2m100 1.2B is a multilingual machine translation model developed by Facebook (now Meta AI), designed to translate text between multiple languages. With 1.2 billion parameters, it is a robust tool for high-quality language translation tasks.
• Multilingual Support: Capable of translating between numerous languages, making it versatile for global communication. • High-Quality Translations: Leverages advanced neural architecture to deliver accurate and context-aware translations. • Scalable: Designed to handle a wide range of use cases, from individual sentences to large documents. • Real-Time Translation: Enables quick and efficient translation for real-time applications. • Customizable: Can be fine-tuned for specific domains or languages to improve performance.
transformers
or torch
to integrate the model into your project.Example:
from transformers import AutoTokenizer, AutoModelForConditionalTraining
tokenizer = AutoTokenizer.from_pretrained("facebook/m2m100_1.2B")
model = AutoModelForConditionalTraining.from_pretrained("facebook/m2m100_1.2B")
text = "Hello, how are you?"
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs)
translation = tokenizer.decode(outputs[0], skip_special_tokens=True)
1. What languages does Facebook-m2m100 1.2B support?
Facebook-m2m100 1.2B supports over 100 languages, including widely spoken languages like English, Spanish, French, Mandarin, Hindi, and many others.
2. How accurate is Facebook-m2m100 1.2B compared to other models?
Facebook-m2m100 1.2B is known for its high accuracy across multiple language pairs, particularly for long-tail languages where data is scarce.
3. Can I use Facebook-m2m100 1.2B for commercial purposes?
Yes, Facebook-m2m100 1.2B is released under a permissive license, allowing for both research and commercial use cases.