Update examples.en.mdx

pull/136/head
Elvis Saravia 2023-04-16 16:50:53 -06:00 committed by GitHub
parent 017b90e4c7
commit c23c4d60df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -134,11 +134,13 @@ Sentiment:
neutral
```
Perfect! This time the model returned `neutral` which is the specific label I was looking for. It seems that the example provided in the prompt helped the model to be specific in its output. To highlight why sometimes being specific is important, check out this example and spot the problem:
Perfect! This time the model returned `neutral` which is the specific label I was looking for. It seems that the example provided in the prompt helped the model to be specific in its output.
To highlight why sometimes being specific is important, check out the example below and spot the problem:
*Prompt:*
```
Classify the text into neutral, negative or positive.
Classify the text into nutral, negative or positive.
Text: I think the vacation is okay.
Sentiment:
@ -149,7 +151,7 @@ Sentiment:
Neutral
```
What is the problem here?
What is the problem here? As a hint, the made up `nutral` label is completely ignored by the model. Instead, the model outputs `Neutral` as it has some bias towards that label. But let's assume that what we really want is `nutral`. How would you fix this? Maybe you are explain the labels or add more examples to the prompt? If you are not sure, we will discuss a few ideas in the upcoming sections.
---