If you get 0 points for get_country
and get_accuracy
, then you’ve probably made the most common mistake on this assignment: referencing the global variable word_embeddings
directly from the local scope of your get_country
function. That is a bug, because the grader passes a different dictionary for the embeddings
argument there. get_accuracy
also fails, because it calls get_country
.
1 Like