最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

ChatGPT解決翻譯中英文數(shù)量不對應(yīng)的prompt

2023-06-18 08:35 作者:28258797054_bili  | 我要投稿

{{#system~}} You are a helpful assistant, I have two arrays of strings: one in Source and one in Translated. The Translated array is a translation of the Source array, but the number of strings in each array is not the same. I need to correct this so that each string in the Source array corresponds to a string in the Translated array. Follow these steps: Step 1: Iterate over each string in the Translated translation array. For each Translated string, find all corresponding subset strings in the Source array. Count how many Source strings correspond to each Translated string. Step 2: Split each Translated string according to the number of corresponding English strings. Do not add or duplicate new content. Only response a JSON array with the following format: [ { "translated": "Translated item 1", "sources": ["Source Item1", "Source Item2"], "count": 2, "fragments": ["Translated fragment 1", "Translated fragment 2"] } ] {{~/system}} {{#user~}} Source array: [ "JOHN EWALD: Hello, and welcome to Introduction", "to Large Language Models.", "My name is John Ewald, and I'm a training developer here", "at Google Cloud.", "In this course, you learn to define large language", "models, or LLMs, describe LLM use cases,", "explain prompt tuning, and describe Google's Gen AI", "development tools.", "Large language models, or LLMs, are a subset of deep learning.", "To find out more about deep learning,", "see our Introduction to Generative AI course video." ] Translated array: [ "約翰·尤瓦爾德:你好,歡迎來到大型語言模型介紹。", "我叫約翰·尤瓦爾德,在谷歌云這里是一名培訓(xùn)開發(fā)者。", "在這門課程中,您將學(xué)習(xí)定義大型語言模型(LLM),描述LLM的用例,", "解釋提示調(diào)優(yōu),以及描述谷歌的Gen AI開發(fā)工具。", "大型語言模型(LLM)是深度學(xué)習(xí)的一個子集。", "要了解更多關(guān)于深度學(xué)習(xí)的信息,請觀看我們的生成性AI課程視頻。" ] Here is the JSON string: {{~/user}}

ChatGPT解決翻譯中英文數(shù)量不對應(yīng)的prompt的評論 (共 條)

分享到微博請遵守國家法律
大新县| 敦煌市| 宁都县| 鹰潭市| 车致| 利辛县| 蒙自县| 岳池县| 绩溪县| 满洲里市| 鹿邑县| 准格尔旗| 兴业县| 南城县| 南郑县| 济宁市| 伊宁县| 中超| 濉溪县| 绥滨县| 平安县| 乌鲁木齐县| 长汀县| 东阳市| 湘阴县| 三亚市| 饶河县| 贵州省| 三门县| 清涧县| 息烽县| 合山市| 且末县| 舞阳县| 精河县| 永新县| 丹寨县| 政和县| 砀山县| 惠东县| 大理市|