araag2/Medical_LLMs

Repository to act as a playground to test various LLMs in the context of the medical domain

Python

0

65 commits

updated Jan 29, 2024

See the code

README

Medical_LLMs

Repository to act as a playground to test various LLMs in the context of the medical domain

SemEval2023

Set Compostions

All sets are balanced in labels, having 50% of Entailment and Contradiction

Metrics#SamplesSingleComparison
Train17001035665
Dev20014060
Test500229271

T5 Results

In order to obtain these results, I used Flan-T5 from huggingface, and used the following generation prompt: $premise \n Question: Does this imply that $hypothesis? $options, checking the outputs for "Entailment" or "Contradiction".

Train Set (0-shot)

MetricsF1-scorePrecisionRecallNotes
flanT5-small---Always Contradiction
flanT5-base0.320.500.23-
flanT5-large0.530.560.49-
flanT5-xl0.670.590.77-
flanT5-xxl0.690.610.79-

Dev Set (0-shot)

MetricsF1-scorePrecisionRecallNotes
flanT5-small---Always Contradiction
flanT5-base0.340.550.25-
flanT5-large0.570.610.53-
flanT5-xl0.690.610.79-
flanT5-xxl0.710.590.88-

Dev Set (fine-tuned)

MetricsF1-scorePrecisionRecallNotes
flanT5-xl0.7540.590.831-

qCammel family Results

In order to use the Clinical Cammel models, we will obtain them from huggingface hub, as it very easily allows us to quantize and test different model sizes.

Prompts

Alpaca Template (_alp + {prompt_used}): Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n$task_prompt\n### Response:

Asclepius Template (_asclp + {prompt_used}): You are an intelligent clinical language model.\nBelow is a snippet of clinical trial data and a following instruction from a healthcare professional. Write a response that appropriately completes the instruction. The response should provide the accurate answer to the instruction, while being concise.\n\n[Instruction Begin]\n{prompt}\n[Instruction End]

Base T5 Prompt (t5): $premise \n Question: Does this imply that $hypothesis? $options

Perplexity

Instead of trying to generate "Entailment" and "Contradiction", it's also possible to analize the output probabilities of the tokens, not requiring the model to explicity generate those tokens.

We will denote these differences by using _gen when the full generation is processed, and _perp when the perplexity score is used.

Asclepius-Llama2-13B

Asclepius-13B-GPTQ

qCammel-13-GPTQ

qCammel-13B-Combined-Data-GPTQ

qCammel-13B-Role-Playing-GPTQ

qCammel-70-x-GPTQ

qCammel-70-x-GPTQ-gptq-4bit-128g

qCammel-70-x-GPTQ-gptq-3bit-128g


Dev Set (0-shot)

Testing different task prompts (with apl{t5} + gen)

"1" : "$premise \n Based on the paragraph above can we conclude that $hypothesis? $options",

"2" : "$premise \n Based on that paragraph can we conclude that this sentence is true? $hypothesis $options",

"3" : "$premise \n Can we draw the following conclusion? $hypothesis $options",

"4" : "$premise \n Does this next sentence follow, given the preceding text? $hypothesis $options",

"5" : "$premise \n Can we infer the following? $hypothesis $options",

"6" : "Read the following paragraph and determine if the hypothesis is true: $premise \n Hypothesis: $hypothesis \n $options",

"7" : "Read the text and determine if the sentence is true: $premise \n Hypothesis: $hypothesis \n $options",

"8" : "Can we draw the following hypothesis from the context? Context: $premise \n Hypothesis: $hypothesis \n $options",

"9" : "Determine if the sentence is true based on the text below: $hypothesis \n $premise \n $options",

"10" : "$premise \n Question: Does this imply that $hypothesis? $options"

MetricsF1-scorePrecisionRecallNotes
qCammel-13-GPTQ_(apl{t5})_(gen)_10.570.570.57-
qCammel-13-GPTQ_(apl{t5})_(gen)_20.670.510.96mostly yes
qCammel-13-GPTQ_(apl{t5})_(gen)_30.650.630.85-
qCammel-13-GPTQ_(apl{t5})_(gen)_40.660.510.94mostly yes
qCammel-13-GPTQ_(apl{t5})_(gen)_50.650.500.98all yes
qCammel-13-GPTQ_(apl{t5})_(gen)_60.660.51.0all yes
qCammel-13-GPTQ_(apl{t5})_(gen)_70.660.51.0all yes
qCammel-13-GPTQ_(apl{t5})_(gen)_80.670.610.75-
qCammel-13-GPTQ_(apl{t5})_(gen)_90.640.580.71-
qCammel-13-GPTQ_(apl{t5})_(gen)_100.6350.5300.800-
MetricsF1-scorePrecisionRecallNotes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10.710.630.82x
qCammel-70-x-GPTQ_(apl{t5})_(gen)_20.650.650.65-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_30.700.610.83x
qCammel-70-x-GPTQ_(apl{t5})_(gen)_40.590.570.60-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_50.700.560.94x
qCammel-70-x-GPTQ_(apl{t5})_(gen)_60.620.680.57-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_70.600.640.57-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_80.690.570.88x
qCammel-70-x-GPTQ_(apl{t5})_(gen)_90.550.530.58-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_100.720.610.86x

Using Alpaca Template (_alp) + T5 prompt yes/no (t5) + generation (gen)

Prompt: Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n$premise \n Question: Does this imply that $hypothesis?\n Respond by outputting Yes or No. Be as accurate as possible. \n\n\n### Response:

MetricsF1-scorePrecisionRecallNotes
Asclepius-Llama2-13B_(apl{t5})_(gen)0.550.540.56-
Asclepius-13B-GPTQ_(apl{t5})_(gen)0.560.510.62-
qCammel-13-GPTQ_(apl{t5})_(gen)0.6350.530.80-
qCammel-13-Combined-Data-GPTQ_(apl{t5})_(gen)0.570.5250.63-
qCammel-13-Role-Playing-GPTQ_(apl{t5})_(gen)0.600.520.7217 forced yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)0.670.680.65had to reduce max len to 2k tokens
qCammel-70-x-GPTQ-gptq-3bit-128g_(apl{t5})_(gen)0.7050.670.74-
Using Alpaca Template (_alp) + T5 prompt entailment/contradiction (t5) + generation (gen)

Prompt: Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n$premise \n Question: Does this imply that $hypothesis?\n Respond by outputting Entailment or Contradiction. Be as accurate as possible. \n\n\n### Response:

MetricsF1-scorePrecisionRecallNotes
Asclepius-Llama2-13B_(apl{t5})_(gen)0.490.450.54-
Asclepius-13B-GPTQ_(apl{t5})_(gen)0.490.410.61-
qCammel-13-GPTQ_(apl{t5})_(gen)0.6320.530.79-
qCammel-13-Combined-Data-GPTQ_(apl{t5})_(gen)0.480.490.48-
qCammel-13-Role-Playing-GPTQ_(apl{t5})_(gen)0.520.510.54-
qCammel-70-x-GPTQ_(apl{t5})_(gen)0.660.500.96192/200 Entailment
qCammel-70-x-GPTQ-gptq-3bit-128g_(apl{t5})_(gen)0.670.5051198/200 Entailment

Using Alpaca Template (_alp) + T5 prompt yes/no (t5) + generation with CoT (gen-CoT)

Prompt: Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n$premise \n Question: Does this imply that $hypothesis?\n Let's think step by step, and end by outputting Yes or No. Be as accurate as possible. \n\n\n### Response:

MetricsF1-scorePrecisionRecallNotes
qCammel-13-GPTQ_(apl{t5})_(gen)----
qCammel-13-Combined-Data-GPTQ_(apl{t5})_(gen)----
qCammel-13-Role-Playing-GPTQ_(apl{t5})_(gen)----
qCammel-70-x-GPTQ_(apl{t5})_(gen)---had to reduce max len to 2k tokens
qCammel-70-x-GPTQ-gptq-3bit-128g_(apl{t5})_(gen)----

New Prompts Generation

"1" : "$premise \n Based on the paragraph above can we conclude that $hypothesis? $options", "3" : "$premise \n Can we draw the following conclusion? $hypothesis $options", "5" : "$premise \n Can we infer the following? $hypothesis $options", "8" : "Can we draw the following hypothesis from the context? Context: $premise \n Hypothesis: $hypothesis \n $options", "10" : "$premise \n Question: Does this imply that $hypothesis? $options"

Using these base prompts and gpt3.5-turbo, I generated the following prompts: "1_3" : "$premise Can we draw a reasonable conclusion regarding $hypothesis? Consider the $options", "1_5" : "$premise Can we draw a conclusion regarding $hypothesis based on the provided information? Consider the $options", "1_8" : "$premise Can we derive a conclusion regarding $hypothesis from the information provided? Consider the $options", "1_10" : "$premise \n Given the context, is it reasonable to assume that $hypothesis? $options",

"3_1" : "$premise Considering the information provided, can we draw the conclusion that $hypothesis? $options", "3_5" : "$premise \n Can we deduce the following? $hypothesis $options", "3_8" : "Can we infer the following hypothesis based on the given $premise? Hypothesis: $hypothesis $options", "3_10" : "$premise Assuming $hypothesis, what are the $options to consider?",

"5_1" : "Can we infer whether $premise supports the hypothesis that $hypothesis? $options ", "5_3" : "$premise Can we deduce the following outcome? $hypothesis $options", "5_8" : "Can we draw a plausible hypothesis based on the given context? Context: $premise Hypothesis: $hypothesis $options", "5_10" : "$premise \n Question: Can we infer the following? $hypothesis $options ",

"8_1" : "Can we draw a plausible hypothesis from the given context? Context: $premise Hypothesis: $hypothesis $options", "8_3" : "Can we infer the following outcome from the given scenario? Scenario: $premise \n Outcome: $hypothesis \n $options", "8_5" : "Can we derive the following hypothesis based on the given $premise? Furthermore, can we deduce the validity of $hypothesis considering $options?", "8_10" : "Considering the context outlined in $premise, can we deduce $hypothesis? Evaluate the following options: $options",

"10_1" : "Given the information provided, is it reasonable to infer that $hypothesis based on the $premise? $options", "10_3" : "$premise \n Can we infer that $hypothesis? $options", "10_5" : "$premise \n Can we deduce the following? $hypothesis $options", "10_8" : "Given the context: $premise Is it reasonable to conclude: $hypothesis?$options"

MetricsF1-scorePrecisionRecallNotes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-30.660.540.84-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-50.610.550.68-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-80.640.540.79-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-100.670.560.82-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-10.650.630.66-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-50.690.550.94-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-80.670.540.91-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3_100.650.490.94mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_10.610.500.78-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_30.700.550.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_80.690.530.98mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_100.710.590.91-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_10.680.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_30.630.560.73-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_50.670.501.00-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_100.650.540.84-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_10.580.520.67-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_30.710.600.89-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_50.690.550.94-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_80.690.580.84-

LLaMa-2-chat-hf

MetricsF1-scorePrecisionRecallNotes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-30.580.520.67-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-50.680.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-80.680.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-100.640.570.73-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-10.580.520.67-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-50.660.590.75-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-80.670.540.91-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3_100.700.550.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_10.670.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_30.680.530.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_80.690.530.98mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_100.710.590.91-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_10.680.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_30.630.560.73-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_50.670.501.00-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_100.520.540.50-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_10.680.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_30.470.540.42-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_50.470.540.42-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_80.660.590.75-

Other notes

Max token limit per model:

NVIDIA A100-PCIE-40GB

[qCammel-13-GPTQ] - 4096 tokens [qCammel-70-x-GPTQ] - 2600 tokens (Can use more tokens than 4-bit because doesn't use group size) [qCammel-70-x-GPTQ-4bit-32g] - 1250 tokens [qCammel-70-x-GPTQ-4bit-64g] - 1650 tokens [qCammel-70-x-GPTQ-4bit-128g] - 2050 tokens [qCammel-70-x-GPTQ-3bit-1g] - 4096 tokens [qCammel-70-x-GPTQ-3bit-128g] - 4096 tokens

araag2/Medical_LLMs

Repository to act as a playground to test various LLMs in the context of the medical domain

Python

0

65 commits

updated Jan 29, 2024

See the code

README

Medical_LLMs

Repository to act as a playground to test various LLMs in the context of the medical domain

SemEval2023

Set Compostions

All sets are balanced in labels, having 50% of Entailment and Contradiction

Metrics#SamplesSingleComparison
Train17001035665
Dev20014060
Test500229271

T5 Results

In order to obtain these results, I used Flan-T5 from huggingface, and used the following generation prompt: $premise \n Question: Does this imply that $hypothesis? $options, checking the outputs for "Entailment" or "Contradiction".

Train Set (0-shot)

MetricsF1-scorePrecisionRecallNotes
flanT5-small---Always Contradiction
flanT5-base0.320.500.23-
flanT5-large0.530.560.49-
flanT5-xl0.670.590.77-
flanT5-xxl0.690.610.79-

Dev Set (0-shot)

MetricsF1-scorePrecisionRecallNotes
flanT5-small---Always Contradiction
flanT5-base0.340.550.25-
flanT5-large0.570.610.53-
flanT5-xl0.690.610.79-
flanT5-xxl0.710.590.88-

Dev Set (fine-tuned)

MetricsF1-scorePrecisionRecallNotes
flanT5-xl0.7540.590.831-

qCammel family Results

In order to use the Clinical Cammel models, we will obtain them from huggingface hub, as it very easily allows us to quantize and test different model sizes.

Prompts

Alpaca Template (_alp + {prompt_used}): Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n$task_prompt\n### Response:

Asclepius Template (_asclp + {prompt_used}): You are an intelligent clinical language model.\nBelow is a snippet of clinical trial data and a following instruction from a healthcare professional. Write a response that appropriately completes the instruction. The response should provide the accurate answer to the instruction, while being concise.\n\n[Instruction Begin]\n{prompt}\n[Instruction End]

Base T5 Prompt (t5): $premise \n Question: Does this imply that $hypothesis? $options

Perplexity

Instead of trying to generate "Entailment" and "Contradiction", it's also possible to analize the output probabilities of the tokens, not requiring the model to explicity generate those tokens.

We will denote these differences by using _gen when the full generation is processed, and _perp when the perplexity score is used.

Asclepius-Llama2-13B

Asclepius-13B-GPTQ

qCammel-13-GPTQ

qCammel-13B-Combined-Data-GPTQ

qCammel-13B-Role-Playing-GPTQ

qCammel-70-x-GPTQ

qCammel-70-x-GPTQ-gptq-4bit-128g

qCammel-70-x-GPTQ-gptq-3bit-128g


Dev Set (0-shot)

Testing different task prompts (with apl{t5} + gen)

"1" : "$premise \n Based on the paragraph above can we conclude that $hypothesis? $options",

"2" : "$premise \n Based on that paragraph can we conclude that this sentence is true? $hypothesis $options",

"3" : "$premise \n Can we draw the following conclusion? $hypothesis $options",

"4" : "$premise \n Does this next sentence follow, given the preceding text? $hypothesis $options",

"5" : "$premise \n Can we infer the following? $hypothesis $options",

"6" : "Read the following paragraph and determine if the hypothesis is true: $premise \n Hypothesis: $hypothesis \n $options",

"7" : "Read the text and determine if the sentence is true: $premise \n Hypothesis: $hypothesis \n $options",

"8" : "Can we draw the following hypothesis from the context? Context: $premise \n Hypothesis: $hypothesis \n $options",

"9" : "Determine if the sentence is true based on the text below: $hypothesis \n $premise \n $options",

"10" : "$premise \n Question: Does this imply that $hypothesis? $options"

MetricsF1-scorePrecisionRecallNotes
qCammel-13-GPTQ_(apl{t5})_(gen)_10.570.570.57-
qCammel-13-GPTQ_(apl{t5})_(gen)_20.670.510.96mostly yes
qCammel-13-GPTQ_(apl{t5})_(gen)_30.650.630.85-
qCammel-13-GPTQ_(apl{t5})_(gen)_40.660.510.94mostly yes
qCammel-13-GPTQ_(apl{t5})_(gen)_50.650.500.98all yes
qCammel-13-GPTQ_(apl{t5})_(gen)_60.660.51.0all yes
qCammel-13-GPTQ_(apl{t5})_(gen)_70.660.51.0all yes
qCammel-13-GPTQ_(apl{t5})_(gen)_80.670.610.75-
qCammel-13-GPTQ_(apl{t5})_(gen)_90.640.580.71-
qCammel-13-GPTQ_(apl{t5})_(gen)_100.6350.5300.800-
MetricsF1-scorePrecisionRecallNotes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10.710.630.82x
qCammel-70-x-GPTQ_(apl{t5})_(gen)_20.650.650.65-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_30.700.610.83x
qCammel-70-x-GPTQ_(apl{t5})_(gen)_40.590.570.60-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_50.700.560.94x
qCammel-70-x-GPTQ_(apl{t5})_(gen)_60.620.680.57-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_70.600.640.57-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_80.690.570.88x
qCammel-70-x-GPTQ_(apl{t5})_(gen)_90.550.530.58-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_100.720.610.86x

Using Alpaca Template (_alp) + T5 prompt yes/no (t5) + generation (gen)

Prompt: Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n$premise \n Question: Does this imply that $hypothesis?\n Respond by outputting Yes or No. Be as accurate as possible. \n\n\n### Response:

MetricsF1-scorePrecisionRecallNotes
Asclepius-Llama2-13B_(apl{t5})_(gen)0.550.540.56-
Asclepius-13B-GPTQ_(apl{t5})_(gen)0.560.510.62-
qCammel-13-GPTQ_(apl{t5})_(gen)0.6350.530.80-
qCammel-13-Combined-Data-GPTQ_(apl{t5})_(gen)0.570.5250.63-
qCammel-13-Role-Playing-GPTQ_(apl{t5})_(gen)0.600.520.7217 forced yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)0.670.680.65had to reduce max len to 2k tokens
qCammel-70-x-GPTQ-gptq-3bit-128g_(apl{t5})_(gen)0.7050.670.74-
Using Alpaca Template (_alp) + T5 prompt entailment/contradiction (t5) + generation (gen)

Prompt: Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n$premise \n Question: Does this imply that $hypothesis?\n Respond by outputting Entailment or Contradiction. Be as accurate as possible. \n\n\n### Response:

MetricsF1-scorePrecisionRecallNotes
Asclepius-Llama2-13B_(apl{t5})_(gen)0.490.450.54-
Asclepius-13B-GPTQ_(apl{t5})_(gen)0.490.410.61-
qCammel-13-GPTQ_(apl{t5})_(gen)0.6320.530.79-
qCammel-13-Combined-Data-GPTQ_(apl{t5})_(gen)0.480.490.48-
qCammel-13-Role-Playing-GPTQ_(apl{t5})_(gen)0.520.510.54-
qCammel-70-x-GPTQ_(apl{t5})_(gen)0.660.500.96192/200 Entailment
qCammel-70-x-GPTQ-gptq-3bit-128g_(apl{t5})_(gen)0.670.5051198/200 Entailment

Using Alpaca Template (_alp) + T5 prompt yes/no (t5) + generation with CoT (gen-CoT)

Prompt: Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n$premise \n Question: Does this imply that $hypothesis?\n Let's think step by step, and end by outputting Yes or No. Be as accurate as possible. \n\n\n### Response:

MetricsF1-scorePrecisionRecallNotes
qCammel-13-GPTQ_(apl{t5})_(gen)----
qCammel-13-Combined-Data-GPTQ_(apl{t5})_(gen)----
qCammel-13-Role-Playing-GPTQ_(apl{t5})_(gen)----
qCammel-70-x-GPTQ_(apl{t5})_(gen)---had to reduce max len to 2k tokens
qCammel-70-x-GPTQ-gptq-3bit-128g_(apl{t5})_(gen)----

New Prompts Generation

"1" : "$premise \n Based on the paragraph above can we conclude that $hypothesis? $options", "3" : "$premise \n Can we draw the following conclusion? $hypothesis $options", "5" : "$premise \n Can we infer the following? $hypothesis $options", "8" : "Can we draw the following hypothesis from the context? Context: $premise \n Hypothesis: $hypothesis \n $options", "10" : "$premise \n Question: Does this imply that $hypothesis? $options"

Using these base prompts and gpt3.5-turbo, I generated the following prompts: "1_3" : "$premise Can we draw a reasonable conclusion regarding $hypothesis? Consider the $options", "1_5" : "$premise Can we draw a conclusion regarding $hypothesis based on the provided information? Consider the $options", "1_8" : "$premise Can we derive a conclusion regarding $hypothesis from the information provided? Consider the $options", "1_10" : "$premise \n Given the context, is it reasonable to assume that $hypothesis? $options",

"3_1" : "$premise Considering the information provided, can we draw the conclusion that $hypothesis? $options", "3_5" : "$premise \n Can we deduce the following? $hypothesis $options", "3_8" : "Can we infer the following hypothesis based on the given $premise? Hypothesis: $hypothesis $options", "3_10" : "$premise Assuming $hypothesis, what are the $options to consider?",

"5_1" : "Can we infer whether $premise supports the hypothesis that $hypothesis? $options ", "5_3" : "$premise Can we deduce the following outcome? $hypothesis $options", "5_8" : "Can we draw a plausible hypothesis based on the given context? Context: $premise Hypothesis: $hypothesis $options", "5_10" : "$premise \n Question: Can we infer the following? $hypothesis $options ",

"8_1" : "Can we draw a plausible hypothesis from the given context? Context: $premise Hypothesis: $hypothesis $options", "8_3" : "Can we infer the following outcome from the given scenario? Scenario: $premise \n Outcome: $hypothesis \n $options", "8_5" : "Can we derive the following hypothesis based on the given $premise? Furthermore, can we deduce the validity of $hypothesis considering $options?", "8_10" : "Considering the context outlined in $premise, can we deduce $hypothesis? Evaluate the following options: $options",

"10_1" : "Given the information provided, is it reasonable to infer that $hypothesis based on the $premise? $options", "10_3" : "$premise \n Can we infer that $hypothesis? $options", "10_5" : "$premise \n Can we deduce the following? $hypothesis $options", "10_8" : "Given the context: $premise Is it reasonable to conclude: $hypothesis?$options"

MetricsF1-scorePrecisionRecallNotes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-30.660.540.84-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-50.610.550.68-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-80.640.540.79-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-100.670.560.82-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-10.650.630.66-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-50.690.550.94-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-80.670.540.91-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3_100.650.490.94mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_10.610.500.78-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_30.700.550.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_80.690.530.98mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_100.710.590.91-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_10.680.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_30.630.560.73-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_50.670.501.00-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_100.650.540.84-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_10.580.520.67-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_30.710.600.89-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_50.690.550.94-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_80.690.580.84-

LLaMa-2-chat-hf

MetricsF1-scorePrecisionRecallNotes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-30.580.520.67-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-50.680.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-80.680.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_1-100.640.570.73-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-10.580.520.67-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-50.660.590.75-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3-80.670.540.91-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_3_100.700.550.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_10.670.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_30.680.530.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_80.690.530.98mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_5_100.710.590.91-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_10.680.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_30.630.560.73-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_50.670.501.00-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_8_100.520.540.50-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_10.680.520.96mostly yes
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_30.470.540.42-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_50.470.540.42-
qCammel-70-x-GPTQ_(apl{t5})_(gen)_10_80.660.590.75-

Other notes

Max token limit per model:

NVIDIA A100-PCIE-40GB

[qCammel-13-GPTQ] - 4096 tokens [qCammel-70-x-GPTQ] - 2600 tokens (Can use more tokens than 4-bit because doesn't use group size) [qCammel-70-x-GPTQ-4bit-32g] - 1250 tokens [qCammel-70-x-GPTQ-4bit-64g] - 1650 tokens [qCammel-70-x-GPTQ-4bit-128g] - 2050 tokens [qCammel-70-x-GPTQ-3bit-1g] - 4096 tokens [qCammel-70-x-GPTQ-3bit-128g] - 4096 tokens