{{"The model is trained on similar synthetic data: same labels, but different ID entries"}}
{% endif %}
{% if opt[3] not in ["CH"] and opt[0] != "zeroshot" %}
{{"The model is trained on Swiss ID cards, and has been shown afterwards 200 "+opt[3]+
" ID card examples (without providing information which label means what): new labels, but already seen in unsupervised learning"}}
{% endif %}
{% if opt[3] not in ["CH"] and opt[0] == "zeroshot" %}
{{"The model is trained on Swiss ID cards, and has not been shown any "+opt[3]+
" ID card examples: everything is new (data and labels)"}}
{% endif %}
</h4>
<h2>Select a different model</h2>
<input type="checkbox" id="zeroshot" name="zeroshot" value="zeroshot" {{'checked="checked"' if opt[0]=="zeroshot" else ""}}>
<label for="zeroshot"> Zero shot (no finetuning to the custom dataset) </label>
<br>
<input type="radio" id="gpt2" name="model" value="gpt2" {{'checked="checked"' if opt[1]=="gpt2" else ""}}>
<label for="gpt2"> GPT2 </label>
<input type="radio" id="roberta" name="model" value="roberta" {{'checked="checked"' if opt[1]=="roberta" else ""}}>
<label for="roberta"> RoBERTa </label>
<input type="radio" id="xlmr" name="model" value="xlmr" {{'checked="checked"' if opt[1]=="xlmr" else ""}}>
<label for="xlmr"> XLM-R </label>
<br>
<button class="btn" type="submit" formaction="/model_settings">Update model settings</button><br>
<br>
Model name (that is loaded): {{opt[2]}} <br>
</div>
</form>
<br>
<div class="form-group">
<small id="help-text" class="form-text text-muted">Model developed for the Master thesis of Nicolà Gantenbein<br><br>
The ID cards use synthetic data generated by GPT2. Names and cities look similar as it is in the chosen country, but they might not exist in real live.
<br>
To fine tune the model (when not using zero shot model version), the model has been retrained with the models answer with a confidence score higher then 0.5.
It is unsupervised finetuning. If the model extracts a wrong solution with high confidence score, it will be anyway used for fine tuing. There is no human in the loop.