localize / EXAMPLES.md
rakib7's picture
Upload 8 files
1d31c06 verified
|
Raw History Blame Contribute Delete
4.22 kB
# Translation Examples
This file contains example translations to test the NLLB-200 model.
## English to Other Languages
### English → Spanish
- **Input**: "Hello, how are you today?"
- **Expected**: "Hola, ¿cómo estás hoy?"
### English → French
- **Input**: "Welcome to our translation service"
- **Expected**: "Bienvenue dans notre service de traduction"
### English → German
- **Input**: "The weather is beautiful today"
- **Expected**: "Das Wetter ist heute schön"
### English → Arabic
- **Input**: "Thank you very much"
- **Expected**: "شكرا جزيلا"
### English → Bengali
- **Input**: "Good morning, have a nice day"
- **Expected**: "সুপ্রভাত, আপনার দিন শুভ হোক"
### English → Hindi
- **Input**: "I am learning a new language"
- **Expected**: "मैं एक नई भाषा सीख रहा हूं"
### English → Chinese (Simplified)
- **Input**: "Technology is changing the world"
- **Expected**: "技术正在改变世界"
### English → Japanese
- **Input**: "Nice to meet you"
- **Expected**: "はじめまして"
## Other Languages to English
### Spanish → English
- **Input**: "Buenos días, ¿cómo estás?"
- **Expected**: "Good morning, how are you?"
### French → English
- **Input**: "Je suis très heureux de vous rencontrer"
- **Expected**: "I am very happy to meet you"
### Arabic → English
- **Input**: "مرحبا بك في عالم الترجمة"
- **Expected**: "Welcome to the world of translation"
### Bengali → English
- **Input**: "আমি বাংলা ভাষা ভালোবাসি"
- **Expected**: "I love the Bengali language"
### Hindi → English
- **Input**: "यह एक अद्भुत दिन है"
- **Expected**: "This is a wonderful day"
### Chinese → English
- **Input**: "人工智能正在改变我们的生活"
- **Expected**: "Artificial intelligence is changing our lives"
### Japanese → English
- **Input**: "今日は良い天気ですね"
- **Expected**: "The weather is nice today, isn't it?"
## Language to Language (Non-English)
### Spanish → French
- **Input**: "Me gusta aprender idiomas"
- **Expected**: "J'aime apprendre les langues"
### German → Spanish
- **Input**: "Ich liebe Musik"
- **Expected**: "Me encanta la música"
### Arabic → Hindi
- **Input**: "السلام عليكم"
- **Expected**: "सलाम अलैकुम"
### Bengali → Hindi
- **Input**: "আমি ভারত ভ্রমণ করতে চাই"
- **Expected**: "मैं भारत की यात्रा करना चाहता हूं"
## Complex Sentences
### Technical Text
- **Input (EN)**: "Machine learning algorithms can process large amounts of data efficiently"
- **Target**: Any language
### Literary Text
- **Input (EN)**: "The sun set slowly over the horizon, painting the sky in shades of orange and pink"
- **Target**: Any language
### Business Text
- **Input (EN)**: "We are pleased to announce the launch of our new product line"
- **Target**: Any language
### Casual Conversation
- **Input (EN)**: "Hey! Want to grab some coffee later?"
- **Target**: Any language
## Testing Tips
1. **Short Sentences**: Start with simple, short sentences for best results
2. **Context**: Provide context when translating ambiguous words
3. **Formal vs Informal**: The model generally produces formal translations
4. **Idioms**: Idiomatic expressions may not translate literally
5. **Names**: Proper nouns usually remain unchanged
6. **Numbers**: Numbers and dates are typically preserved
## Known Limitations
- Maximum input length: ~512 tokens (approximately 400 words)
- Some language pairs may have lower quality than others
- Idiomatic expressions may lose meaning in translation
- Cultural context may not always be preserved
- Technical jargon might not translate accurately in all languages
## Evaluation Criteria
When testing translations, consider:
- **Accuracy**: Does it convey the correct meaning?
- **Fluency**: Does it sound natural in the target language?
- **Grammar**: Is the grammar correct?
- **Context**: Is the context preserved?
- **Tone**: Is the formality level appropriate?