You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"author": "Arabic Language Technologies, QCRI, HBKU",
"model": "fanar-llama-3-8b-instruct",
"description": "",
"scores": {},
}
defconfig():
return {
"dataset": NativQAGlobalDataset,
"task": MultiNativQATask,
"model": OpenAIModel,
"general_args": {"test_split": "uae"},
}
defprompt(input_sample):
# Define the question prompt
question_prompt=f"""
Please use your expertise to answer the following Arabic question. Answer in Arabic. Please provide Answer only. No additional text.
Question: {input_sample['question']}
"""
# Define the assistant prompt
assistant_prompt="""
You are an Arabic AI assistant specialized in providing detailed and accurate answers across various fields. Your task is to deliver clear, concise, and relevant information.