-
Notifications
You must be signed in to change notification settings - Fork 18
/
mctest.proto
55 lines (44 loc) · 1.05 KB
/
mctest.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package mctest;
// Representation of stories using word tokens:
message AnswerAsWords {
repeated string tokens = 1;
}
message QuestionAsWords {
enum Type {
ONE = 1;
MULTIPLE = 2;
}
required Type type = 1;
repeated string tokens = 2;
repeated AnswerAsWords answers = 3;
}
message StoryAsWords {
required string id = 1;
required string description = 2;
// Content fields:
repeated string passage = 3;
repeated QuestionAsWords questions = 4;
}
// Representation of stories using embeddings:
message Vector {
repeated double value = 1;
}
message AnswerAsEmbeddings {
repeated Vector tokens = 1;
}
message QuestionAsEmbeddings {
enum Type {
ONE = 1;
MULTIPLE = 2;
}
required Type type = 1;
repeated Vector tokens = 2;
repeated AnswerAsEmbeddings answers = 3;
}
message StoryAsEmbeddings {
required string id = 1;
required string description = 2;
// Content fields:
repeated Vector passage = 3;
repeated QuestionAsEmbeddings questions = 4;
}