1.开源地址:https://huggingface.co/Helsinki-NLP/opus-mt-zh-en 2.使用场景:中译英,多模型场景的中英转换 3.API封装 importuvicornfromfastapiimportFastAPIfromloguruimportloggerfrompydanticimportBaseModelfromstarlette.middleware.corsimportCORSMiddlewarefromtransformersimportAutoTokenizer, AutoModelForSeq2SeqLM tokeni...
该模型使用开源的 opus-mt 作为其基础实现,并提供了相应的本地离线运行脚本。 在Python 中,可以使用以下代码来运行 HLS 的 opus-mt-zh-en 和 opus-mt-en-zh 模型: ```python import subprocess from nltk.translate.bleu_score import sentence_bleu, sentence_bleu_scores # 启动本地离线运行脚本 subprocess....
mazpy/trans-opus-mt-zh-en 加入Gitee 与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :) 免费加入 已有帐号?立即登录 master 克隆/下载 git config --global user.name userName git config --global user.email userEmail 分支1 ...
AIWizards /opus-mt-en-zh 任务: 翻译 框架: JAX PyTorch TensorFlow 其他: pytorch License: License: apache-2.0 加入合集 模型评测 部署 微调实例 下载模型 main opus-mt-en-zh 1 贡献者 提交历史 AIAlliesInit63eb851 1 年前 .gitattributes 391 BytesInit 1 年前 ...
免费查询更多helsinki-nlp/opus-mt-en-zh模型转onnx详细参数、实时报价、行情走势、优质商品批发/供应信息等,您还可以发布询价信息。
AIWizards /opus-mt-en-zh 任务: 翻译 框架: JAX PyTorch TensorFlow 其他: pytorch License: License: apache-2.0 加入合集 模型评测 部署 微调实例 下载模型opus-mt-en-zh 提交历史 Init 63eb851 AIAllies 1 年前 initial commit a36ca82 AIWizards 1 年前 initial commit 161847c AIWizards 1 ...
AIWizards /opus-mt-en-zh 任务: 翻译 框架: JAX PyTorch TensorFlow 其他: pytorch License: License: apache-2.0 加入合集 模型评测 部署 微调实例 下载模型 main opus-mt-en-zh 1 贡献者 提交历史 AIAlliesInit63eb851 1 年前 .gitattributes 391 BytesInit 1 年前 ...
/ opus-mt-en-zh 任务: 翻译 框架: JAXPyTorchTensorFlow 其他: pytorch License: License: apache-2.0 加入合集 模型评测 部署 微调实例 下载模型 1 贡献者 提交历史 AIAllies Init63eb851 11 个月前 .gitattributes 391 Bytes Init 11 个月前 README.md ...
/ opus-mt-en-zh 任务: 翻译 框架: JAXPyTorchTensorFlow 其他: pytorch License: License: apache-2.0 加入合集 模型评测 部署 微调实例 下载模型 1 贡献者 提交历史 AIAllies Init63eb851 1 年前 .gitattributes 391 Bytes Init 1 年前 README.md ...