CoolFace
Modelpublic

EngTig/llama-2-7b-Arabic-medical

sourceHugging Faceupdated 2y agoView on Hugging Face
1likes30downloads
Model Card

This Model was Trained on Custom Arabic Dataset

How to use the Model

1 Use a pipeline as a high-level helper

from transformers import pipeline

pipe = pipeline("text-generation", model="EngTig/llama-2-7b-Arabic-medical")

2 Load model directly

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.frompretrained("EngTig/llama-2-7b-Arabic-medical") model = AutoModelForCausalLM.frompretrained("EngTig/llama-2-7b-Arabic-medical")