-
Notifications
You must be signed in to change notification settings - Fork 71
Reorganize configs #145
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
Merged
Merged
Reorganize configs #145
Changes from 5 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
aea6d60
Inconsequential change
AlexejPenner f82e6a1
Enable running on full dataset
AlexejPenner eaefa0d
Refactored configs
AlexejPenner d52526b
Use new commands
AlexejPenner 0cd7be8
Merge branch 'main' into feature/demo-gitflow-complete-llm
strickvl a0535df
Reformatted
AlexejPenner 63eca31
Update llm-complete-guide/configs/staging/synthetic.yaml
AlexejPenner fbb45fe
Update llm-complete-guide/configs/staging/embeddings.yaml
AlexejPenner 61987b2
Update llm-complete-guide/configs/production/synthetic.yaml
AlexejPenner cfc5567
Fixed configs and Readme
AlexejPenner e87f0f4
Merge branch 'main' into feature/demo-gitflow-complete-llm
AlexejPenner e2d66d3
Only load hf_token when needed
AlexejPenner 6ebbd74
Adjusted zenml env vars
AlexejPenner 1a0d75b
Use only subset locally
AlexejPenner b36081f
Update url_scraper.py with new step parameters
htahir1 ea6228c
Add latest version for dev_finetuned model
htahir1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # enable_cache: False | ||
|
|
||
| # environment configuration | ||
| settings: | ||
| docker: | ||
| parent_image: "zenmldocker/prepare-release:base-0.68.1" | ||
| requirements: | ||
| - langchain-community | ||
| - ratelimit | ||
| - langchain>=0.0.325 | ||
| - langchain-openai | ||
AlexejPenner marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - pgvector | ||
| - psycopg2-binary | ||
| - beautifulsoup4 | ||
| - unstructured | ||
| - pandas | ||
| - numpy | ||
| - sentence-transformers>=3 | ||
| - transformers[torch]==4.43.1 | ||
| - litellm | ||
| - ollama | ||
| - tiktoken | ||
| - umap-learn | ||
| - matplotlib | ||
| - pyarrow | ||
| - rerankers[flashrank] | ||
| - datasets | ||
| - torch | ||
| - pygithub | ||
| environment: | ||
| ZENML_PROJECT_SECRET_NAME: llm_complete | ||
|
|
||
|
|
||
| # configuration of the Model Control Plane | ||
| model: | ||
| name: prod_finetuned-zenml-docs-embeddings | ||
| version: latest | ||
| license: Apache 2.0 | ||
| description: Finetuned LLM on ZenML docs | ||
| tags: ["rag", "finetuned"] | ||
|
|
||
| steps: | ||
| finetune: | ||
| step_operator: "gcp_a100" | ||
| settings: | ||
| step_operator.vertex: | ||
| accelerator_count: 1 | ||
| accelerator_type: NVIDIA_TESLA_A100 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| enable_cache: True | ||
|
|
||
| # environment configuration | ||
| settings: | ||
| docker: | ||
| requirements: | ||
| - unstructured | ||
| - sentence-transformers>=3 | ||
| - pgvector | ||
| - datasets | ||
| - litellm | ||
| - numpy | ||
| - psycopg2-binary | ||
| - tiktoken | ||
| - ratelimit | ||
| - rerankers | ||
| - pygithub | ||
| environment: | ||
| ZENML_PROJECT_SECRET_NAME: llm_complete | ||
| ZENML_ENABLE_RICH_TRACEBACK: FALSE | ||
| ZENML_LOGGING_VERBOSITY: INFO | ||
|
|
||
|
|
||
| # configuration of the Model Control Plane | ||
| model: | ||
| name: prod_finetuned-zenml-docs-embeddings | ||
| license: Apache 2.0 | ||
| description: A fine-tuned embeddings model for ZenML documentation. Used for RAG retrieval. | ||
| tags: ["rag", "finetuned"] | ||
| limitations: Only works for ZenML documentation. Not generalizable to other domains. Entirely build with synthetic data. The data is also quite noisy on account of how the chunks were split. | ||
| trade_offs: Focused on a specific RAG retrieval use case. Not generalizable to other domains. | ||
| audience: ZenML users | ||
| use_cases: RAG retrieval | ||
|
|
||
| steps: | ||
| url_scraper: | ||
| parameters: | ||
| docs_url: https://docs.zenml.io | ||
| generate_embeddings: | ||
| step_operator: "gcp_a100" | ||
| settings: | ||
| step_operator.vertex: | ||
| accelerator_count: 1 | ||
| accelerator_type: NVIDIA_TESLA_A100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| # environment configuration | ||
| settings: | ||
| docker: | ||
| requirements: | ||
| - langchain-community | ||
| - ratelimit | ||
| - langchain>=0.0.325 | ||
| - langchain-openai | ||
AlexejPenner marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - pgvector | ||
| - psycopg2-binary | ||
| - beautifulsoup4 | ||
| - unstructured | ||
| - pandas | ||
| - numpy | ||
| - sentence-transformers>=3 | ||
| - transformers==4.43.1 | ||
| - litellm | ||
| - ollama | ||
| - tiktoken | ||
| - umap-learn | ||
| - matplotlib | ||
| - pyarrow | ||
| - rerankers[flashrank] | ||
| - datasets | ||
| - torch | ||
| - distilabel | ||
| - argilla | ||
| - pygithub | ||
| environment: | ||
| ZENML_PROJECT_SECRET_NAME: llm_complete | ||
|
|
||
|
|
||
| # configuration of the Model Control Plane | ||
| model: | ||
| name: prod_finetuned-zenml-docs-embeddings | ||
| version: latest | ||
| license: Apache 2.0 | ||
| description: Finetuned LLM on ZenML docs | ||
| tags: ["rag", "finetuned"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| # enable_cache: False | ||
|
|
||
| # environment configuration | ||
| settings: | ||
| docker: | ||
| parent_image: "zenmldocker/prepare-release:base-0.68.0" | ||
| requirements: | ||
| - langchain-community | ||
| - ratelimit | ||
| - langchain>=0.0.325 | ||
| - langchain-openai | ||
AlexejPenner marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - pgvector | ||
| - psycopg2-binary | ||
| - beautifulsoup4 | ||
| - unstructured | ||
| - pandas | ||
| - numpy | ||
| - sentence-transformers>=3 | ||
| - transformers[torch]==4.43.1 | ||
| - litellm | ||
| - ollama | ||
| - tiktoken | ||
| - umap-learn | ||
| - matplotlib | ||
| - pyarrow | ||
| - rerankers[flashrank] | ||
| - datasets | ||
| - torch | ||
| - pygithub | ||
| environment: | ||
| ZENML_PROJECT_SECRET_NAME: llm_complete | ||
|
|
||
|
|
||
| # configuration of the Model Control Plane | ||
| model: | ||
| name: staging_finetuned-zenml-docs-embeddings | ||
| version: latest | ||
| license: Apache 2.0 | ||
| description: Finetuned LLM on ZenML docs | ||
| tags: ["rag", "finetuned"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| enable_cache: False | ||
|
|
||
| # environment configuration | ||
| settings: | ||
| docker: | ||
| requirements: | ||
| - unstructured | ||
| - sentence-transformers>=3 | ||
| - pgvector | ||
| - datasets | ||
| - litellm | ||
| - numpy | ||
| - psycopg2-binary | ||
| - tiktoken | ||
| - ratelimit | ||
| - rerankers[flashrank] | ||
| - matplotlib | ||
| - pillow | ||
| - pygithub | ||
| environment: | ||
| ZENML_PROJECT_SECRET_NAME: llm_complete | ||
| ZENML_ENABLE_RICH_TRACEBACK: FALSE | ||
| ZENML_LOGGING_VERBOSITY: INFO | ||
|
|
||
| # configuration of the Model Control Plane | ||
| model: | ||
| name: staging_finetuned-zenml-docs-embeddings | ||
| version: latest | ||
| license: Apache 2.0 | ||
| description: Finetuned LLM on ZenML docs | ||
| tags: ["rag", "finetuned"] | ||
| limitations: "Only works for ZenML documentation. Not generalizable to other domains. Entirely build with synthetic data. The data is also quite noisy on account of how the chunks were split." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| enable_cache: False | ||
|
|
||
| # environment configuration | ||
| settings: | ||
| docker: | ||
| requirements: | ||
| - unstructured | ||
| - sentence-transformers>=3 | ||
| - pgvector | ||
| - datasets | ||
| - litellm | ||
| - numpy | ||
| - psycopg2-binary | ||
| - tiktoken | ||
| - ratelimit | ||
| - rerankers | ||
| - pygithub | ||
| environment: | ||
| ZENML_PROJECT_SECRET_NAME: llm_complete | ||
| ZENML_ENABLE_RICH_TRACEBACK: FALSE | ||
| ZENML_LOGGING_VERBOSITY: INFO | ||
|
|
||
|
|
||
| # configuration of the Model Control Plane | ||
| model: | ||
| name: staging_finetuned-zenml-docs-embeddings | ||
| license: Apache 2.0 | ||
| description: A fine-tuned embeddings model for ZenML documentation. Used for RAG retrieval. | ||
| tags: ["rag", "finetuned"] | ||
| limitations: Only works for ZenML documentation. Not generalizable to other domains. Entirely build with synthetic data. The data is also quite noisy on account of how the chunks were split. | ||
| trade_offs: Focused on a specific RAG retrieval use case. Not generalizable to other domains. | ||
| audience: ZenML users | ||
| use_cases: RAG retrieval | ||
|
|
||
| steps: | ||
| url_scraper: | ||
| parameters: | ||
| docs_url: https://docs.zenml.io |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.