Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit61b1d4a

Browse files
Lev Kokotovgitbook-bot
Lev Kokotov
authored andcommitted
GITBOOK-121: Lev's Feb 20 changes
1 parent682b23e commit61b1d4a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

‎pgml-cms/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PostgresML is a complete MLOps platform built on PostgreSQL. 
88

99
>_Move the models to the database_,_rather than continuously moving the data to the models._
1010
11-
The data for ML & AI systems is inherently larger and more dynamic than the models. It's more efficient, manageable and reliable to move the models to the database, rather than continuously moving the data to themodels. PostgresML allows you to take advantage of the fundamental relationship between data and models, by extending the database with the following capabilities and goals:
11+
The data for ML & AI systems is inherently larger and more dynamic than the models. It's more efficient, manageable and reliable to move the models to the database, rather than continuously moving the data to themodels_._ PostgresML allows you to take advantage of the fundamental relationship between data and models, by extending the database with the following capabilities and goals:
1212

1313
***Model Serving** -_**GPU accelerated**_ inference engine for interactive applications, with no additional networking latency or reliability costs.
1414
***Model Store** - Download_**open-source**_ models including state of the art LLMs from HuggingFace, and track changes in performance between versions.

‎pgml-cms/docs/introduction/getting-started/import-your-data/foreign-data-wrapper.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ To connect to your database from PostgresML, first create a corresponding `SERVE
2020
CREATE SERVER live_db
2121
FOREIGN DATA WRAPPER postgres_fdw
2222
OPTIONS (
23-
host'Host'
24-
port'Port'
23+
host'Host',
24+
port'Port',
2525
dbname'Database name'
2626
);
2727
```
@@ -35,7 +35,7 @@ CREATE USER MAPPING
3535
FORCURRENT_USER
3636
SERVER live_db
3737
OPTIONS (
38-
user'Postgres user'
38+
user'Postgres user',
3939
password'Postgres password'
4040
);
4141
```

‎pgml-cms/docs/use-cases/embeddings/generating-llm-embeddings-with-open-source-models-in-postgresml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ LIMIT 5;
106106

107107
##Generating embeddings from natural language text
108108

109-
PostgresML provides a simple interface to generate embeddings from text in your database. You can use the[`pgml.embed`](/docs/introduction/apis/sql-extensions/pgml.embed) function to generate embeddings for a column of text. The function takes a transformer name and a text value. The transformer will automatically be downloaded and cached on your connection process for reuse. You can see a list of potential good candidate models to generate embeddings on the[Massive Text Embedding Benchmark leaderboard](https://huggingface.co/spaces/mteb/leaderboard).
109+
PostgresML provides a simple interface to generate embeddings from text in your database. You can use the[`pgml.embed`](https://postgresml.org/docs/transformers/embeddings) function to generate embeddings for a column of text. The function takes a transformer name and a text value. The transformer will automatically be downloaded and cached on your connection process for reuse. You can see a list of potential good candidate models to generate embeddings on the[Massive Text Embedding Benchmark leaderboard](https://huggingface.co/spaces/mteb/leaderboard).
110110

111111
Since our corpus of documents (movie reviews) are all relatively short and similar in style, we don't need a large model.[`intfloat/e5-small`](https://huggingface.co/intfloat/e5-small) will be a good first attempt. The great thing about PostgresML is you can always regenerate your embeddings later to experiment with different embedding models.
112112

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp