pietrolesci commited on
Commit
98f2b57
1 Parent(s): 711ca7e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -4
README.md CHANGED
@@ -12,9 +12,7 @@ NOTE:
12
 
13
  - In the last dialogue turn is always the system that greets the user; this last turn is kept and the user utterance is filled in with the `none` string (usually during evaluation this dialogue turn is not considered)
14
 
15
- - To be able to save data as an arrow file you need to "pad" the states to all have the same keys. To do this the None value is introduced. Therefore, when you load it back it is convenient to have a way to remove the "padding".
16
-
17
- In order to do so, a function like the following can help
18
 
19
  ```python
20
  def remove_empty_slots(state: Union[Dict[str, Union[List[str], None]], None]) -> Union[Dict[str, List[str]], None]:
@@ -23,4 +21,39 @@ NOTE:
23
  return None
24
 
25
  return {k: v for k, v in state.items() if v is not None}
26
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  - In the last dialogue turn is always the system that greets the user; this last turn is kept and the user utterance is filled in with the `none` string (usually during evaluation this dialogue turn is not considered)
14
 
15
+ - To be able to save data as an arrow file you need to "pad" the states to all have the same keys. To do this the None value is introduced. Therefore, when you load it back it is convenient to have a way to remove the "padding". In order to do so, a function like the following can help
 
 
16
 
17
  ```python
18
  def remove_empty_slots(state: Union[Dict[str, Union[List[str], None]], None]) -> Union[Dict[str, List[str]], None]:
 
21
  return None
22
 
23
  return {k: v for k, v in state.items() if v is not None}
24
+ ```
25
+
26
+ - The schema has been updated to make all the versions compatible. Basically, the "book" string has been removed from slots in v2.2. The updated schema is the following
27
+
28
+ ```yaml
29
+ attraction-area
30
+ attraction-name
31
+ attraction-type
32
+ hotel-area
33
+ hotel-day
34
+ hotel-internet
35
+ hotel-name
36
+ hotel-parking
37
+ hotel-people
38
+ hotel-pricerange
39
+ hotel-stars
40
+ hotel-stay
41
+ hotel-type
42
+ restaurant-area
43
+ restaurant-day
44
+ restaurant-food
45
+ restaurant-name
46
+ restaurant-people
47
+ restaurant-pricerange
48
+ restaurant-time
49
+ taxi-arriveby
50
+ taxi-departure
51
+ taxi-destination
52
+ taxi-leaveat
53
+ train-arriveby
54
+ train-day
55
+ train-departure
56
+ train-destination
57
+ train-leaveat
58
+ train-people
59
+ ```