From 496f355d158e2a51d5d7658bc905c496ee3b8b0a Mon Sep 17 00:00:00 2001
From: Li Yin
Date: Fri, 23 Aug 2024 09:28:17 -0700
Subject: [PATCH 1/8] clean up code and comments
---
README.md | 5 +-
adalflow/CHANGELOG.md | 3 +
adalflow/adalflow/__init__.py | 6 +-
.../output_parsers/dataclass_parser.py | 1 -
adalflow/adalflow/core/generator.py | 15 +-
adalflow/adalflow/optim/trainer/trainer.py | 21 --
docs/source/index.rst | 42 ++--
docs/source/use_cases/question_answering.rst | 2 +-
use_cases/classification/train.py | 8 +-
.../classification/trec_task_string_output.py | 3 +-
.../trec_task_structured_output.py | 2 +-
use_cases/classification/visualize.py | 131 ++++++++---
.../bhh_object_count/prepare_trainer.py | 129 -----------
.../bhh_object_count/task.py | 211 +++++++++---------
.../bhh_object_count/train.py | 132 -----------
.../bhh_object_count/train_new.py | 16 +-
16 files changed, 265 insertions(+), 462 deletions(-)
delete mode 100644 use_cases/question_answering/bhh_object_count/prepare_trainer.py
delete mode 100644 use_cases/question_answering/bhh_object_count/train.py
diff --git a/README.md b/README.md
index 0d9174f4..e206e61f 100644
--- a/README.md
+++ b/README.md
@@ -122,8 +122,7 @@ Because of this, no library can provide out-of-the-box solutions. Users must bui
-Further reading: [How We Started](https://www.linkedin.com/posts/li-yin-ai_both-ai-research-and-engineering-use-pytorch-activity-7189366364694892544-Uk1U?utm_source=share&utm_medium=member_desktop),
-[Introduction](https://adalflow.sylph.ai/), [Design Philosophy](https://adalflow.sylph.ai/tutorials/lightrag_design_philosophy.html) and [Class hierarchy](https://adalflow.sylph.ai/tutorials/class_hierarchy.html).
+Further reading: [How We Started](https://www.linkedin.com/posts/li-yin-ai_both-ai-research-and-engineering-use-pytorch-activity-7189366364694892544-Uk1U?utm_source=share&utm_medium=member_desktop), [Design Philosophy](https://adalflow.sylph.ai/tutorials/lightrag_design_philosophy.html) and [Class hierarchy](https://adalflow.sylph.ai/tutorials/class_hierarchy.html).