Skip to content

Commit

Permalink
renamed datasets and assets
Browse files Browse the repository at this point in the history
  • Loading branch information
MaramHasanain committed Sep 4, 2023
1 parent 91114a0 commit 80d8692
Show file tree
Hide file tree
Showing 71 changed files with 169 additions and 198 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import os

from llmebench.datasets import AttentionworthyDataset
from llmebench.datasets import CT22AttentionworthyDataset
from llmebench.models import BLOOMPetalModel
from llmebench.tasks import AttentionworthyTask


def config():
return {
"dataset": AttentionworthyDataset,
"dataset": CT22AttentionworthyDataset,
"dataset_args": {},
"task": AttentionworthyTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import os
import re

from llmebench.datasets import AttentionworthyDataset
from llmebench.datasets import CT22AttentionworthyDataset
from llmebench.models import GPTModel, RandomGPTModel
from llmebench.tasks import AttentionworthyTask


def config():
return {
"dataset": AttentionworthyDataset,
"dataset": CT22AttentionworthyDataset,
"dataset_args": {},
"task": AttentionworthyTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import re

from llmebench.datasets import AttentionworthyDataset
from llmebench.datasets import CT22AttentionworthyDataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import AttentionworthyTask

Expand All @@ -12,7 +12,7 @@

def config():
return {
"dataset": AttentionworthyDataset,
"dataset": CT22AttentionworthyDataset,
"dataset_args": {},
"task": AttentionworthyTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import re

from llmebench.datasets import AttentionworthyDataset
from llmebench.datasets import CT22AttentionworthyDataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import AttentionworthyTask

Expand All @@ -12,7 +12,7 @@

def config():
return {
"dataset": AttentionworthyDataset,
"dataset": CT22AttentionworthyDataset,
"dataset_args": {},
"task": AttentionworthyTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import os

from llmebench.datasets import CheckworthinessDataset
from llmebench.datasets import CT22CheckworthinessDataset
from llmebench.models import BLOOMPetalModel
from llmebench.tasks import CheckworthinessTask


def config():
return {
"dataset": CheckworthinessDataset,
"dataset": CT22CheckworthinessDataset,
"dataset_args": {},
"task": CheckworthinessTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import os

from llmebench.datasets import CheckworthinessDataset
from llmebench.datasets import CT22CheckworthinessDataset
from llmebench.models import GPTModel, RandomGPTModel
from llmebench.tasks import CheckworthinessTask


def config():
return {
"dataset": CheckworthinessDataset,
"dataset": CT22CheckworthinessDataset,
"dataset_args": {},
"task": CheckworthinessTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import re

from llmebench.datasets import CheckworthinessDataset
from llmebench.datasets import CT22CheckworthinessDataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import CheckworthinessTask

Expand All @@ -12,7 +12,7 @@

def config():
return {
"dataset": CheckworthinessDataset,
"dataset": CT22CheckworthinessDataset,
"dataset_args": {},
"task": CheckworthinessTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import re

from llmebench.datasets import CheckworthinessDataset
from llmebench.datasets import CT22CheckworthinessDataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import CheckworthinessTask

Expand All @@ -12,7 +12,7 @@

def config():
return {
"dataset": CheckworthinessDataset,
"dataset": CT22CheckworthinessDataset,
"dataset_args": {},
"task": CheckworthinessTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import os

from llmebench.datasets import CovidClaimDataset
from llmebench.datasets import CT22ClaimDataset
from llmebench.models import BLOOMPetalModel
from llmebench.tasks import ClaimDetectionTask


def config():
return {
"dataset": CovidClaimDataset,
"dataset": CT22ClaimDataset,
"dataset_args": {},
"task": ClaimDetectionTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import os

from llmebench.datasets import CovidClaimDataset
from llmebench.datasets import CT22ClaimDataset
from llmebench.models import GPTModel
from llmebench.tasks import ClaimDetectionTask


def config():
return {
"dataset": CovidClaimDataset,
"dataset": CT22ClaimDataset,
"dataset_args": {},
"task": ClaimDetectionTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import os

from llmebench.datasets import CovidClaimDataset
from llmebench.datasets import CT22ClaimDataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import ClaimDetectionTask


def config():
return {
"dataset": CovidClaimDataset,
"dataset": CT22ClaimDataset,
"dataset_args": {},
"task": ClaimDetectionTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import re

from llmebench.datasets import CheckworthinessDataset
from llmebench.datasets import CT22CheckworthinessDataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import CheckworthinessTask

Expand All @@ -12,7 +12,7 @@

def config():
return {
"dataset": CheckworthinessDataset,
"dataset": CT22CheckworthinessDataset,
"dataset_args": {},
"task": CheckworthinessTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import os

from llmebench.datasets import FactualityCOVID19Dataset
from llmebench.datasets import COVID19FactualityDataset
from llmebench.models import BLOOMPetalModel
from llmebench.tasks import FactualityCOVID19Task


def config():
return {
"dataset": FactualityCOVID19Dataset,
"dataset": COVID19FactualityDataset,
"dataset_args": {},
"task": FactualityCOVID19Task,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import re

from llmebench.datasets import FactualityCOVID19Dataset
from llmebench.datasets import COVID19FactualityDataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import FactualityCOVID19Task

Expand All @@ -12,7 +12,7 @@

def config():
return {
"dataset": FactualityCOVID19Dataset,
"dataset": COVID19FactualityDataset,
"dataset_args": {},
"task": FactualityCOVID19Task,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import re

from llmebench.datasets import FactualityCOVID19Dataset
from llmebench.datasets import COVID19FactualityDataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import FactualityCOVID19Task

Expand All @@ -12,7 +12,7 @@

def config():
return {
"dataset": FactualityCOVID19Dataset,
"dataset": COVID19FactualityDataset,
"dataset_args": {},
"task": FactualityCOVID19Task,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import os

from llmebench.datasets import CovidHarmfulDataset
from llmebench.datasets import CT22HarmfulDataset
from llmebench.models import BLOOMPetalModel
from llmebench.tasks import HarmfulDetectionTask


def config():
return {
"dataset": CovidHarmfulDataset,
"dataset": CT22HarmfulDataset,
"dataset_args": {},
"task": HarmfulDetectionTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import os

from llmebench.datasets import CovidHarmfulDataset
from llmebench.datasets import CT22HarmfulDataset
from llmebench.models import GPTModel
from llmebench.tasks import HarmfulDetectionTask


def config():
return {
"dataset": CovidHarmfulDataset,
"dataset": CT22HarmfulDataset,
"dataset_args": {},
"task": HarmfulDetectionTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import os

from llmebench.datasets import CovidHarmfulDataset
from llmebench.datasets import CT22HarmfulDataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import HarmfulDetectionTask


def config():
return {
"dataset": CovidHarmfulDataset,
"dataset": CT22HarmfulDataset,
"dataset_args": {},
"task": HarmfulDetectionTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import re

from llmebench.datasets import CheckworthinessDataset
from llmebench.datasets import CT22CheckworthinessDataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import CheckworthinessTask

Expand All @@ -12,7 +12,7 @@

def config():
return {
"dataset": CheckworthinessDataset,
"dataset": CT22CheckworthinessDataset,
"dataset_args": {},
"task": CheckworthinessTask,
"task_args": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import re

from llmebench.datasets import PropagandaTweetDataset
from llmebench.datasets import WANLP22PropagandaDataset
from llmebench.models import BLOOMPetalModel
from llmebench.tasks import PropagandaMultilabelTask

Expand All @@ -12,7 +12,7 @@

def config():
return {
"dataset": PropagandaTweetDataset,
"dataset": WANLP22PropagandaDataset,
"dataset_args": {
"techniques_path": "data/factuality_disinformation_harmful_content/propaganda/classes.txt"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

import regex as re

from llmebench.datasets import PropagandaTweetDataset
from llmebench.datasets import WANLP22PropagandaDataset
from llmebench.models import GPTModel
from llmebench.tasks import PropagandaMultilabelTask


def config():
return {
"dataset": PropagandaTweetDataset,
"dataset": WANLP22PropagandaDataset,
"dataset_args": {
"techniques_path": "data/factuality_disinformation_harmful_content/propaganda/classes.txt"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import re

from llmebench.datasets import PropagandaTweetDataset
from llmebench.datasets import WANLP22PropagandaDataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import PropagandaMultilabelTask

Expand All @@ -12,7 +12,7 @@

def config():
return {
"dataset": PropagandaTweetDataset,
"dataset": WANLP22PropagandaDataset,
"dataset_args": {
"techniques_path": "data/factuality_disinformation_harmful_content/propaganda/classes.txt"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import re

from llmebench.datasets import PropagandaTweetDataset
from llmebench.datasets import WANLP22T3Dataset
from llmebench.models import GPTChatCompletionModel
from llmebench.tasks import PropagandaMultilabelTask

Expand All @@ -12,7 +12,7 @@

def config():
return {
"dataset": PropagandaTweetDataset,
"dataset": WANLP22T3Dataset,
"dataset_args": {
"techniques_path": "data/factuality_disinformation_harmful_content/propaganda/classes.txt"
},
Expand Down
Loading

0 comments on commit 80d8692

Please sign in to comment.