Translate text between multiple languages
https://huggingface.co/spaces/VIDraft/mouse-webgen
Translate text into another language
Detect language from text input
Identify language of text input
Translate text into different languages
Translate text between multiple languages
Generate Chinese cooking answers
Translate English text to Spanish
Translate English text to Sinhala
Translate between Vietnamese and English
Use AI to translate text between languages
Translate text from Russian to other languages
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.