8000 update docs by Steffy-zxf · Pull Request #2 · PaddlePaddle/PaddleNLP · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 3 commits into from
Feb 7, 2021
Merged

update docs #2

merged 3 commits into from
Feb 7, 2021

Conversation

Steffy-zxf
Copy link
Contributor
  • update simnet_vocab.txt
  • update docs

@@ -86,7 +86,7 @@ query title label
在模型训练之前,需要先下载词汇表文件term2id.dict,用于构造词-id映射关系。
Copy link
Collaborator

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

Copy link
Contributor Author

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'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

下面的模型预测部分也要改成simnet_vocab.txt

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Collaborator
@wawltor wawltor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Steffy-zxf Steffy-zxf merged commit 057d1a3 into PaddlePaddle:develop Feb 7, 2021
qingzhong1 pushed a commit to qingzhong1/PaddleNLP that referenced this pull request Sep 18, 2023
bmers pushed a commit to bmers/PaddleNLP that referenced this pull request Oct 17, 2023
ZHUI referenced this pull request in ZHUI/PaddleNLP Apr 1, 2024
DesmonDay pushed a commit to DesmonDay/PaddleNLP that referenced this pull request Sep 23, 2024
DesmonDay pushed a commit to DesmonDay/PaddleNLP that referenced this pull request Sep 23, 2024
DesmonDay pushed a commit to DesmonDay/PaddleNLP that referenced this pull request Sep 23, 2024
gzy19990617 pushed a commit to gzy19990617/PaddleNLP that referenced this pull request Jan 14, 2025
zongwave pushed a commit to zongwave/PaddleNLP that referenced this pull request Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
0