Skip to content

Commit

Permalink
chore: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
honghanhh committed Oct 24, 2024
1 parent 8b0ee9f commit 069325a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
3 changes: 2 additions & 1 deletion lib/questions_eval/bash/experiments/super_tiny.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# python run.py -m model=gpt-4o-mini samples=10 num_questions=5
# python run.py -m model=gpt-4o samples=10 num_questions=5
python run.py -m model=llama3.1-405b-local samples=10 num_questions=5
# python run.py -m model=llama3.1-405b-local samples=10 num_questions=5
# python run_mimoracle.py -m model=llama3.1-405b-local samples=18 num_questions=5
9 changes: 0 additions & 9 deletions lib/questions_eval/run_mimoracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,6 @@ def generate_data(
synthetic_summary, summary
"""
# print(f"section_title: {type(row['section_title'])}")
# print(f"text: {type(row['text'])}")
# pdb.set_trace()
# Check if the values are not None or empty
if not row["section_title"] or not row["text"]:
raise ValueError("section_title or text is missing or empty")

synthetic_summary = summary_chain.invoke(
{
"section_title": row["section_title"],
Expand Down Expand Up @@ -239,8 +232,6 @@ def main(cfg: DictConfig):
df.rename(columns={"section_content": "summary"}, inplace=True)

tqdm.pandas(desc="Generating data...")
# print(type(summary_chain))
# print(type(question_chain))
ds_questions = [
item
for _, row in df.progress_apply(
Expand Down

0 comments on commit 069325a

Please sign in to comment.