Skip to content

Commit 068d8ac

Browse files
authored
Update version
* Update version * Update tutorials
1 parent 1eb7e60 commit 068d8ac

File tree

5 files changed

+259
-184
lines changed

5 files changed

+259
-184
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,13 @@ trainset = mz.dataloader.Dataset(
9696
data_pack=train_processed,
9797
mode='pair',
9898
num_dup=1,
99-
num_neg=4
99+
num_neg=4,
100+
batch_size=32
100101
)
101102
validset = mz.dataloader.Dataset(
102103
data_pack=valid_processed,
103-
mode='point'
104+
mode='point',
105+
batch_size=32
104106
)
105107
```
106108

@@ -110,13 +112,11 @@ padding_callback = mz.models.ArcI.get_default_padding_callback()
110112

111113
trainloader = mz.dataloader.DataLoader(
112114
dataset=trainset,
113-
batch_size=32,
114115
stage='train',
115116
callback=padding_callback
116117
)
117118
validloader = mz.dataloader.DataLoader(
118119
dataset=validset,
119-
batch_size=32,
120120
stage='dev',
121121
callback=padding_callback
122122
)
@@ -127,6 +127,8 @@ Initialize the model, fine-tune the hyper-parameters:
127127
```python
128128
model = mz.models.ArcI()
129129
model.params['task'] = ranking_task
130+
model.params['embedding_output_dim'] = 100
131+
model.params['embedding_input_dim'] = preprocessor.context['embedding_input_dim']
130132
model.guess_and_fill_missing_params()
131133
model.build()
132134
```

matchzoo/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Matchzoo version file."""
22

3-
__version__ = '1.1'
3+
__version__ = '1.1.1'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
'pytorch-transformers >= 1.1.0',
2323
'nltk >= 3.4.3',
2424
'numpy >= 1.16.4',
25-
'tqdm >= 4.32.2',
25+
'tqdm == 4.38.0',
2626
'dill >= 0.2.9',
2727
'pandas == 0.24.2',
2828
'networkx >= 2.3',

0 commit comments

Comments
 (0)