mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
fix model_eval.py in the mlperf folder searching for bert vocab in the wrong directory (#6649)
This commit is contained in:
parent
4a2fa0b627
commit
568757e087
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ def eval_bert():
|
|||
from examples.mlperf.metrics import f1_score
|
||||
from transformers import BertTokenizer
|
||||
|
||||
tokenizer = BertTokenizer(str(Path(__file__).parents[2] / "weights/bert_vocab.txt"))
|
||||
tokenizer = BertTokenizer(str(Path(__file__).parents[2] / "extra/weights/bert_vocab.txt"))
|
||||
|
||||
c = 0
|
||||
f1 = 0.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue