You can use this model directly with the Transformers library:
from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Abirami1213/Llama-2-7b-chat") model = AutoModelForCausalLM.from_pretrained("Abirami1213/Llama-2-7b-chat")