feat(Update description):

This commit is contained in:
Alexander Myasoedov
2024-04-28 15:39:37 +03:00
parent eae8dafeff
commit 17db996280
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -126,7 +126,7 @@ REGISTRY = [
"num_prompts": 0,
"tokens": 0,
"approx_cost": 0.0,
"source": "Github: tml-epfl/llm-adaptive-attacks",
"source": "Github: tml-epfl/llm-adaptive-attacks#0.0.1",
"selected": False,
"dynamic": True,
"url": "https://github.com/tml-epfl/llm-adaptive-attacks",
@@ -136,9 +136,9 @@ REGISTRY = [
"num_prompts": 0,
"tokens": 0,
"approx_cost": 0.0,
"source": "Github: https://github.com/leondz/garak",
"source": "Github: https://github.com/leondz/garak#v0.9.0.1",
"selected": False,
"url": "https://github.com/leondz/garak",
"url": "https://github.com/leondz/garak2",
"dynamic": True,
},
{
@@ -146,7 +146,7 @@ REGISTRY = [
"num_prompts": len(load_local_csv().prompts),
"tokens": load_local_csv().tokens,
"approx_cost": 0.0,
"source": "Local file dataset",
"source": f"Local file dataset: {load_local_csv().metadata['src']}",
"selected": len(load_local_csv().prompts),
"url": "",
},
+1 -1
View File
@@ -275,7 +275,7 @@ def load_local_csv() -> ProbeDataset:
return ProbeDataset(
dataset_name="Local CSV",
metadata={},
metadata={"src": str(csv_files)},
prompts=prompt_list,
tokens=count_words_in_list(prompt_list),
approx_cost=0.0,