项目作者: bsantraigi

项目描述 :
AWS Sagemaker Ground Truth Scripts for Human Evaluation of Dialog Response Generation Models | Supports Amazon Mechanical Turk (MTurk) / Private in-lab study backend
高级语言: HTML
项目地址: git://github.com/bsantraigi/dialog-human-labeling.git
创建时间: 2019-10-24T13:30:52Z
项目社区:https://github.com/bsantraigi/dialog-human-labeling

开源协议:

下载


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.

  1. [
  2. {
  3. "source-ref": "https://storage.googleapis.com/dialogue-resp-selection/gcp-dataset/samples/M2-60.txt",
  4. "dialog-labeling-demo10-private": {
  5. "annotationsFromAllWorkers": [
  6. {
  7. "workerId": "private.us-east-1.166160a28ba80787",
  8. "annotationData": {
  9. "content": "{\"response\":{\"label\":\"Response 2\"}}"
  10. }
  11. },
  12. {
  13. "workerId": "private.us-east-1.ef02e9a5ea346047",
  14. "annotationData": {
  15. "content": "{\"response\":{\"label\":\"Response 2\"}}"
  16. }
  17. }
  18. ]
  19. },
  20. "dialog-labeling-demo10-private-metadata": {
  21. "type": "groundtruth/custom",
  22. "job-name": "dialog-labeling-demo10-private",
  23. "human-annotated": "yes",
  24. "creation-date": "2019-10-27T10:35:45+0000"
  25. }
  26. },
  27. {
  28. "source-ref": "https://storage.googleapis.com/dialogue-resp-selection/gcp-dataset/samples/M2-83.txt",
  29. "dialog-labeling-demo10-private": {
  30. "annotationsFromAllWorkers": [
  31. {
  32. "workerId": "private.us-east-1.166160a28ba80787",
  33. "annotationData": {
  34. "content": "{\"response\":{\"label\":\"Response 1\"}}"
  35. }
  36. },
  37. {
  38. "workerId": "private.us-east-1.ef02e9a5ea346047",
  39. "annotationData": {
  40. "content": "{\"response\":{\"label\":\"Response 4\"}}"
  41. }
  42. }
  43. ]
  44. },
  45. "dialog-labeling-demo10-private-metadata": {
  46. "type": "groundtruth/custom",
  47. "job-name": "dialog-labeling-demo10-private",
  48. "human-annotated": "yes",
  49. "creation-date": "2019-10-27T10:35:45+0000"
  50. }
  51. }
  52. ]