African Cultural Reasoning Dataset with SmolAgents
import os
from typing import Dict, List, Any
import json
from datetime import datetime
import asyncio
from smolagents import CodeAgent, DuckDuckGoSearchTool, LiteLLMModel
class AfricanCultureDataGenerator:
def init(self, api_key: str):
# Initialize with explicit API key
os.environ["OPENAI_API_KEY"] = api_key
self.model = LiteLLMModel(
model_id="gpt-4o-mini",
)… See the full description on the dataset page: https://huggingface.co/datasets/Svngoku/african_cultural_reasoning.