question

27051995 avatar image
0 Votes"
27051995 asked VivekSinha-9774 edited

How to deploy ML Designer pipeline as real-time inference pipeline using N-Gram

Hi,
i deployed a real-time inference pipeline using ML Designer. Training and deploying works fine. But when I'm consuming/testing my API it doesn't work. Postman gives me Errorcode 500 and "Internal Server Error. Run: Server internal error is from Module Extract N-Gram Features from Text".

This is my training pipeline:
42733-image.png

I read this: https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/machine-learning/algorithm-module-reference/extract-n-gram-features-from-text.md#score-or-publish-a-model-that-uses-n-grams

But I don't know how to achieve this.

Thanks in advance.

azure-machine-learningazure-machine-learning-inference
image.png (104.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LuZhang-4441 avatar image
0 Votes"
LuZhang-4441 answered

Once you create a real-time inference pipeline, please make the further modifications below:

  1. Find the output Result_vocabulary dataset from Extract N-Gram Features from Text module.
    42884-findmoduleoutputdataset.png

  2. Register the dataset as with a name
    42905-registerdataset.png

  3. Update real-time inference pipeline like below:
    42865-inferencepipeline.png


We will improve the documentation accordingly. Thanks for reporting the issue!


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

VivekSinha-9774 avatar image
0 Votes"
VivekSinha-9774 answered VivekSinha-9774 edited

Hi @LuZhang-4441 do not see Output datasets to select for registering them. How should I proceed? I have also attached screenshot.

92011-image.png

Input datasets
None

Output datasets
None



image.png (30.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.