Почему AutoML не принимает формат jsonl, такой же, как в примере быстрого запуска? - PullRequest
0 голосов
/ 22 мая 2019

Я загрузил файл JSONL и файл CSV, указывающий на файл JSONL как TRAIN, в облачное хранилище. Я загрузил Естественный язык с файлом 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. Если я уберу все одинарные кавычки,

затем файл загружается в Natural Language без каких-либо ошибок. Но пример набора данных, предоставленного самим Google, содержит одинарные кавычки.

Пример набора данных Google

что я делаю не так?

...