Translation
Transformers
Safetensors
Dutch
qwen3
text-generation
en-nl-translation
text-generation-inference
4-bit precision
Run this model with HF Jobs
Run OpenOranje/TweeTaal-nl-en-0.6B-mlx-4bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/OpenOranje/TweeTaal-nl-en-0.6B-mlx-4bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OpenOranje/TweeTaal-nl-en-0.6B-mlx-4bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use OpenOranje/TweeTaal-nl-en-0.6B-mlx-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenOranje/TweeTaal-nl-en-0.6B-mlx-4bit with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="OpenOranje/TweeTaal-nl-en-0.6B-mlx-4bit")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("OpenOranje/TweeTaal-nl-en-0.6B-mlx-4bit") model = AutoModelForCausalLM.from_pretrained("OpenOranje/TweeTaal-nl-en-0.6B-mlx-4bit", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files1234567892 unmodified lines121314151617---library_name: mlxtags:- en-nl-translation- translation- mlxlicense: apache-2.0datasets:- OpenOranje/ReOpus-ApolloBooks-EN-NL-1M2 unmodified linesmetrics:- bleu- rougebase_model: OpenOranje/TweeTaal-nl-en-0.6Bpipeline_tag: text-generation---123456782 unmodified lines1112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131---library_name: transformerstags:- en-nl-translation- translationlicense: apache-2.0datasets:- OpenOranje/ReOpus-ApolloBooks-EN-NL-1M2 unmodified linesmetrics:- bleu- rougebase_model:- Qwen/Qwen3-0.6B---# OpenOranje/TweeTaal-nl-en-0.6B## Model DescriptionThe TweeTaal-en-nl model has been fine-tuned on Dutch-English & English-Dutch translation pairs to provide accurate, fluent translations. The compact 0.6B parameter size makes it suitable for deployment in resource-constrained environments while maintaining strong translation quality.### Intended Use**Primary Use Case**: Translating Dutch text to English / English text to Dutch across various domains**Recommended Applications**:- General-purpose Dutch-to-English and English-to-Dutch translation- Content localization- Cross-lingual communication tools- Educational language learning applications## Performance### Benchmark Results<img src="https://github.com/OpenOranje/content/raw/main/images/translation-benchmarks.png" alt="Benchmarks" width="800">## Training Details### Training Procedure**Method**: Supervised Fine-Tuning (SFT)- The model was trained on parallel Dutch-English text pairs- Standard cross-entropy loss optimization- The base Qwen3-0.6b model was adapted specifically for translation tasks### Training DataThe model was trained on Dutch-English parallel corpora. (Note: Specify your actual dataset details, such as:- Dataset name and source- Number of training examples- Domain coverage (general, technical, literary, etc.)- Data preprocessing steps)## Usage### Basic Usage Example```pythonfrom transformers import AutoTokenizer, AutoModelForCausalLM# Load model and tokenizermodel_name = "OpenOranje/TweeTaal-nl-en-0.6B"tokenizer = AutoTokenizer.from_pretrained(model_name)model = AutoModelForCausalLM.from_pretrained(model_name)# Prepare inputdutch_text = "Hallo, hoe gaat het met je?"prompt = f"Translate from Dutch to English:\n{dutch_text}"message = [{"role":"user", "content": prompt}]# Generate translationinputs = tokenizer.apply_chat_template(message, return_tensors="pt")outputs = model.generate(**inputs, max_new_tokens=128, temperature=0.7)translation = tokenizer.decode(outputs[0], skip_special_tokens=True)print(translation)```### Prompt FormatThe model expects input in the following format:```Translate the following text from Dutch to English:\n{dutch_text}``````Translate the following text from English to Dutch:\n{english_text}```### Inference ParametersRecommended generation parameters:- **Temperature**: 0.7 (adjust for creativity vs. consistency)- **Max tokens**: Set based on expected translation length- **Top-p**: 0.9 (nucleus sampling)## Limitations- **Context Length**: Trained on 4096 Tokens- **Rare Words**: May struggle with highly specialized terminology or rare vocabulary not well-represented in training data- **Informal Language**: Performance on slang, dialects, or very informal Dutch may vary## Ethical Considerations- **Training Data Bias**: The model may reflect biases present in the training data- **Cultural Nuances**: Some cultural expressions may not translate perfectly## ContactFor questions or issues, please contact: [theaisarth@proton.me][kartikaggarwal98@gmail.com]---## Additional Resources- **Base Model**: [Qwen3-0.6B](https://huggingface.co/Qwen/Qwen3-0.6B)- **Training Code**: [TBD]- **Dataset**: [Data](https://huggingface.co/datasets/OpenOranje/ReOpus-ApolloBooks-EN-NL-1M)## Version History- **v1.0** (2025-10-24): Initial release---**License**: [Apache 2.0]
README.md+118-4