misyaguziya
7d0f63c118
CTranslate2に対応する翻訳言語の設定を追加し、翻訳ロジックを更新
2025-10-14 23:15:49 +09:00
misyaguziya
6fc89fbb3e
Merge branch 'develop' into translate_api
...
# Conflicts:
# requirements.txt
# requirements_cuda.txt
# src-python/config.py
# src-python/mainloop.py
# src-python/model.py
# src-python/models/osc/osc.py
# src-python/models/translation/translation_languages.py
# src-python/models/translation/translation_translator.py
# src-python/models/translation/translation_utils.py
2025-10-14 12:47:47 +09:00
misyaguziya
b26129af68
翻訳モジュールのドキュメントを更新し、セットアップ手順やAPI使用例を追加。型注釈を強化し、関数の戻り値を明示化。エラーハンドリングを改善し、コードの可読性を向上。
2025-10-09 17:30:48 +09:00
misyaguziya
a167e57ff0
[Update] Test: Add translation tests for all language pairs and log results
...
[Update] remove unsupported langs
2025-10-07 13:33:04 +09:00
misyaguziya
4572aee2b7
[Update] Controller and Model: Refactor translation device management and add parameter change tracking
2025-10-06 16:40:05 +09:00
misyaguziya
ca07aef201
[Update] Translator: Add check to return original message if source and target languages are the same
2025-10-05 17:15:25 +09:00
misyaguziya
245855d0ca
[Update] Add compute type management for CTranslate2 and Whisper models
2025-09-17 10:35:34 +09:00
misyaguziya
224eaf3cef
[Add] translation_gemini: Integrate Gemini translation model and authentication; [Update] controller: Implement methods for managing Gemini models and auth keys; [Update] mainloop: Add routes for Gemini model and auth key management; [Update] translation: Enhance Translator class for Gemini API support; [Update] translation_languages: Add Gemini language mappings
2025-09-15 17:42:09 +09:00
misyaguziya
e3555d204e
[Update] requirements: Add langchain-google-genai to dependencies; [Add] translation_gemini: Implement GeminiClient for translation functionality
2025-09-12 14:40:35 +09:00
misyaguziya
bc269bc1fb
[Update] translation: Integrate Plamo API support with model selection and authentication features
2025-09-11 14:15:26 +09:00
misyaguziya
f5ebcd7bd8
[Update] translation: Add Plamo API support with authentication and translation functionality
2025-09-10 17:52:42 +09:00
misyaguziya
83a61e2e87
[Update] translation: Add support for new translation models and improve weight handling
2025-09-08 16:27:47 +09:00
misyaguziya
6fb7ecbc52
[Update] translation_utils.py: Refactor weight handling and improve error logging
...
add translate model
- jncraton/m2m100_418M-ct2-int8
- jncraton/m2m100_1.2B-ct2-int8
- OpenNMT/nllb-200-3.3B-ct2-int8
- OpenNMT/nllb-200-distilled-1.3B-ct2-int8
2025-09-07 23:59:20 +09:00
misyaguziya
a619cd6114
[update] Upgrade deepl package version to 1.22.0 and refactor translation code to use DeepLClient
2025-05-15 12:38:54 +09:00
misyaguziya
bdf67ab7c8
🐛 [bugfix] offline時の処理を修正
2025-02-12 13:48:16 +09:00
misyaguziya
78d79f4a54
🐛 [bugfix] controller: offline時の処理を追加
2025-02-06 18:29:07 +09:00
misyaguziya
567907fc4d
🐛 [bugfix] Model : Added the ability to automatically select calculation types from GPU devices
2025-01-02 08:32:35 +09:00
misyaguziya
3fa819df3f
👍 ️[Update] All : 不要なprintLogを削除 / なるべくtry exceptした場合にはerrorLogを保存するように変更
2024-12-16 23:38:05 +09:00
misygauziya
030b8a9f01
👍 ️[Update] Main : error logのトレースバックの処理を集約
2024-12-16 14:22:49 +09:00
misyaguziya
2da19efb19
👍 ️[Update] Model : ブログレスの表示をmodel.binのダウンロードのみに変更/wisperのweightの表記に合わせてctanslate2のweightも小文字に変更
2024-10-30 10:30:31 +09:00
misyaguziya
d777339110
👍 ️[Update] Model : use_translation_featureを削除/それに伴い一部機能を修正
2024-10-30 00:37:41 +09:00
misyaguziya
7fd3fad3ea
👍 ️[Update] Model : AI モデルのダウンロード方法を修正
...
- AIモデルのダウンロード済み確認辞書を追加
- selectable_ctranslate2_weight_type_dict
- selectable_whisper_weight_type_dict
- AIモデルダウンロード処理完了のエンドポイントを追加
- /run/download_ctranslate2_weight
- /run/downloaded_whisper_weight
2024-10-29 22:58:18 +09:00
misyaguziya
af3fe1f0f9
👍 ️[Update] Model: cpu/cudaをtranslationもしくはtranscriptionで選択できるように実装
2024-10-23 13:41:34 +09:00
misyaguziya
5ba595cefe
🚧 [WIP/TEST] Model : CUDAでの処理実装 part 1
2024-10-18 16:16:42 +09:00
misyaguziya
9d7819b186
👍 ️[Update] Model : モデルのダウンロード処理をスレッドで進行するように変更
2024-09-04 14:19:21 +09:00
misyaguziya
c724f7d7ae
👍 ️[Update] Model : import のパスを修正
2024-09-01 17:59:07 +09:00
misyaguziya
4c2e4a6e04
👍 ️[Update] Model : status 348のlog を printLog関数に集約
2024-09-01 17:33:22 +09:00
misyaguziya
6886241154
👍 ️[Update] Model : FutureWarningが出るのでignoreで対応
...
huggingface_hub\file_download.py:1150: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
2024-08-31 16:10:00 +09:00
misyaguziya
83bf21c20e
👍 ️[Update] Main/Controller : CTranslate2/Whisper model weight download のDownload済みの場合の処理を追加
2024-08-11 19:02:55 +09:00
misyaguziya
633cdf246c
👍 ️[Update] Models : change print log to json format log
2024-08-11 13:51:48 +09:00
misyaguziya
1be04cb571
👍 ️ [Update] pythonのメイン処理部分を移動/webui_mainloop.pyをビルドできるように修正
2024-07-27 01:30:36 +09:00