# V2 BayesFlow and Hierarchal Modeling

**URL:** <https://discuss.bayesflow.org/t/v2-bayesflow-and-hierarchal-modeling/136>\
**Category:** General\
**Created:** [April 2, 2025, 7:10am UTC](https://discuss.bayesflow.org/t/v2-bayesflow-and-hierarchal-modeling/136 "2025-04-02T07:10:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tooweisian](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@tooweisian](https://discuss.bayesflow.org/u/tooweisian)\
**Post date:** [April 2, 2025, 7:10am UTC](https://discuss.bayesflow.org/t/v2-bayesflow-and-hierarchal-modeling/136/1 "2025-04-02T07:10:43Z")

</div>

Hello,

I had a quick question about the interface for hierarchal models; are hierarchal models supported in BayesFlow V2? I remember there were several methods in V1 that supported hierarchal models. If so, how would you go about specifying the priors and the sampling?

Thanks!

---

<div class="post-metadata">

**Author:** ![KLDivergence](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.bayesflow.org/kldivergence/32/15_2.png) [@KLDivergence](https://discuss.bayesflow.org/u/KLDivergence)\
**Post date:** [April 3, 2025, 11:38am UTC](https://discuss.bayesflow.org/t/v2-bayesflow-and-hierarchal-modeling/136/2 "2025-04-03T11:38:33Z")

</div>

Hey Wei, for now we should use v1 for hierarchical models. V2 will soon include a much more general interface for arbitrary hierarchical models.
