code: def test_wp_targets():
      result = nft_happy_wp.predict_mask(
          "Please pass the salt and [MASK]",
          targets=["water", "spices"],
          top_k=2,
      )
      print(result)
      assert result[0].token == "water" and result[1].token == "spices"
      assert type(result[0].score) == float
      assert 0.0138 <= result[0].score <= 0.0158
  
imports: from pytest import approx
  from happytransformer import HappyWordPrediction, WPTrainArgs, WPEvalArgs
  from happytransformer.happy_word_prediction import WordPredictionResult
  from tests.run_save_load import run_save_load
  import pytest
  from tests import happy_wp
label_desc: Use image node_id 4 for calling a global function with example usage: test_wp_targets() without return types