Skip to content

Commit b073b75

Browse files
committed
Updated variables in 01L
Fix from @stephenfendyke
1 parent 207f578 commit b073b75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LLM 01 - Transformer Architecture/LLM 01L - Transformer Architecture Lab.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ def predict_masked_words(sentence, model, tokenizer):
576576
# TODO
577577
# Define a sentence in French with a masked word
578578
sentence_q6 = "<FILL_IN>"
579-
print(predict_masked_words(sentence, mlm_model, tokenizer))
579+
print(predict_masked_words(sentence_q6, mlm_model, tokenizer))
580580

581581
# COMMAND ----------
582582

@@ -616,7 +616,7 @@ def predict_masked_words(sentence, model, tokenizer):
616616
# TODO
617617
# Define a sentence that makes sense only in a specific cultural context
618618
sentence_q8 = "<FILL_IN>"
619-
print(predict_masked_words(sentence, mlm_model, tokenizer))
619+
print(predict_masked_words(sentence_q8, mlm_model, tokenizer))
620620

621621
# COMMAND ----------
622622

0 commit comments

Comments
 (0)