1.
Which Python library provides the SentenceTransformer class used in this post?
Select the correct answer.
The SentenceTransformer class comes from the sentence-transformers library. The import is: from sentence_transformers import SentenceTransformer. It is built on top of the HuggingFace transformers library.
2.
In Python, which command installs the sentence-transformers library using the uv package manager?
Select the correct answer.
The correct command using the uv package manager is: uv pip install sentence-transformers. The series specifically uses uv as the package manager throughout, with Python 3.11 (CPython interpreter).
3.
Which important note applies to the Python environment for this class series?
Select the correct answer.
The class notes explicitly state: use Python 3.11 and use only the CPython interpreter. This is important because some ML libraries have compatibility issues with other Python versions or interpreters like PyPy.