Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text Embeddings Template #67

Merged
merged 6 commits into from
Feb 24, 2024
Merged

Text Embeddings Template #67

merged 6 commits into from
Feb 24, 2024

Conversation

scottjlee
Copy link
Contributor

@scottjlee scottjlee commented Feb 5, 2024

Adds README and compute config for a new workspace template for computing text embeddings.

With https://github.com/anyscale/product/pull/26521

Scott Lee added 6 commits February 5, 2024 11:58
Signed-off-by: Scott Lee <sjl@anyscale.com>
Signed-off-by: Scott Lee <sjl@anyscale.com>
Signed-off-by: Scott Lee <sjl@anyscale.com>
Signed-off-by: Scott Lee <sjl@anyscale.com>
Signed-off-by: Scott Lee <sjl@anyscale.com>
@scottjlee scottjlee marked this pull request as ready for review February 21, 2024 19:30
Sample usage:
```
# Generate emeddings for a sample single-file parquet file containing 10 rows from the `falcon-refinedweb` HuggingFace dataset, using 1 GPU.
python ray_embeddings.py \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is the python file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's in the docker image used for the cluster environment. We want to keep this code private, so it is not included in this public repo.

Copy link
Contributor

@gvspraveen gvspraveen Feb 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it. will that file be in default directory?

If not can you create a wrapper python file here which takes params and invokes proprietary script in docker image.

Copy link
Contributor Author

@scottjlee scottjlee Feb 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, the relevant files (python file, ipynb, sample files, etc) are included in the ~/default directory.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome thanks for confirming

@scottjlee scottjlee merged commit 373daff into main Feb 24, 2024
1 check passed
@scottjlee scottjlee deleted the scottjlee/text-embeddings branch February 26, 2024 07:12
anmscale pushed a commit that referenced this pull request Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants