mosaicml / llm-foundry

LLM training code for Databricks foundation models
https://www.databricks.com/blog/introducing-dbrx-new-state-art-open-llm
Apache License 2.0
3.84k stars 503 forks source link

Make HF conversion automatically add missing imports #1241

Closed dakinggg closed 1 month ago

dakinggg commented 1 month ago

This PR removes the need for manually importing everything in the modeling file, by automatically including the missing imports needed for HF.