Introducing Embeddings

Thanks for the quick response and providing that information!

The reason why I asked those questions is because when you copy and paste code from the documentation, there can be an encoding issue specifically with Windows since Windows default encoding is CP1252 (See here for more detail) and so the right-quote character specifically does not map to anything and thus issues arise during execution. It may be possible that this is what is happening here, but I’m not sure and I don’t have access to those models yet to test it myself.

Some IDEs can override the default encoding however, but it’s not 100%. It looks like Google Colab’s default encoding is UTF-8 which does correctly interpret that problematic right-quote character, but it can be overridden in some cases.

Can you try typing everything to ensure that’s possibly not what’s going on here and let us know what happens?