• Jeremy Whittington 9
  • 0 Points
  • Member since 2017

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 0
I have created a data set and uploaded it successfully to the einstein API's. But when I try to train I get the error "Trainer process failed to complete" and I dont see any way to get more details about why its faililng.

Here is a sample of the data ive uploaded.
"  Borrower added on 12/22/11 > I need to upgrade my business technologies.<br>","Fully Paid"
"  Borrower added on 12/13/11 > Pay off my credit card, finish my house to refinance,appraised two years ago at $200.000 from an appraiser, <br>","Charged Off"
Here are the calls ive made:
curl -X POST -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "path=<URL>" -F "type=text-intent"  https://api.einstein.ai/v2/language/datasets/upload -k

{"id":1011898,"name":"loan_prepped.csv; filename*=UTF-8''loan_prepped.csv","createdAt":"2017-09-03T16:44:55.000+0000","updatedAt":"2017-09-03T16:44:55.000+0000","labelSummary":{"labels":[]},"totalExamples":0,"available":false,"statusMsg":"UPLOADING","type":"text-intent","object":"dataset"}

curl -X POST -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "name=Case Status Model" -F "datasetId=1011898" -F "trainParams={\"trainSplitRatio\":0.7}" https://api.einstein.ai/v2/language/train -k

{"datasetId":1011898,"datasetVersionId":0,"name":"Weather Intent Model","status":"QUEUED","progress":0,"createdAt":"2017-09-03T16:50:43.000+0000","updatedAt":"2017-09-03T16:50:43.000+0000","learningRate":0.0,"epochs":0,"queuePosition":3,"object":"training","modelId":"OPLZANLBXC6ILDY5W5XQVVPUKA","trainParams":{"trainSplitRatio":0.7},"trainStats":null,"modelType":"text-intent"}
And here is the status of the model:
curl -X GET -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" https://api.einstein.ai/v2/vision/datasets/1011898/models -k

{"object":"list","data":[{"datasetId":1011898,"datasetVersionId":7273,"name":"Weather Intent Model","status":"FAILED","progress":0.01,"createdAt":"2017-09-03T16:50:43.000+0000","updatedAt":"2017-09-03T16:54:57.000+0000","failureMsg":"Trainer process failed to complete","object":"model","modelId":"OPLZANLBXC6ILDY5W5XQVVPUKA","modelType":"text-intent"}]}
What I would like to know is how to troubleshoot issues? Are there log files somewhere? Any way to enable debug?