为什么AutoML不接受与quickstart中的示例相同的jsonl格式?

时间:2019-05-22 11:14:16

标签: google-cloud-platform google-cloud-automl google-cloud-automl-nl

我将JSONL文件和CSVL文件作为TRAIN上载了指向JSONL文件的文件到云存储中。我用CSV文件加载了自然语言。

CSV文件内容:

TRAIN,gs://unique/example/test.jsonl

JSONL文件内容:

{"text_snippet":{"content":"Mr. Anand Mahindra is the Chairman of the US $20.7 billion Mahindra Group and the Executive Chairman of Mahindra & Mahindra Ltd. His tenure has seen the Group expand domestically and internationally into a range of major industrial sectors from automobiles and agriculture to IT and aerospace. The Group has also grown inorganically through acquisitions such as Ssangyong Motors, Reva Electric Car Company, Satyam Computer Services, Peugeot Motorcycles, Gippsland Aeronautics, Aerostaff Australia, Holiday Club Resorts, and Pininfarina S.p.A. He has served on several influential bodies, national and international. These include the UN Global Compact Board, Global Board of Advisors of the Council on Foreign Relations, World Bank Group’s Advisory Board for Doing Business and the International Advisory Council of Singapore’s Economic Development Board."}}

自然语言引发错误: 错误:gs://unique/example/test.jsonl无法解析为JSONL。如果我删除所有单引号,

  

'

然后将文件正确加载到自然语言中。 但是Google本身提供的示例数据集却在其中单引号。

Google's example dataset

我在做什么错了?

0 个答案:

没有答案