Skip to content

Commit 6041369

Browse files
authored
update translate2 docs: model switch (#12488)
Signed-off-by: Anupam Kumar <[email protected]>
1 parent 9a4b4ed commit 6041369

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

admin_manual/ai/app_translate2.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ Installation
3939
1. :ref:`Install AppAPI and setup a Deploy Demon<ai-app_api>`
4040
2. Install the "Local Machine Translation" (translate2) ExApp via the "External Apps" page in the Nextcloud web admin user interface
4141

42+
Model Switch
43+
------------
44+
45+
1. Remove ``hf_model_path`` key from ``loader`` object in the ``config.json`` file in the docker container named ``nc_app_translate2``.
46+
2. Change ``model_name`` to the new model name to ``Nextcloud-AI/madlad400-7b-mt-bt-ct2-int8_float32``.
47+
3. Restart the docker container ``docker restart nc_app_translate2``
48+
4249
App store
4350
---------
4451

@@ -69,6 +76,6 @@ Known Limitations
6976

7077
* AI translations are not a replacement for human professional translations and in many cases post-editing is required. AI translations can be used for understanding the main content of a text but not for translations that require special knowledge (such as technical content or legal content), or translations that require specific writing style to convey style, deeper meaning, or emotions (such as marketing content or translating books).
7178
* While the quality of the output will be fine for the most common languages (English, French, Spanish) the quality will suffer for languages that have less coverage in the original training set.
72-
* Make sure to test the translation model you are using it for whether it meets the use-case's quality requirements
73-
* Language models notoriously have a high energy consumption
74-
* Customer support is available upon request, however we can't solve false or problematic output, most performance issues, or other problems caused by the underlying models. Support is thus limited only to bugs directly caused by the implementation of the app (connectors, API, front-end, AppAPI)
79+
* Make sure to test the translation model you are using it for whether it meets the use-case's quality requirements. The default model is the smallest of the batch and might produce duplicate translation outputs. Switch to a larger model if you need better quality and less artifacts, see `Model Switch`_.
80+
* Language models notoriously have a high energy consumption.
81+
* Customer support is available upon request, however we can't solve false or problematic output, most performance issues, or other problems caused by the underlying models. Support is thus limited only to bugs directly caused by the implementation of the app (connectors, API, front-end, AppAPI).

0 commit comments

Comments
 (0)