Downloads · 30 days
1
3% of all-time downloads
bhxvxsh/recipe_ai_hrm_v1
recipe_ai_hrm_v1 is a reinforcement learning model from bhxvxsh. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for stable-baselines3. The card lists the license as mit.
This is a trained PPO agent for nutritionally-balanced recipe generation, part of a hierarchical reinforcement learning system (HRM).
Downloads · 30 days
1
3% of all-time downloads
All-time downloads
33
Public
Repo size
5.4 MB
Likes
0
Public
Click a slice to open those files.
.zip5.4 MB · 100%
From the Hugging Face model README
This is a trained PPO agent for nutritionally-balanced recipe generation, part of a hierarchical reinforcement learning system (HRM).
Phase 1 Baseline Agent:
State Space: 11-dimensional
Action Space: 325 discrete actions
Constraints (per meal):
Dataset: USDA FoodData Central (324 processed ingredients)
import gymnasium as gym
from stable_baselines3 import PPO
# Load model
model = PPO.load("recipe_agent_standard_ppo")
# Generate recipe (requires RecipeEnv - see repository)
# obs, info = env.reset()
# action, _states = model.predict(obs, deterministic=True)
Full code: [RecipeAI GitHub Repository]
@software{recipeai2024,
title={RecipeAI: Hierarchical Reinforcement Learning for Recipe Generation},
author=Bhavesh,
year=2025,
url={https://huggingface.co/bhxvxsh/recipe-ai-hrm}
}
MIT License