multi-label / config.yaml
davidjurgens's picture
Deploy Potato demo: Potato — Multi-Label Classification
90d751b verified
Raw
History Blame Contribute Delete
965 Bytes
port: 9001
annotation_task_name: Simple Check Box Example
task_dir: .
output_annotation_dir: annotation_output/simple-checkbox/
output_annotation_format: tsv
annotation_codebook_url: ''
data_files:
- data/toy-example.csv
item_properties:
id_key: id
text_key: text
user_config:
allow_all_users: true
users: []
alert_time_each_instance: 10000000
annotation_schemes:
- annotation_type: multiselect
name: favorite_color
description: What colors are mentioned in the text?
labels:
- blue
- maize
- green
- white
sequential_key_binding: true
site_dir: default
ai_support:
enabled: true
endpoint_type: openai
ai_config:
model: gpt-4o-mini
api_key: ${OPENAI_API_KEY}
temperature: 0.7
max_tokens: 150
include:
all: true
cache_config:
disk_cache:
enabled: true
path: annotation_output/ai_cache.json
prefetch:
warm_up_page_count: 3
on_next: 2
on_prev: 1
require_no_password: true