Skip to content

Commit 02a66b9

Browse files
committed
udpate
1 parent 6b8c2a2 commit 02a66b9

File tree

1 file changed

+1
-1
lines changed
  • articles/ai-services/openai/concepts

1 file changed

+1
-1
lines changed

articles/ai-services/openai/concepts/models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ In testing, OpenAI reports both the large and small third generation embeddings
6262
| MIRACL average | 31.4 | 44.0 | 54.9 |
6363
| MTEB average | 61.0 | 62.3 | 64.6 |
6464

65-
The third generation embeddings models support reducing the size of the embedding via a new `dimensions` parameter. Typically larger embeddings are more expensive from a compute, memory, and storage perspective. Being able to adjust the number of dimensions allows more control over overall cost and performance. Official support for the dimensions parameter was added to the OpenAI Python library in version `1.10.0`. If you are running an earlier version of the 1.x library you will need to upgrade `pip install openai --upgrade`.
65+
The third generation embeddings models support reducing the size of the embedding via a new `dimensions` parameter. Typically larger embeddings are more expensive from a compute, memory, and storage perspective. Being able to adjust the number of dimensions allows more control over overall cost and performance. The `dimensions` parameter is not supported in all versions of the OpenAI 1.x Python library, to take advantage of this parameter we recommend upgrading to the latest version: `pip install openai --upgrade`.
6666

6767
OpenAI's MTEB benchmark testing found that even when the third generation model's dimensions are reduced to less than `text-embeddings-ada-002` 1,536 dimensions performance remains slightly better.
6868

0 commit comments

Comments
 (0)