def METHOD_NAME(base_model):
    import torch
    from transformers import AutoTokenizer, AutoModelForCausalLM
    t = AutoTokenizer.from_pretrained(base_model,
                                      use_fast=False,
                                      padding_side="left",
                                      trust_remote_code=True,
                                      use_auth_token=True,
                                      )
    assert t is not None
    m = AutoModelForCausalLM.from_pretrained(base_model,
                                             trust_remote_code=True,
                                             torch_dtype=torch.float16,
                                             use_auth_token=True,
                                             )
    assert m is not None