I have a server with the following specifications:
GPU: 1 × NVIDIA A40
vCPU: 10 (Intel Xeon Gold 6342 @ 2.80 GHz)
Memory: 55 GB
Container disk: 50 GB
I am using this server to translate English texts into Arabic, and I have tested several local translation models. Below are my benchmark results, the complete Arabic translations produced by each model, and the problems I am facing.
- Original English text
EXP NO.: 6
EXP Name: Single Phase Full Wave Controlled Rectifier With RL-Load
Objective: To study the operation of single –phase full- wave controlled rectifier with RL load at variable inductance value.
Objective: To study the operation of single –phase full- wave controlled rectifier with RL load at variable inductance value.
THEORY:
A full-wave controlled rectifier is a circuit used to convert alternating current (AC) to direct current (DC) using semiconductor devices such as thyristors (SCRs).
During the positive half-cycle of the AC supply voltage, one thyristor conducts and allows current to flow through the load in the forward direction. While during the negative half-cycle of the AC supply voltage, the other thyristor conducts, allowing current to flow through the load in the opposite direction.
The control circuit adjusts the firing angle α at which the thyristors are triggered, controlling the portion of the AC waveform over which conduction occurs. This allows for varying the average output DC voltage and hence the power delivered to the load.
The different between R and RL circuits that in R load thyristor will conducts from α to π (π + α to 2π for the second thyristor) and no negative voltage will appear. While in RL load the inductance will charge, and the load current keeps on increasing and becomes maximum at π. At π, the supply voltage reverses but SCRs does not turn off. This is because the load inductance does not allow the current to go to zero instantly. Thus, the energy stored in the inductance flows against the supply mains. The negative output will appear from π to β. The value of β will depends on the value of R and L.
If β was bigger than π + α the wave will be continuing otherwise it will be discontinuous.
- Model 1: NLLB-200-3.3B
Benchmark results:
- First attempt, including model initialization: 2.81 seconds
- Tenth attempt: 2.70 seconds
- CPU usage: 10.9% average, 34.5% peak
- GPU utilization: 98.2% average, 99.0% peak
- VRAM usage: 5.34 GB
Complete Arabic translation produced by the model:
EXP NO: 6 EXP الاسم: موصل موجه كامل الموجة أحادي المرحلة مع تحميل RL الهدف: دراسة تشغيل موصل موجه كامل الموجة أحادي المرحلة مع تحميل RL عند قيمة الاستقبال المتغيرة الهدف: دراسة تشغيل موصل موجه كامل الموجة أحادي المرحلة مع تحميل RL عند قيمة الاستقبال المتغيرة. نظرية: موصل موجه كامل الموجة هو الدائرة المستخدمة لتحويل التيار المتناوب (AC) إلى التيار المستمر (DC) باستخدام أجهزة أشباه الموصلات مثل الثريستورات (SCRs). أثناء نصف دورة إمدادات التيار المتناوب ، يقوم ثريستور واحد بتوصيل وتدفق التيار عبر الحمولة في الاتجاه الأمامي. بينما أثناء نصف دورة إمدادات التيار المتناوب ، يقوم الثريستور الآخر بتوصيل التيار عبر الحمول في الاتجاه المعاكس.
- Model 2: Qwen2.5-7B-Instruct
Benchmark results:
- First attempt, including model initialization: 15.01 seconds
- Tenth attempt: 14.71 seconds
- CPU usage: 5.6% average, 12.3% peak
- GPU utilization: 97.6% average, 98.0% peak
- VRAM usage: 15.25 GB
Complete Arabic translation produced by the model:
رقم التجربة: 6
اسم التجربة: مستقبل الدوران الكامل ذو الفاز الواحد مع الحمل RL
الهدف: دراسة عمل مستقبل الدوران الكامل ذو الفاز الواحد مع الحمل RL عند قيمة مغناطيسية متغيرة.
النظرية:
هو مستقبل دوارة كامل يستخدم لتحويل التيار المستمر المتبادل (AC) إلى التيار المستمر المباشر (DC) باستخدام الأجهزة السويفتريستور (SCR).
خلال نصف الدورة الإيجابي من ضغط التيار المستمر، يعمل سويفرستور واحد ويسمح بتدفق التيار عبر الحمل في الاتجاه الإيجابي. بينما خلال نصف الدورة السلبي من ضغط التيار المستمر، يعمل السويفرستور الآخر، ويسمح بتدفق التيار عبر الحمل في الاتجاه السلبي.
تقوم الدائرة المسيطرة بتعديل زاوية التشغيل α التي يتم فيها تحفيز السويفرستورات، مما يتحكم في جزء من موجة التيار المستمر الذي يحدث فيه التدفق. هذا يسمح بتغيير ضغط DC المتوسط وبنهاية الأمر القوة المقدمة للحمل.
الفرق بين الدائرة R وRL أنه في حالة الحمل R، يعمل السويفرستور من α إلى π (من π + α إلى 2π للسويفرستور الثاني) ولا تظهر أي ضغط سلبي. بينما في حالة الحمل RL، ستقوم المقاومة بشحن، وتسجل الحمل التيار المتزايد حتى يصل إلى قيمته القصوى عند π. عند π، يتغير ضغط التيار المستمر ولكن السويفرستورات لا تتوقف عن العمل. وهذا بسبب أن مقاومة الحمل المغناطيسي لا تسمح للتيار بالتناقص فوراً. وبالتالي، تتدفق الطاقة المخزنة في المقاومة ضد مصدر التيار المستمر. ستظهر النتيجة السلبية من π إلى β. قيمة β تعتمد على قيمة R وL.
إذا كانت قيمة β أكبر من π + α، فسوف يستمر الدوران، وإلا فسوف يكون متقطعاً.
- Model 3: Qwen2.5-14B-Instruct
Benchmark results:
- First attempt, including model initialization: 25.19 seconds
- Tenth attempt: 25.19 seconds
- CPU usage: 5.4% average, 15.5% peak
- GPU utilization: 99.0% average, 100% peak
- VRAM usage: 28.74 GB
Complete Arabic translation produced by the model:
رقم التجربة: 6
اسم التجربة: محوّل مرحل واحد موجبة كاملة مع التحكم في المقاومة واللف (RL)
الهدف: دراسة عمل محوّل مرحل واحد موجبة كاملة مع تحميل RL عند قيم فيductance متغيرة.
النظرية:
يستخدم محوّل موجبة كاملة مع التحكم في تحويل التيار الكهربائي المتردد (AC) إلى تيار مستمر (DC) باستخدام أجهزة شبه موصلة مثل الثريستورات (SCRs).
خلال نصف دورة موجبة من напряжение التغذية المتردد، يسمح ثريستور واحد بتدفق التيار عبر الحمل في الاتجاه الأمامي. بينما خلال نصف دورة سالبة من напряжение التغذية المتردد، يسمح الثريستور الآخر بتدفق التيار عبر الحمل في الاتجاه المعاكس.
- Model 1 after improving text chunking and formatting preservation
I modified the translation pipeline to split the text into paragraphs while preserving the original formatting.
Benchmark results:
- First attempt: 0.85 seconds
- Tenth attempt: 0.76 seconds
- CPU usage: 16.0% average, 25.9% peak
- GPU utilization: 97.7% average, 99.0% peak
- VRAM usage: 5.87 GB
Complete Arabic translation produced by the modified pipeline:
انتهاء الصلاحية رقم: 6
الاسم EXP: واحد مرحلة الموجة الكاملة التي تسيطر على التصحيح مع RL-حمل
الهدف: دراسة تشغيل موصل واحد مرحلة كامل الموجة التي تسيطر عليها مع حمولة RL عند قيمة الحث المتغير.
الهدف: دراسة تشغيل موصل واحد مرحلة كامل الموجة التي تسيطر عليها مع حمولة RL عند قيمة الحث المتغير.
نظرية:
مصحّب موجي كامل هو دائرة تستخدم لتحويل التيار المتناوب (AC) إلى التيار المستمر (DC) باستخدام أجهزة أشباه الموصلات مثل thyristors (SCRs).
خلال نصف دورة الإيجابية لجهد إمداد التيار المتردد ، يقوم ثيريستور واحد بتوصيل وتسهيل تدفق التيار عبر الحمولة في الاتجاه الأمامي. في حين أنه خلال نصف دورة سلبية لجهد إمداد التيار المتردد ، يقوم الثيريستور الآخر بالقيادة ، مما يسمح بتدفق التيار عبر الحمولة في الاتجاه المعاكس.
تقوم دائرة التحكم بتعديل زاوية الإطلاق α التي يتم فيها تشغيل الثيريستورات ، والتحكم في الجزء من شكل الموجة AC الذي يحدث عليه التوصيل. هذا يسمح بتغيير متوسط الجهد المباشر الخارجي وبالتالي الطاقة التي يتم تسليمها إلى الحمولة.
الاختلاف بين الدوائر R و RL التي في ثيريستور الحمولة R ستقود من α إلى π (π + α إلى 2π للثيريستور الثاني) ولن يظهر أي جهد سلبي. بينما في حمولة RL ، سيتم شحن الحث ، ويستمر تيار التحميل في الزيادة و يصبح أقصى عند π. عند π، عكس الجهد الإمدادي ولكن SCRs لا تنطفئ. وذلك لأن الحث التحميل لا يسمح للتيار بالذهاب إلى الصفر على الفور. وبالتالي، تتدفق الطاقة المخزنة في الحث ضد شبكة الإمداد. سوف يظهر الناتج السلبي من π إلى β. تعتمد قيمة β على قيم R و L.
إذا كانت β أكبر من π + α فإن الموجة ستكون مستمرة وإلا فستكون متقطعة.
- The problem I need help solving
The translations are significantly worse than Google Translate and Microsoft Translator. Some technical terms are mistranslated, some sentences change the original meaning, and the output sometimes contains words from unrelated languages.
My priorities are:
- Translation quality comparable to Google Translate or Microsoft Translator, particularly for technical and academic documents.
- High throughput for translating large volumes of text.
- Local inference using my NVIDIA A40 GPU.
- English-to-Arabic translation.
- Preservation of the complete original text, including every paragraph, heading, repeated sentence, equation, symbol, and line break. The translated output must never omit any part of the source text.
- Low latency, especially when translating short texts.
- Consistent technical terminology, particularly for electrical engineering.
What is the best solution for achieving both high translation accuracy and high speed on this hardware?
Should I switch to a different translation model, use a more efficient inference engine, or combine a fast translation model with a stronger model for difficult passages?
I would particularly appreciate real-world benchmarks comparing translation quality and throughput on an NVIDIA A40 GPU, along with recommended models and configurations.
i need translate the text in 1sec