# Image side-by-side preference annotation

**URL:** <https://support.prodi.gy/t/image-side-by-side-preference-annotation/7108>\
**Category:** Uncategorized\
**Created:** [February 20, 2024, 7:09pm UTC](https://support.prodi.gy/t/image-side-by-side-preference-annotation/7108 "2024-02-20T19:09:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wjhtomwjh](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/wjhtomwjh/32/3497_2.png) [@wjhtomwjh](https://support.prodi.gy/u/wjhtomwjh)\
**Post date:** [February 20, 2024, 7:09pm UTC](https://support.prodi.gy/t/image-side-by-side-preference-annotation/7108/1 "2024-02-20T19:09:53Z")

</div>

Is there support for Image/text side-by-side preference annotation? This is useful for training a preference ranking model used for RLHF.

---

<div class="post-metadata">

**Author:** ![magdaaniol](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/magdaaniol/32/2787_2.png) [@magdaaniol](https://support.prodi.gy/u/magdaaniol)\
**Post date:** [February 23, 2024, 4:18pm UTC](https://support.prodi.gy/t/image-side-by-side-preference-annotation/7108/2 "2024-02-23T16:18:20Z")

</div>

Hi @wjhtomwjh ,

For text preference you could use the [`compare`](https://prodi.gy/docs/recipes#compare) recipe which can take care of randomizing the questions to prevent the bias.

For images you could definitely achieve that with a custom recipe. I believe this thread can help you to get started: [Two images at the same time](https://support.prodi.gy/t/two-images-at-the-same-time/1759)  
The simplest option would probably be to combine a custom HTML view as discussed in the cited thread with a choice view for selecting the preferred option via [`blocks`](https://prodi.gy/docs/custom-interfaces#blocks).  
If you want to get a smoother experience of , for example, accepting via clicking on the image you should be able to achieve that by defining a [custom js event](https://prodi.gy/docs/custom-interfaces#custom-events)
