Linux Format

Natural language translation

In this section, the translation environment I will be run in its native form. LibreTranslate also provides a Docker container under https://registry.hub. docker.com/r/libretranslate/ libretranslate. Its use, however, is not necessarily recommended – keep in mind that exposing CUDA acceleration to Docker, as outlined at https://docs.nvidia.com/datacenter/cloud-native/ container-toolkit/install-guide.html, is an involved and finicky process. Deployment of the underlying library can be handled via Pip, because the product is considered stable enough by the Python community. For reasons of comfort, we first create a virtual environment (the current environment is in parentheses) by entering the following commands: (base) ~$ conda create -n aitranslator (base) ~$ conda activate aitranslator (aitranslator) ~$

The actual download is then accomplished via (aitranslator) ~$ pip3

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format2 min read
For The Experts
Hyper’s reliance on a text file for configuration will appeal to many more experienced Linux users, and it’s a boon that Hyper both scans for changes to the file and can open the file via the main menu. In theory, you could customise how this termina
Linux Format1 min read
Qualcomm On Upstreaming To Linux
Qualcomm’s Snapdragon X Elite has received favourable reviews for its performance in Windows running on Arm PCs. In mid-May, the company’s developer blog also posted an announcement related to upstreaming Linux kernel support for its latest Snapdrago
Linux Format4 min read
User Interface And Appearance
Some Linux users like a black box with no adornments whatsoever, but the majority of us appreciate some user interface elements, particularly if they make the less common operations easy to discover. We like customisability in this area of computer u

Related