context.pbtxt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Parameter {
  2. name: 'brain_parser_embedding_dims'
  3. value: '8;8;8'
  4. }
  5. Parameter {
  6. name: 'brain_parser_features'
  7. value: 'input.token.word input(1).token.word input(2).token.word stack.token.word stack(1).token.word stack(2).token.word;input.tag input(1).tag input(2).tag stack.tag stack(1).tag stack(2).tag;stack.child(1).label stack.child(1).sibling(-1).label stack.child(-1).label stack.child(-1).sibling(1).label'
  8. }
  9. Parameter {
  10. name: 'brain_parser_embedding_names'
  11. value: 'words;tags;labels'
  12. }
  13. input {
  14. name: 'training-corpus'
  15. record_format: 'conll-sentence'
  16. Part {
  17. file_pattern: 'syntaxnet/testdata/mini-training-set'
  18. }
  19. }
  20. input {
  21. name: 'tuning-corpus'
  22. record_format: 'conll-sentence'
  23. Part {
  24. file_pattern: 'syntaxnet/testdata/mini-training-set'
  25. }
  26. }
  27. input {
  28. name: 'parsed-tuning-corpus'
  29. creator: 'brain_parser/greedy'
  30. record_format: 'conll-sentence'
  31. }
  32. input {
  33. name: 'label-map'
  34. file_format: 'text'
  35. Part {
  36. file_pattern: 'OUTPATH/label-map'
  37. }
  38. }
  39. input {
  40. name: 'word-map'
  41. Part {
  42. file_pattern: 'OUTPATH/word-map'
  43. }
  44. }
  45. input {
  46. name: 'lcword-map'
  47. Part {
  48. file_pattern: 'OUTPATH/lcword-map'
  49. }
  50. }
  51. input {
  52. name: 'tag-map'
  53. Part {
  54. file_pattern: 'OUTPATH/tag-map'
  55. }
  56. }
  57. input {
  58. name: 'category-map'
  59. Part {
  60. file_pattern: 'OUTPATH/category-map'
  61. }
  62. }
  63. input {
  64. name: 'char-map'
  65. Part {
  66. file_pattern: 'OUTPATH/char-map'
  67. }
  68. }
  69. input {
  70. name: 'char-ngram-map'
  71. Part {
  72. file_pattern: 'OUTPATH/char-ngram-map'
  73. }
  74. }
  75. input {
  76. name: 'prefix-table'
  77. Part {
  78. file_pattern: 'OUTPATH/prefix-table'
  79. }
  80. }
  81. input {
  82. name: 'suffix-table'
  83. Part {
  84. file_pattern: 'OUTPATH/suffix-table'
  85. }
  86. }
  87. input {
  88. name: 'tag-to-category'
  89. Part {
  90. file_pattern: 'OUTPATH/tag-to-category'
  91. }
  92. }
  93. input {
  94. name: 'stdout'
  95. record_format: 'conll-sentence'
  96. Part {
  97. file_pattern: '-'
  98. }
  99. }