5 मिनट में Potato के साथ शुरुआत करें
Installation से अपने पहले labeled data तक, Potato के साथ अपना पहला annotation project सेट करने के लिए एक त्वरित गाइड।
5 मिनट में Potato के साथ शुरुआत करें
Annotating शुरू करने के लिए तैयार हैं? यह quick tutorial आपको 5 मिनट से कम में data labeling करवा देगा। हम basics demonstrate करने के लिए एक simple sentiment analysis task बनाएंगे।
चरण 1: Potato Install करें
पहले, pip का उपयोग करके Potato install करें:
pip install potato-annotationInstallation verify करें:
potato --versionचरण 2: अपना Configuration बनाएं
इस minimal configuration के साथ config.yaml नामक एक फ़ाइल बनाएं:
annotation_task_name: "Quick Start Sentiment Analysis"
# Your data file
data_files:
- data.json
# Annotation interface
annotation_schemes:
- annotation_type: radio
name: sentiment
description: "What is the sentiment of this text?"
labels:
- Positive
- Negative
- Neutralचरण 3: Sample Data बनाएं
कुछ sample texts के साथ एक data.json फ़ाइल बनाएं:
{"id": "1", "text": "I love this product! It's amazing!"}
{"id": "2", "text": "Terrible experience. Would not recommend."}
{"id": "3", "text": "The weather is partly cloudy today."}
{"id": "4", "text": "Best purchase I've ever made!"}
{"id": "5", "text": "This is the worst service I've encountered."}चरण 4: Annotating शुरू करें
Annotation server launch करें:
potato start config.yamlअपने browser को http://localhost:8000 पर खोलें। आपको annotation interface दिखेगा!
चरण 5: अपना Data Label करें
- किसी भी username से log in करें (Potato accounts automatically बनाता है)
- प्रदर्शित text पढ़ें
- उचित sentiment label select करें
- Save करने और अगले item पर जाने के लिए "Submit" click करें
चरण 6: अपने Annotations Export करें
आपके annotations automatically annotation_output/ folder में save होते हैं। प्रत्येक annotator का काम एक अलग फ़ाइल में save होता है।
अपने annotations देखने के लिए:
cat annotation_output/your_username.jsonlआगे क्या?
बधाई हो! आपने अपना पहला annotation task पूरा कर लिया। आगे कहाँ जाएं:
- Keyboard shortcuts जोड़ें: Hotkeys के साथ annotation तेज़ करें
- Interface customize करें: Instructions, tooltips, और validation जोड़ें
- Multiple annotators सेट करें: User management और quality control configure करें
- Annotation types explore करें: Spans, checkboxes, Likert scales, और अधिक try करें
प्रत्येक feature पर detailed guides के लिए हमारी documentation देखें, या complete configuration examples के लिए showcase browse करें।
परेशानी हो रही है? हमारा FAQ check करें या GitHub पर issue खोलें।