Skip to content

Commit cfbffef

Browse files
authored
Merge pull request #14 from VectorInstitute/update_to_impls
Change algorithms to implementations
2 parents 859f82c + 3b8acbc commit cfbffef

File tree

6 files changed

+54
-23
lines changed

6 files changed

+54
-23
lines changed

docs/index.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ a.dataset-tag:hover {
278278

279279
<div class="catalog-stats">
280280
<div class="stat">
281-
<div class="stat-number">25</div>
281+
<div class="stat-number">27</div>
282282
<div class="stat-label">Implementations</div>
283283
</div>
284284
<div class="stat">
@@ -296,6 +296,24 @@ a.dataset-tag:hover {
296296

297297

298298

299+
300+
301+
302+
303+
304+
305+
306+
307+
308+
309+
310+
311+
312+
313+
314+
315+
316+
299317

300318

301319

@@ -350,6 +368,19 @@ a.dataset-tag:hover {
350368

351369
<div class="grid cards" markdown>
352370
<div class="card" markdown>
371+
<div class="header">
372+
<h3><a href="https://github.com/VectorInstitute/fed-rag" title="Go to Repository">fed-rag</a></h3>
373+
<span class="tag year-tag">2025</span>
374+
<span class="tag type-tag">tool</span>
375+
</div>
376+
<p>A framework for fine-tuning retrieval-augmented generation (RAG) systems.</p>
377+
<div class="tag-container">
378+
<span class="tag" data-tippy="RA-DIT">RA-DIT</span> <span class="tag" data-tippy="Algo2">Algo2</span>
379+
</div>
380+
381+
382+
</div>
383+
<div class="card" markdown>
353384
<div class="header">
354385
<h3><a href="https://github.com/VectorInstitute/fl4health" title="Go to Repository">fl4health</a></h3>
355386
<span class="tag year-tag">2024</span>

repositories/bias-mitigation-unlearning.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: bias-mitigation-unlearning
22
repo_id: bmu-repo
33
description: "A repository for social bias mitigation in LLMs using machine unlearning"
4-
algorithms:
4+
implementations:
55
- name: Negation via Task Vectors
66
url: https://aclanthology.org/2024.emnlp-industry.71/
77
- name: PCGU

repositories/diffusion-models.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: diffusion-models
22
repo_id: diffusion-repo
33
description: "A repository with demos for various diffusion models for tabular and time series data"
4-
algorithms:
4+
implementations:
55
- name: TabDDPM
66
url: null
77
- name: TabSyn

repositories/fl4health.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: fl4health
22
repo_id: fl4health-repo
33
description: "A flexible, modular, and easy to use library to facilitate federated learning research and development in healthcare settings"
4-
algorithms:
4+
implementations:
55
- name: FedAvg
66
url: https://arxiv.org/abs/1602.05629
77
- name: FedOpt

scripts/sync_repositories_to_docs.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ def count_total_implementations(implementations_by_type: Dict[str, List[Dict]])
107107
total_count = 0
108108
for _impl_type, implementations in implementations_by_type.items():
109109
for impl in implementations:
110-
# Count the algorithms in each implementation
111-
if "algorithms" in impl and impl["algorithms"]:
112-
total_count += len(impl["algorithms"])
110+
# Count the implementations
111+
if "implementations" in impl and impl["implementations"]:
112+
total_count += len(impl["implementations"])
113113

114114
return total_count
115115

@@ -176,24 +176,24 @@ def generate_card_html(impl: Dict) -> str:
176176
HTML string for the implementation card
177177
178178
"""
179-
# Extract algorithms to display as tags
180-
algorithms = impl.get("algorithms", [])
179+
# Extract implementations to display as tags
180+
implementations = impl.get("implementations", [])
181181
tag_html = ""
182182

183-
# Create algorithm tags with data-tippy attribute
184-
for algo in algorithms:
185-
if isinstance(algo, dict) and "name" in algo:
186-
algo_name = algo["name"].strip()
187-
algo_url = algo.get("url", "")
183+
# Create implementation tags with data-tippy attribute
184+
for impl_ in implementations:
185+
if isinstance(impl_, dict) and "name" in impl_:
186+
impl_name = impl_["name"].strip()
187+
impl_url = impl_.get("url", "")
188188

189-
if algo_url:
190-
tag_html += f' <a href="{algo_url}" class="tag" target="_blank">{algo_name}</a> '
189+
if impl_url:
190+
tag_html += f' <a href="{impl_url}" class="tag" target="_blank">{impl_name}</a> '
191191
else:
192-
tag_html += f' <span class="tag" data-tippy="{algo_name}">{algo_name}</span> '
192+
tag_html += f' <span class="tag" data-tippy="{impl_name}">{impl_name}</span> '
193193
else:
194-
algo_text = str(algo).strip()
195-
if algo_text:
196-
tag_html += f' <span class="tag" data-tippy="{algo_text}">{algo_text}</span> '
194+
impl_text = str(impl_).strip()
195+
if impl_text:
196+
tag_html += f' <span class="tag" data-tippy="{impl_text}">{impl_text}</span> '
197197

198198
# Format datasets
199199
formatted_datasets = format_datasets(impl.get("public_datasets", []))

uv.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)