--- title: Hebrew-Aramaic Translator emoji: 📚 colorFrom: purple colorTo: blue sdk: streamlit sdk_version: 1.28.0 app_file: app.py pinned: false license: mit --- # Hebrew-Aramaic Translator A modern, interactive web application for translating from Samaritan Hebrew to Samaritan Aramaic using the Hugging Face model `johnlockejrr/opus-mt-arc-heb`. ## 🌟 Features - **Samaritan Hebrew to Samaritan Aramaic Translation**: Specialized translation for Samaritan texts - **Modern UI**: Clean, responsive design with gradient styling - **Real-time Translation**: Instant translation with progress indicators - **Batch Processing**: Upload text files for bulk translation - **Copy to Clipboard**: Easy copying of translation results - **Customizable Settings**: Adjustable output length ## 🚀 Try it out! 1. **Enter your Samaritan Hebrew text** in the input area 2. **Click "🔄 Translate"** to get instant results 3. **Copy or download** your translations ## 📁 Batch Translation Upload a text file with multiple lines to translate them all at once. Results can be downloaded as a CSV file. ## 🔧 Model Information - **Model**: `johnlockejrr/opus-mt-arc-heb` - **Type**: Sequence-to-Sequence Translation Model - **Framework**: Hugging Face Transformers + PyTorch - **Languages**: Samaritan Hebrew → Samaritan Aramaic ## 🛠️ Technical Details - **Backend**: Streamlit + PyTorch + Transformers - **Caching**: Model is cached for faster subsequent loads - **Device**: Automatically uses GPU if available, falls back to CPU - **Styling**: Custom CSS with gradient backgrounds and modern design ## 📖 Usage Examples ### Samaritan Hebrew to Samaritan Aramaic Input: `ויאמר אלהים יהי רקיע בתוך המים` Output: `ואמר אלהים יהי רקיע בגו מיה` ## 🔗 Related Links - [Model on Hugging Face](https://huggingface.co/johnlockejrr/opus-mt-arc-heb) - [Source Code](https://github.com/your-repo/hebrew-aramaic-translator) ## 📄 License This application uses the `johnlockejrr/opus-mt-arc-heb` model from Hugging Face. Please refer to the model's license for usage terms.