Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendong-Fan committed Jan 30, 2025
1 parent f46e3c6 commit 7169cea
Show file tree
Hide file tree
Showing 3 changed files with 3,363 additions and 2 deletions.
1 change: 1 addition & 0 deletions camel/datagen/star/star_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ def process_problem(
solution_text = problem.get("solution", "")
current_trace = self.generate_reasoning_trace(problem_text)
improvement_history = []
scores = {}

# Create batches for parallel evaluation
batch_problems = []
Expand Down
4 changes: 2 additions & 2 deletions examples/datagen/star/download_math500_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def download_huggingface_dataset():
# Load the dataset using the datasets library
dataset = load_dataset("HuggingFaceH4/MATH-500", split="test")

# Get the first 20 items
data = dataset.select(range(20))
# Get the first 500 items
data = dataset.select(range(500))

# Print the first item to see its structure
print("Dataset structure:")
Expand Down
Loading

0 comments on commit 7169cea

Please sign in to comment.