-
Notifications
You must be signed in to change notification settings - Fork 3k
update docs #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update docs #2
Conversation
- update simnet_vocab.txt
- update docs
@@ -86,7 +86,7 @@ query title label | |||
在模型训练之前,需要先下载词汇表文件term2id.dict,用于构造词-id映射关系。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
term2dict.txt->simnet_vocab.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
``` | ||
|
||
GPU启动: | ||
|
||
```shell | ||
CUDA_VISIBLE_DEVICES=0 | ||
python train.py --vocab_path='./simnet_word_dict.txt' --use_gpu=True --network=lstm --lr=5e-4 --batch_size=64 --epochs=5 --save_dir='./checkpoints' | ||
python train.py --vocab_path='./simnet_vocab.txt' --use_gpu=True --network=lstm --lr=5e-4 --batch_size=64 --epochs=5 --save_dir='./checkpoints' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
下面的模型预测部分也要改成simnet_vocab.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
add log console to demo
for export npu model
update from pgl
support append_attn c16 for deep-seek-v3
enable static graph