transform.llama
llama_easydel_to_hf(path, config)
Takes path to easydel saved ckpt and return the model in pytorch (Transformers Huggingface)
Source code in src/python/easydel/transform/llama.py
150 151 152 153 154 155 156 157 158 159 160 |
|
llama_from_pretrained(model_id, device)
return: Weight or Params for easydel Model , Config
Source code in src/python/easydel/transform/llama.py
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 |
|