Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR simplifies the model loading taking advantage of the new functionality of `get_model()` from `fms.models`. The current implementation automatically infers `architecture` and `variant` from a given `model_path` pointing to directory with weights in **hf** (hugging face) format. ### Changes: - replacing as_fms_model() by get_model() for **hf** models. - removing if condition for **meta** weights Note: make sure to use the **hf** format of the weights for model **7B-F** (checkpoint trained by meta) from now on...
- Loading branch information