transform.mistral
mistral_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/mistral.py
250 251 252 253 254 255 256 257 258 259 260 |
|
mistral_from_pretrained(model_id, device)
return: Weight or Params for easydel Model , Config
Source code in src/python/easydel/transform/mistral.py
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 |
|