In this step, we create our first model. You can either use promptranker to help you find the best labels and hypothesis hypotheses or skip this step with your preferred setting.
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
API Docs: https://api.symanto.net/active-learning/docs#/v2/create_model_v2__post |
Set up your model
Select Action:
from the side navigationStatus title Create New Select your dataset from the dropdown
Select the language of the text
Choose a model type
symanto_fast (for demonstration purposes, live demo, etc.)
symanto (for actual model training with a purpose)
Select or unselect the multi_label option (select it if the text classification task allows the prediction of multiple labels per single text instance. Otherwise, the task is considered as multi-class (or binary if only 2 labels are categorized).Status colour Blue title Optional Select the language of the text
Choose an embedding model
Choose symanto_brain_multilingual only if there is no specific language model for your selected language
Select the number of labels for your analysis
Add a model name or keep the automatically assigned oneStatus colour Blue title Optional
...
Define your labels
Info |
---|
As a brief reminder, when defining the text classification task, we need to associate a label text with the label name that we are intending to categorizecategorise. This label text, also referred sometimes as hypothesis or prompt, provides a semantic context to the model. |
...
Expland the 'Check or modify labels '
...
2. Select the number of labels you want to have using the slider
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
3. Provide label names, e.g.
2.
|
...
2.1. Use the slider to select up to 10 examples. 2.2. Change the label dropdown to see examples for each of your labels. |
...
Click ‘Create’
2.3. Change the assigned label if necessary 3. Click |
Expand | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
|
...
|
...
|
...
...
Enable “Inspect typical examples” to see how your model performs
Use the slider to select up to 10 examples.
Change the label dropdown to see examples for each of your labels.
...
The result is a table where each variation is ranked according to a calculated score. The higher the score, the more likely the given labels and hypothesis yield good results in a real scenario. |
...
4. Click |
...