Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiNativQA and ThatiAR files #374

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion assets/ar/QA/MultiNativQA_GPT4_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Arabic question. Answer in Arabic and rate your confidence level from 1 to 10. Provide your response in the following JSON format: {{"answer": "your answer", "score": your confidence score}}. Please provide JSON output only. No additional text. Answer should be limited to less or equal to {input_sample['length']} words.
Expand Down
1 change: 0 additions & 1 deletion assets/ar/QA/MultiNativQA_Llama3_8b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Arabic question. Answer in Arabic and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/ar/QA/MultiNativQA_Mistral_7b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
# Provide your response in the following JSON format and provide JSON output only. No additional text.
question_prompt = f"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def config():


def prompt(input_sample):

assistant_prompt = """
I am an Arabic AI assistant specialized in classifying news article sentences into subjective or objective.
A subjective sentence expresses personal opinions, feelings, or beliefs, while an objective sentence presents facts, data, or unbiased information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def config():


def prompt(input_sample):

assistant_prompt = """
I am an Arabic AI assistant specialized in classifying sentences into subjective or objective.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def config():


def prompt(input_sample):

prompt = f"""
Classify the following Arabic 'sentence' as subjective or objective. Provide only the label.
Provide your response in the following JSON format: {{"label": "your label"}}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def config():


def prompt(input_sample):

assistant_prompt = """
I am an Arabic AI assistant specialized in classifying news article sentences into subjective or objective.
A subjective sentence expresses personal opinions, feelings, or beliefs, while an objective sentence presents facts, data, or unbiased information.
Expand Down
1 change: 0 additions & 1 deletion assets/asm/QA/MultiNativQA_GPT4_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Assamese question. Answer in Assamese and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/asm/QA/MultiNativQA_Llama3_8b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Assamese question. Answer in Assamese and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/asm/QA/MultiNativQA_Mistral_7b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
# Provide your response in the following JSON format and provide JSON output only. No additional text.
question_prompt = f"""
Expand Down
1 change: 0 additions & 1 deletion assets/bn/QA/MultiNativQA_Llama3_8b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Bangla question. Answer in Bangla and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/bn/QA/MultiNativQA_Mistral_7b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Bangla question. Answer in Bangla and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/bn_in/QA/MultiNativQA_Llama3_8b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Bangla question. Answer in Bengali, India and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/bn_in/QA/MultiNativQA_Mistral_7b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Bangla question. Answer in Bengali, India and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/en/QA/bd/MultiNativQA_Llama3_8b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following English question. Answer in English and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/en/QA/bd/MultiNativQA_Mistral_7b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following English question. Answer in English and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/en/QA/qa/MultiNativQA_Llama3_8b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following English question. Answer in English and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/en/QA/qa/MultiNativQA_Mistral_7b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following English question. Answer in English and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/hi/QA/MultiNativQA_Llama3_8b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Hindi question. Answer in Hindi and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/hi/QA/MultiNativQA_Mistral_7b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Hindi question. Answer in Hindi and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/ne/QA/MultiNativQA_Llama3_8b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Nepali question. Answer in Nepali and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/ne/QA/MultiNativQA_Mistral_7b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Nepali question. Answer in Nepali and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/tr/QA/MultiNativQA_Llama3_8b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Turkish question. Answer in Turkish and rate your confidence level from 1 to 10.
Expand Down
1 change: 0 additions & 1 deletion assets/tr/QA/MultiNativQA_Mistral_7b_ZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def config():


def prompt(input_sample):

# Define the question prompt
question_prompt = f"""
Please use your expertise to answer the following Turkish question. Answer in Turkish and rate your confidence level from 1 to 10.
Expand Down
Loading