BAAI-DCAI / Bunny

A family of lightweight multimodal models.
Apache License 2.0
874 stars 66 forks source link

json format #1

Closed betterftr closed 7 months ago

betterftr commented 7 months ago

Hi, wanna give this a go, which format the model expects the json file to be?

is this good?

  {
    "id": "leia (1)",
    "image": "/mnt/d/quicktest/leia (1).jpg",
    "conversations": [
      {
        "from": "human",
        "value": " <image>\ndescribe the image"
      },
      {
        "from": "gpt",
        "value": "Princess Leia on Andor"
      }
    ]
  },
Isaachhh commented 7 months ago

Yes, that's the format we use.