ylz-translate


Nameylz-translate JSON
Version 0.2.4 PyPI version JSON
download
home_pageNone
Summary渐进式文档翻译系统-v1
upload_time2024-07-25 08:32:46
maintainerNone
docs_urlNone
authortoney88
requires_python<4.0,>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # setup
## step1 执行init_config,系统自动将config.yaml文件拷贝到~/.ylz_translate目录下
## step2 根据情况有关环境变量的设置:
### step2.1 LLM
#### export TOGETHER_API_KEYS=<用逗号分隔的together api token>
#### export TOGETHER_LLM_MODEL=<together llm model>  默认为 Qwen/Qwen1.5-72B-Chat

#### export SILICONFLOW_API_KEYS=<用逗号分隔的siliconflow api token>
#### export SILICONFLOW_LLM_MODEL=<siliconflow llm model> 默认为 alibaba/Qwen1.5-110B-Chat

#### export GROQ_API_KEYS=<用逗号分隔的groq api token>
#### export GROQ_LLM_MODEL=<groq llm model> 默认为 llama3-70b-8192

#### export DEEPSEEK_API_KEYS=<用逗号分隔的deepseek api token>
#### export DEEPSEEK_LLM_MODEL=<deepseek llm model>  默认为 deepseek-chat

#### export QIANFAN_API_KEYS=<用逗号分隔的qianfan api token>
#### export QIANFAN_SEC_KEYS=<用逗号分隔的qianfan sec token> 要与QIANFAN_API_KEYS对应
#### export QIANFAN_LLM_MODEL=<qianfan llm model>  默认为 Yi-34B-Chat

### step2.2 EMBEDDING
#### export TOGETHER_EMBEDDING_MODEL=<together embedding model>  默认为 BAAI/bge-large-en-v1.5

### step2.3 SEARCH_TOOL
#### export TAVILY_API_KEYS=<逗号分隔的tavily search api token>  

# run
## ylz_translate -h

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ylz-translate",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "toney88",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/4d/2b/53e30d669a60732d6bee3f93436d5cbee8a786906d1168f1ca9c968ec3aa/ylz_translate-0.2.4.tar.gz",
    "platform": null,
    "description": "# setup\n## step1 \u6267\u884cinit_config,\u7cfb\u7edf\u81ea\u52a8\u5c06config.yaml\u6587\u4ef6\u62f7\u8d1d\u5230\uff5e/.ylz_translate\u76ee\u5f55\u4e0b\n## step2 \u6839\u636e\u60c5\u51b5\u6709\u5173\u73af\u5883\u53d8\u91cf\u7684\u8bbe\u7f6e:\n### step2.1 LLM\n#### export TOGETHER_API_KEYS=<\u7528\u9017\u53f7\u5206\u9694\u7684together api token>\n#### export TOGETHER_LLM_MODEL=<together llm model>  \u9ed8\u8ba4\u4e3a Qwen/Qwen1.5-72B-Chat\n\n#### export SILICONFLOW_API_KEYS=<\u7528\u9017\u53f7\u5206\u9694\u7684siliconflow api token>\n#### export SILICONFLOW_LLM_MODEL=<siliconflow llm model> \u9ed8\u8ba4\u4e3a alibaba/Qwen1.5-110B-Chat\n\n#### export GROQ_API_KEYS=<\u7528\u9017\u53f7\u5206\u9694\u7684groq api token>\n#### export GROQ_LLM_MODEL=<groq llm model> \u9ed8\u8ba4\u4e3a llama3-70b-8192\n\n#### export DEEPSEEK_API_KEYS=<\u7528\u9017\u53f7\u5206\u9694\u7684deepseek api token>\n#### export DEEPSEEK_LLM_MODEL=<deepseek llm model>  \u9ed8\u8ba4\u4e3a deepseek-chat\n\n#### export QIANFAN_API_KEYS=<\u7528\u9017\u53f7\u5206\u9694\u7684qianfan api token>\n#### export QIANFAN_SEC_KEYS=<\u7528\u9017\u53f7\u5206\u9694\u7684qianfan sec token> \u8981\u4e0eQIANFAN_API_KEYS\u5bf9\u5e94\n#### export QIANFAN_LLM_MODEL=<qianfan llm model>  \u9ed8\u8ba4\u4e3a Yi-34B-Chat\n\n### step2.2 EMBEDDING\n#### export TOGETHER_EMBEDDING_MODEL=<together embedding model>  \u9ed8\u8ba4\u4e3a BAAI/bge-large-en-v1.5\n\n### step2.3 SEARCH_TOOL\n#### export TAVILY_API_KEYS=<\u9017\u53f7\u5206\u9694\u7684tavily search api token>  \n\n# run\n## ylz_translate -h\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "\u6e10\u8fdb\u5f0f\u6587\u6863\u7ffb\u8bd1\u7cfb\u7edf-v1",
    "version": "0.2.4",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "03ec9086a4d7cc6c7e90e7c01198ff3bc4b58602a524cc2657de9a84a6f679c9",
                "md5": "91cb1f89b14af5fe61d3d0f1e675877d",
                "sha256": "4b5e879404723e6d9bebe72d19bdb913235eb22f2f74388f55d7a69021e27047"
            },
            "downloads": -1,
            "filename": "ylz_translate-0.2.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "91cb1f89b14af5fe61d3d0f1e675877d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 42206,
            "upload_time": "2024-07-25T08:32:40",
            "upload_time_iso_8601": "2024-07-25T08:32:40.908371Z",
            "url": "https://files.pythonhosted.org/packages/03/ec/9086a4d7cc6c7e90e7c01198ff3bc4b58602a524cc2657de9a84a6f679c9/ylz_translate-0.2.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4d2b53e30d669a60732d6bee3f93436d5cbee8a786906d1168f1ca9c968ec3aa",
                "md5": "c64a5052f14d8401257a96f673e1f454",
                "sha256": "4c395af3026527308f8a3e362aa9049b6b9b7672562270b5b110551de2605e2f"
            },
            "downloads": -1,
            "filename": "ylz_translate-0.2.4.tar.gz",
            "has_sig": false,
            "md5_digest": "c64a5052f14d8401257a96f673e1f454",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 30690,
            "upload_time": "2024-07-25T08:32:46",
            "upload_time_iso_8601": "2024-07-25T08:32:46.316808Z",
            "url": "https://files.pythonhosted.org/packages/4d/2b/53e30d669a60732d6bee3f93436d5cbee8a786906d1168f1ca9c968ec3aa/ylz_translate-0.2.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-25 08:32:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ylz-translate"
}
        
Elapsed time: 0.47361s