Edit model card

Fine-Tuned Llama 2 Model

This model is a fine-tuned version of Llama 2 on my custom dataset.

Model Description

Provide a description of your model here.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("dlprt/fine-tuned-llama2-7b")
tokenizer = AutoTokenizer.from_pretrained("dlprt/fine-tuned-llama2-7b")

inputs = tokenizer("Hello, world!", return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Examples
Unable to determine this model's library. Check the docs .