docs/source/guide/ml_tutorials/flair.md
This example demonstrates how to use Flair NER model with Label Studio.
Before you begin, you must install the Label Studio ML backend.
This tutorial uses the flair example.
http://localhost:9090docker-compose up
$ curl http://localhost:9090/health
{"status":"UP"}
http://localhost:9090.<View>
<Labels name="label" toName="text">
<Label value="PER" background="red"/>
<Label value="ORG" background="darkorange"/>
<Label value="LOC" background="orange"/>
<Label value="MISC" background="green"/>
</Labels>
<Text name="text" value="$text"/>
</View>
FLAIR_MODEL_NAME: The name of the Flair model to use. Default is ner. See all options here