Skip to content

Commit

Permalink
some improvements and model serving deps
Browse files Browse the repository at this point in the history
  • Loading branch information
thammuio committed Jan 5, 2024
1 parent 941f222 commit fc0fdfb
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,29 @@ This requires pip packages and models from huggingface. Depending on your CML ne
- [FastAPI](https://fastapi.tiangolo.com/)

## Deploying on CML


# Code Structure
doc-genius-ai/
├── app/ # Application directory for API and Model Serving
│ └── [contents not listed]
├── chat-ui/ # Directory for the chatbot UI in Next.js
│ └── [contents not listed]
├── data/ # Data directory for storing datasets or data files
│ └── [contents not listed]
├── models/ # Models directory for LLMs / ML models
│ └── [contents not listed]
├── pipeline/ # Pipeline directory for data processing or workflow pipelines
│ └── [contents not listed]
├── session/ # Scripts for CML Sessions and Validation Tasks
│ └── [contents not listed]
├── images/ # Directory for storing project related images
│ └── [contents not listed]
├── api.md # Documentation for the APIs
├── README.md # Detailed description of the project
├── .gitignore # Specifies intentionally untracked files to ignore
├── catalog.yaml # YAML file that contains descriptive information and metadata for the displaying the AMP projects in the CML Project Catalog.
├── .project-metadata.yaml # Project metadata file that provides configuration and setup details
├── cdsw-build.sh # Script for building the Model dependencies
└── requirements.txt # Python dependencies for Model Serving
1 change: 1 addition & 0 deletions cdsw-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pip install --no-cache-dir -r requirements.txt
Binary file added chat-ui/src/images/cmltext.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/doc-genius-ai-alt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
torch==2.0.1
langchain
typing-inspect==0.8.0
typing_extensions==4.5.0
tiktoken
transformers
accelerate
bitsandbytes
xformers
einops
jinja2==3.1.2
scipy

0 comments on commit fc0fdfb

Please sign in to comment.