Commit 9f28a354 authored by liucong's avatar liucong
Browse files

修改文件路径

parent cb8f0018
...@@ -37,7 +37,7 @@ cd ./Python/ ...@@ -37,7 +37,7 @@ cd ./Python/
pip install -r requirements.txt pip install -r requirements.txt
``` ```
3.在Python/NLP/Bert目录下执行如下命令运行该示例程序: 3.在Python目录下执行如下命令运行该示例程序:
```python ```python
python bert.py python bert.py
......
...@@ -35,7 +35,7 @@ int main(int argc, char *argv[]) ...@@ -35,7 +35,7 @@ int main(int argc, char *argv[])
std::vector<float> end_position; std::vector<float> end_position;
std::string answer = {}; std::string answer = {};
cuBERT::FullTokenizer tokenizer = cuBERT::FullTokenizer("../Resource/Models/NLP/Bert/uncased_L-12_H-768_A-12/vocab.txt"); // 分词工具 cuBERT::FullTokenizer tokenizer = cuBERT::FullTokenizer("../Resource/uncased_L-12_H-768_A-12/vocab.txt"); // 分词工具
while (true) while (true)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment