databricks-ml-examples
No description available.
File Explorer
Download Latest Version (.zip)- __init__.py
- fine_tune.py
- inference.py
- model_utils.py
- notebook_utils.py
- utils.py
- ds_zero_3.json
- ds_zero_3_cpu_offloading.json
- fsdp_cpu_offloading.yaml
- log_models.py
- run_deepspeed_fine_tuning.py
- run_inference.py
- run_torchdistributor_fine_tuning.py
- README.md
- requirements.txt
- setup.py
- 01_load_inference.py
- README.md
- 01_load_inference.py
- README.md
- 01_load_inference.py
- 02_mlflow_logging_inference.py
- README.md
- README.md
- README.md
- README.md
- a100_config.json
- a10_config.json
- v100_config.json
- 01_load_inference.py
- 02_mlflow_logging_inference.py
- 03_build_document_Index.py
- 04_fine_tune_embedding.py
- 04_fine_tune_embedding_from_marketplace.py
- README.md
- 01_load_inference.py
- 02_mlflow_logging_inference.py
- 03_build_document_Index.py
- 04_fine_tune_embedding.py
- README.md
- README.md
- README.md
- README.md
- README.md
- automl_embeddings_example.py
- README.md
- Step 0: Pre-trained model BLIP2-flant5-xl.py
- Step 1: Generating descriptions.py
- Step 2: Generating images from descriptions.py
- Step 3: Finetuning image description generation model.py
- dolly_llama_chilling.png
- README.md
- Step 0_ Creating an instruction following dataset from publicly available datasets - smaller.ipynb
- Step 1_ QLoRA model training.ipynb
- Step 2_ Merging the adapter with base model layers and tests.ipynb
- Step 3_ Model Deployment.ipynb
- 01_load_inference.py
- 06_fine_tune_qlora.py
- fine_tune_deepspeed_falcon.py
- 01_load_inference.py
- 02_mlflow_logging_inference.py
- 03_serve_driver_proxy.py
- 04_langchain.py
- 05_fine_tune_deepspeed.py
- README.md
- README.md
- fine_tune_deepspeed.py
- 01_load_inference.py
- 02_mlflow_logging_inference.py
- 03_serve_driver_proxy.py
- 04_langchain.py
- 05_fine_tune_deepspeed.py
- 06_fine_tune_qlora.py
- 06_fine_tune_qlora_marketplace.py
- 08_load_from_marketplace.py
- README.md
- 01_load_inference.py
- 02_mlflow_logging_inference.py
- 05_fine_tune_deepspeed_multi_node.py
- 06_fine_tune_qlora.py
- 08_load_from_marketplace.py
- README.md
- convert_composer_to_hf.py
- fine_tune_composer.py
- fine_tune_composer.yaml
- fine_tune_deepspeed.py
- 01_a_load_inference.py
- 01_b_load_inference_vllm.py
- 02_[chat]_mlflow_logging_inference.py
- 02_mlflow_logging_inference.py
- 03_[chat]_serve_driver_proxy.py
- 03_serve_driver_proxy.py
- 04_[chat]_langchain.py
- 04_langchain.py
- 05_fine_tune_deepspeed.py
- 06_fine_tune_qlora.py
- 06_fine_tune_qlora_marketplace.py
- 07_ai_gateway.py
- 08_load_from_marketplace.py
- 09_fine_tune_composer.py
- README.md
- README.md
- fine_tune_deepspeed.py
- 01_b_load_inference_vllm.py
- 01_load_inference.py
- 02_[chat]_mlflow_logging_inference.py
- 02_mlflow_logging_inference.py
- 03_[chat]_serve_driver_proxy.py
- 03_serve_driver_proxy.py
- 04_[chat]_langchain.py
- 04_langchain.py
- 05_fine_tune_deepspeed.py
- 06_fine_tune_qlora.py
- 06_fine_tune_qlora_marketplace.py
- 07_ai_gateway.py
- README.md
- README.md
- 01_load_inference.py
- 02_mlflow_logging_inference.py
- README.md
- 01_load_inference.py
- 02_mlflow_logging_inference.py
- 03_serve_driver_proxy.py
- 04_langchain.py
- README.md
- fine_tune_deepspeed.py
- 01_load_inference.py
- 02_mlflow_logging_inference.py
- 03_serve_driver_proxy.py
- 04_langchain.py
- 05_fine_tune_deepspeed.py
- README.md
- 01_load_inference.py
- 02_mlflow_logging_inference.py
- 03_langchain_inference.py
- 04_fine_tune_qlora.py
- README.md
- README.md
- 01_load_inference.py
- Llama_Guard_Demo_with_Databricks_marketplace_simplified_pii_detect.ipynb
- README.md
- mpt-7b-8k.yml
- 01_load_inference.py.jinja
- 02_mlflow_logging_inference.py.jinja
- 03_langchain_inference.py.jinja
- 04_fine_tune_qlora.py.jinja
- macros.jinja
- template.py
- text_generation_model_generator.py
- README.md
- fine_tune_deepspeed.py
- 01_load_inference.py
- 02_mlflow_logging_inference.py
- 05_fine_tune_deepspeed.py
- README.md
- transformer-batch-inference.ipynb
- README.md
- .gitignore
- CODEOWNERS
- CONTRIBUTING.md
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/databricks/databricks-ml-examples
Downloads the entire project code from GitHub to your computer.
cd databricks-ml-examples
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r llm-fine-tuning/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
jupyter notebook
Launches Jupyter in your browser so you can open and run the notebook (.ipynb) files.
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
