Untitled

 avatar
unknown
plain_text
2 years ago
200 B
4
Indexable
def dict_eval(lst,embeddings_dict):
    dicts={}
    for i in lst:
        try:
            dicts.update({i:embeddings_dict[i].tolist()})
        except:
            dicts={}
    return dicts
Editor is loading...