5130d64 b02a8ce 46c8cfc 0710e36 5130d64
1
2
3
4
5
6
7
8
9
from transformers import AutoModelForCausalLM, AutoTokenizer model_name = "mlabonne/llama-2-7b-guanaco" try: model = AutoModelForCausalLM.from_pretrained(model_name) except Exception as e: print(f"Error loading the model: {e}")