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.from_pretrained("EngTig/llama-2-7b-Arabic-medical") model = AutoModelForCausalLM.from_pretrained("EngTig/llama-2-7b-Arabic-medical")
- Downloads last month
- 24
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.