<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def inner_products(self, vec):
 """Get the inner product of a vector with every embedding. :param (np.array) vector: the query vector :return (list[tuple[str, float]]):
 a map of embeddings to inner products """

        products = self.array.dot(vec)
        return self._word_to_score(np.arange(len(products)), products)