Git Product home page Git Product logo

bsantraigi / dialog-human-labeling Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.79 MB

AWS Sagemaker Ground Truth Scripts for Human Evaluation of Dialog Response Generation Models | Supports Amazon Mechanical Turk (MTurk) / Private in-lab study backend

Python 15.04% HTML 74.28% CSS 0.85% Perl 2.15% Jupyter Notebook 7.68%
mturk mturk-scripts aws-sagemaker human-study dialogue-systems dialogue dialogue-generation dialogue-evaluation sagemaker

dialog-human-labeling's Introduction

AWS Sagemaker Scripts for Human Evaluation of Dialog Response Generation Models

Used Lambda function templates from Sagemaker Ground Truth Sample Scripts

Supports Amazon Mechanical Turk (MTurk) / Private in-lab study backend

For private / in-lab annotation create a private workforce from AWS Sagemaker dashboard using email-ids or usernames. Then distribute the account details to your annotators along with the Labeling portal sign-in URL (or Amazon Cognito).

After the annotation is complete you will get a consolidated output file like the one shown below.

[
  {
    "source-ref": "https://storage.googleapis.com/dialogue-resp-selection/gcp-dataset/samples/M2-60.txt",
    "dialog-labeling-demo10-private": {
      "annotationsFromAllWorkers": [
        {
          "workerId": "private.us-east-1.166160a28ba80787",
          "annotationData": {
            "content": "{\"response\":{\"label\":\"Response 2\"}}"
          }
        },
        {
          "workerId": "private.us-east-1.ef02e9a5ea346047",
          "annotationData": {
            "content": "{\"response\":{\"label\":\"Response 2\"}}"
          }
        }
      ]
    },
    "dialog-labeling-demo10-private-metadata": {
      "type": "groundtruth/custom",
      "job-name": "dialog-labeling-demo10-private",
      "human-annotated": "yes",
      "creation-date": "2019-10-27T10:35:45+0000"
    }
  },
  {
    "source-ref": "https://storage.googleapis.com/dialogue-resp-selection/gcp-dataset/samples/M2-83.txt",
    "dialog-labeling-demo10-private": {
      "annotationsFromAllWorkers": [
        {
          "workerId": "private.us-east-1.166160a28ba80787",
          "annotationData": {
            "content": "{\"response\":{\"label\":\"Response 1\"}}"
          }
        },
        {
          "workerId": "private.us-east-1.ef02e9a5ea346047",
          "annotationData": {
            "content": "{\"response\":{\"label\":\"Response 4\"}}"
          }
        }
      ]
    },
    "dialog-labeling-demo10-private-metadata": {
      "type": "groundtruth/custom",
      "job-name": "dialog-labeling-demo10-private",
      "human-annotated": "yes",
      "creation-date": "2019-10-27T10:35:45+0000"
    }
  }
]

dialog-human-labeling's People

Contributors

bsantraigi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.