question

Justin-5947 avatar image
0 Votes"
Justin-5947 asked KR-4566 answered

Adjust Text Analytics (Sentiment) Model

I am new to Azure services and just testing it out at the moment.

We are using cognitive services, specifically text analytics / sentiment detection to try and determine the sentiment of short phrases.

I am curious if there is some way to adjust the model being used for smaller amounts of text. Most of the text we are analyzing are about 140 characters long (short).

It seems like the sentiment analysis is tailored towards longer form text. Are there any options to set it to "short text" or to help train the model when we see "incorrect" analysis. I am just trying to find out if we can fine tune the service in any way.

Thanks in advance!

azure-cognitive-servicesazure-text-analytics
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.

ramr-msft avatar image
1 Vote"
ramr-msft answered ramr-msft commented

@Justin-5947 Thanks for the question. Can you please add more details about the Text analytics version that you are trying. The models are pretrained. We do not host custom models. If you want to create and host custom machine learning models, consider the machine learning capabilities. Please follow the Text Analytics API (v3.1-preview.3) API returns a detailed sentiment analysis for the input text. The analysis is done in multiple levels of granularity, start from the a document level, down to sentence and key terms (aspects) and opinions.

If you have a real dataset (preferably labeled but unlabeled is okay too if you can review the results with us) in any of the supported languages Language support - Text Analytics API - Azure Cognitive Services | Microsoft Docs and have interest in trying out our new Transformer based pre-trained AI models (A holistic representation toward integrative AI - Microsoft Research) – can you please reach out to me to evaluate it?
Your dataset will not be used to re-train the AI models, but we can fine tune the model if the results are not as desired.


· 2
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.

Thank you very much for the reply!

Can you please add more details about the Text analytics version that you are trying.

I believe I am using v3.0, my endpoint doesn't include v3.1-preview.3.

We do not currently have a custom model, but it is something we are considering.

We aren't making a great deal calls per day to the API (~100 now, but that will increase) so I've been able to manual review many of the results we are getting. In my opinion we are getting good results from the service and the need for a custom model might not be there.

It's good to know there are options for fine tuning if need; this was the information I was after.

Thank you again @ramr-msft


1 Vote 1 ·

@Justin-5947 Thanks for the update.

0 Votes 0 ·
KR-4566 avatar image
0 Votes"
KR-4566 answered

Hello @ramr-msft - I have a use case for the fine tuning opportunity you mentioned. Should I start a separate thread to start the evaluation process? Thank you!

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.