| ```CODE: | |
| embeddings = model.encode(words, truncate_dim=512, normalize_embeddings=True) | |
| for idx, embedding in enumerate(embeddings): | |
| print(f"Embedding {idx+1}: {embedding.shape}") | |
| print("-"*80) | |
| check_word_similarities() | |
| ``` | |
| ERROR: | |
| Traceback (most recent call last): | |
| File "/tmp/google_embeddinggemma-300m_8kFRUVt.py", line 14, in <module> | |
| embeddings = model.encode(words, truncate_dim=512, normalize_embeddings=True) | |
| ^^^^^ | |
| NameError: name 'model' is not defined | |