提交 63a143a2 编写于 作者: P peterzhang2029

fix the default model dir

上级 08c85321
...@@ -109,11 +109,12 @@ Baghdad NNP I-NP I-LOC ...@@ -109,11 +109,12 @@ Baghdad NNP I-NP I-LOC
```python ```python
main( main(
train_data_file='data/train', train_data_file="data/train",
test_data_file='data/test', test_data_file="data/test",
vocab_file='data/vocab.txt', vocab_file="data/vocab.txt",
target_file='data/target.txt', target_file="data/target.txt",
emb_file='data/wordVectors.txt') emb_file="data/wordVectors.txt",
model_save_dir="models/")
``` ```
3. 运行命令 `python train.py`**需要注意:直接运行使用的是示例数据,请替换真实的标记数据。** 3. 运行命令 `python train.py`**需要注意:直接运行使用的是示例数据,请替换真实的标记数据。**
......
...@@ -108,4 +108,4 @@ if __name__ == "__main__": ...@@ -108,4 +108,4 @@ if __name__ == "__main__":
vocab_file="data/vocab.txt", vocab_file="data/vocab.txt",
target_file="data/target.txt", target_file="data/target.txt",
emb_file="data/wordVectors.txt", emb_file="data/wordVectors.txt",
model_save_dir="model/") model_save_dir="models/")
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册