In [1]:
%reload_ext autotime
import pandas as pd
import requests
from pprint import pprint
import json5 as json # This is a more forgiving JSON parser that can handle comments, single quotes, and trailing commas
import torch
from PIL import Image
from tqdm.auto import tqdm
pd.options.plotting.backend = "plotly"
pd.set_option("display.max_columns", None)
pd.set_option("display.max_colwidth", 100)
time: 2.08 s (started: 2025-06-25 14:26:30 +12:00)
In [2]:
df = pd.read_excel("givealittle_health.xlsx")
def get_text(row):
text = ""
if not pd.isna(row["title"]):
text += "Title: " + row["title"] + "\n"
if not pd.isna(row["pitch"]):
text += "Pitch: " + row["pitch"] + "\n"
if not pd.isna(row["description"]): # Description includes use_of_funds
text += "Description: " + row["description"] + "\n"
if not pd.isna(row["updates"]):
text += "Updates: " + row["updates"] + "\n"
if not pd.isna(row["location"]):
text += "Location: " + row["location"] + "\n"
return text.strip()
df["text"] = df.apply(get_text, axis=1)
df
Out[2]:
title | pitch | hero | uri | amountRaised | goal | timeLeft | action | actionUri | start | end | n_questions | location | n_donors | description | use_of_funds | whos_involved | moderated | n_updates | updates | Q&A | text | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Rugby league lover, Ben Stowers, has had his whole life turned upside down from one tackle. | This page has been started to help Ben, his partner and their families with the financial impact... | https://static.givealittle.co.nz/assets/hero/82a33c79-46e8-4c6c-ad1a-b2f7010ebbc2-320:False | https://givealittle.co.nz/cause/rugby-league-lover-ben-stowers-has-had-his-whole | 3070.0 | 0.0 | 362 days to go | Donate | https://givealittle.co.nz/donate/cause/rugby-league-lover-ben-stowers-has-had-his-whole | 9 Jun 2025 | 8 Jun 2026 | 0 | Porirua, Wellington | 52.0 | On the 22nd of March Ben's life took a turn for the worse, playing the sport he loved - Rugby Le... | Travel between Wellington and Christchurch, day to day living expenses, modifications to home | Created by\r\nKarra Hanara \n\n\n\n\r\n Paying to a verified bank account of\r\nPeta Manav... | Page Moderated | NaN | NaN | NaN | Title: Rugby league lover, Ben Stowers, has had his whole life turned upside down from one tackl... |
1 | HOPE FOR SUMMER #BATTENSBEATER | An ultra rare Princess who is fighting a rare disease Batten Disease CLN1 only one ever in NZ he... | https://static.givealittle.co.nz/assets/hero/62b8152b-4f56-4c62-b602-b2f701558791-320:False | https://givealittle.co.nz/cause/hope-for-summer-battensbeater | 585.0 | 0.0 | 727 days to go | Donate | https://givealittle.co.nz/donate/cause/hope-for-summer-battensbeater | 9 Jun 2025 | 9 Jun 2027 | 0 | Nationwide | 14.0 | Summer is 11 years old with a rare terminal Disease called Batten Disease CLN1 there is no cure ... | Medical costs medical equipment costs making memeories and other expenses for helping Summer to ... | Created by, and paying to a verified bank account of,\r\nRay Mudford on behalf of Summer M... | Page Moderated | 1.0 | A little something about Summer 🦄\n11 June 2025\nYou will never see Summer without a reborn she ... | NaN | Title: HOPE FOR SUMMER #BATTENSBEATER\nPitch: An ultra rare Princess who is fighting a rare dise... |
2 | Help Esther Fight Breast Cancer — A Young Mum from Vanuatu | Please help a Vanuatu family through a hard time! | https://static.givealittle.co.nz/assets/hero/be4d939b-2ea7-4b03-b2d0-b2f60130466f-320:False | https://givealittle.co.nz/cause/help-esther-fight-breast-cancer-a-young-mum | 760.0 | 2100.0 | 11 days to go | Donate | https://givealittle.co.nz/donate/cause/help-esther-fight-breast-cancer-a-young-mum | 8 Jun 2025 | 22 Jun 2025 | 0 | Cromwell, Otago | 16.0 | This fundraiser is for Esther, a strong and loving 31-year-old mother from Vanuatu, who is coura... | To Esther treatment in india | Created by, and paying to a verified bank account of,\r\nMagali Domingo on behalf of Esther... | Page Moderated | 1.0 | Update on Esther – Thank You for Your Support\n10 June 2025\nGood morning everyone,\nI want to s... | NaN | Title: Help Esther Fight Breast Cancer — A Young Mum from Vanuatu\nPitch: Please help a Vanuatu ... |
3 | $100k in 100 days! | Help save a life saving service for mothers in South Auckland & North Waikato | https://static.givealittle.co.nz/assets/hero/e70859ac-626e-4150-9be2-b2f9011aee93-320:False | https://givealittle.co.nz/cause/savewellwomen | 4779.0 | 100000.0 | 110 days to go | Donate | https://givealittle.co.nz/donate/cause/savewellwomen | 8 Jun 2025 | 30 Sep 2025 | 0 | Auckland | 63.0 | At Well Women Trust, we walk alongside women through some of the most vulnerable times in their ... | Well Women Trust needs to raise $100,000 within 100 days to keep services running.We are calling... | Created by, and paying to a verified bank account of,\r\n \r\n Well Women\r\n ... | Page Moderated | NaN | NaN | NaN | Title: $100k in 100 days!\nPitch: Help save a life saving service for mothers in South Auckland ... |
4 | Goldenhar Syndrome: Help a Young Girl Through Her Medical Hurdles | My daughter was born with Goldenhar syndrome, a rare congenital disorder. After years of treatme... | https://static.givealittle.co.nz/assets/hero/f1fc251d-37f0-48f1-aff8-b2f600cd85cd-320:False | https://givealittle.co.nz/cause/goldenhar-syndrome-help-a-young-girl | 35.0 | 30000.0 | 180 days to go | Donate | https://givealittle.co.nz/donate/cause/goldenhar-syndrome-help-a-young-girl | 8 Jun 2025 | 8 Dec 2025 | 0 | Nationwide | 3.0 | In 2010, my daughter was born with Goldenhar Syndrome, a rare congenital condition. She has face... | Ongoing medical costs. Every sent will be put towards doctors' and hospital bills. Our journey w... | Created by, and paying to a verified bank account of,\r\n \r\n Jo Coetzer | Page Moderated | NaN | NaN | NaN | Title: Goldenhar Syndrome: Help a Young Girl Through Her Medical Hurdles\nPitch: My daughter was... |
... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
11208 | Amber and Daniel were twins born on 24th and 25th December 2015. They were born at 23 weeks gest... | Raising money for the little McSweeney family who have spent the last 5 months in hospital! | https://static.givealittle.co.nz/assets/hero/a07c15e8-a593-48bb-a652-a5fa009e35b9-320:False | https://givealittle.co.nz/cause/hartleytwinsmicropremmies | 4834.0 | 0.0 | closed | Read more | https://givealittle.co.nz/cause/hartleytwinsmicropremmies | 2 May 2016 | 6 Jun 2016 | 0 | Canterbury | 122.0 | PLEASE READ THE UPDATE TO THIS POST UNDER UPDATE TAB. We need you all to know how much of an imp... | NaN | Created by, and paying to a verified bank account of,_x000D_\n _x000D_\n Elise Hartl... | Page Moderated | 1.0 | Attention all followers of our story\n31 May 2016\nHello, my name is Elise Hartley and I am the ... | NaN | Title: Amber and Daniel were twins born on 24th and 25th December 2015. They were born at 23 wee... |
11209 | Tania Whanau, known by most as Tarnz, is a strong, 40 year old woman who was diagnosed with brea... | Since February '16 Tarnz has undergone two operations; one removing 34 lymph nodes from her righ... | https://static.givealittle.co.nz/assets/hero/652566e9-6f90-4632-9b3f-a5f900e9af2c-320:False | https://givealittle.co.nz/cause/fightbreastcancerlikeabitch | 1550.0 | 0.0 | closed | Read more | https://givealittle.co.nz/cause/fightbreastcancerlikeabitch | 1 May 2016 | 22 Jul 2016 | 0 | Hawke's Bay | 34.0 | Tania Whanau, known by most as Tarnz, is a strong, 40 year old woman who was diagnosed with Grad... | NaN | Created by_x000D_\n _x000D_\n Nancy Easthope_x000D_\n \n\n\n\n\n_x000D_\n ... | Page Moderated | NaN | NaN | NaN | Title: Tania Whanau, known by most as Tarnz, is a strong, 40 year old woman who was diagnosed wi... |
11210 | Cardiology Fundraiser | Fundraising for patients & families affected by Heart Disease. | https://static.givealittle.co.nz/assets/hero/bfefeb94-f041-478f-80a0-a5f900c0dc47-320:False | https://givealittle.co.nz/cause/fund4aheart | 915.0 | 0.0 | closed | Read more | https://givealittle.co.nz/cause/fund4aheart | 1 May 2016 | 15 Aug 2016 | 0 | Waikato | 9.0 | We aim to provide clients with the most up-to-date education around their Heart Disease diagnosi... | NaN | Created by, and paying to a verified bank account of,_x000D_\n _x000D_\n Cardiology ... | Page Moderated | NaN | NaN | NaN | Title: Cardiology Fundraiser\nPitch: Fundraising for patients & families affected by Heart Disea... |
11211 | Help for Julia, while she is caring for Ian Robertson | Please support me so I'll be able to continue caring for my dear friend Ian Roberston. He suffer... | https://static.givealittle.co.nz/assets/hero/531d73ca-22d8-423b-93be-a5f700a2c8ed-320:False | https://givealittle.co.nz/cause/help4julia | 2645.0 | 0.0 | closed | Read more | https://givealittle.co.nz/cause/help4julia | 30 Apr 2016 | 30 May 2016 | 0 | Canterbury | 31.0 | I'm caring for my dear Kiwi friend Ian Robertson, who suffers from terminal lung cancer. It's ge... | NaN | Created by, and paying to a verified bank account of,_x000D_\n _x000D_\n Julia Schlu... | Page Moderated | NaN | NaN | NaN | Title: Help for Julia, while she is caring for Ian Robertson\nPitch: Please support me so I'll b... |
11212 | TRUS Biopsy Machine for Taranaki | The men of Taranaki need this TRUS Biopsy Machine to diagnose Prostate Cancer. Reduce waiting t... | https://static.givealittle.co.nz/assets/hero/c9169845-63b5-4c1e-bb50-a5fc00e5abd0-320:False | https://givealittle.co.nz/cause/prostatebiopsymachinenewplymouth | 1910.0 | 20000.0 | closed | Read more | https://givealittle.co.nz/cause/prostatebiopsymachinenewplymouth | 29 Apr 2016 | 31 Aug 2016 | 0 | Taranaki | 15.0 | Currently the TRUS (Trans Rectal Ultrasound) machine for diagnosing prostate cancer is only avai... | NaN | Created by, and paying to a verified bank account of,_x000D_\n _x000D_\n Rotary Club... | Page Moderated | NaN | NaN | NaN | Title: TRUS Biopsy Machine for Taranaki\nPitch: The men of Taranaki need this TRUS Biopsy Machin... |
11213 rows × 22 columns
time: 5.49 s (started: 2025-06-25 14:26:32 +12:00)
In [3]:
from transformers import Qwen2_5_VLForConditionalGeneration, AutoTokenizer, AutoProcessor
from qwen_vl_utils import process_vision_info
import torch
# Loading this model uses 64.2GB VRAM, so the model can be loaded on a single A100 80GB GPU.
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
"Qwen/Qwen2.5-VL-32B-Instruct",
torch_dtype=torch.bfloat16,
attn_implementation="flash_attention_2",
device_map="cuda",
)
processor = AutoProcessor.from_pretrained("Qwen/Qwen2.5-VL-32B-Instruct")
Loading checkpoint shards: 0%| | 0/18 [00:00<?, ?it/s]
Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.52, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`. You have video processor config saved in `preprocessor.json` file which is deprecated. Video processor configs should be saved in their own `video_preprocessor.json` file. You can rename the file or load and save the processor back which renames it automatically. Loading from `preprocessor.json` will be removed in v5.0.
time: 37.7 s (started: 2025-06-25 14:26:38 +12:00)
In [4]:
for row in tqdm(df.head(5).itertuples(index=False)):
print("Input:")
print(row.uri)
print(row.text)
image = Image.open(requests.get(row.hero, stream=True).raw)
display(image)
messages = [
{
"role": "user",
"content": [
{"type": "text", "text": """
The below message is text extracted from givealittle, a crowdfunding platform. It's a health related campaign.
I've also included the hero image for the campaign.
For the text below, extract the following information, in JSON format:
condition: the primary health condition mentioned in the text
ICD10: the ICD10 code for the primary health condition
ICD: the top level ICD chapter for the primary health condition. One of:
Chapter A00-B99 - Certain infectious and parasitic diseases
Chapter C00-D49 - Neoplasms
Chapter D50-D89 - Diseases of the blood and blood-forming organs and certain disorders involving the immune mechanism
Chapter E00-E89 - Endocrine, nutritional and metabolic diseases
Chapter F01-F99 - Mental, Behavioral and Neurodevelopmental disorders
Chapter G00-G99 - Diseases of the nervous system
Chapter H00-H59 - Diseases of the eye and adnexa
Chapter H60-H95 - Diseases of the ear and mastoid process
Chapter I00-I99 - Diseases of the circulatory system
Chapter J00-J99 - Diseases of the respiratory system
Chapter K00-K95 - Diseases of the digestive system
Chapter L00-L99 - Diseases of the skin and subcutaneous tissue
Chapter M00-M99 - Diseases of the musculoskeletal system and connective tissue
Chapter N00-N99 - Diseases of the genitourinary system
Chapter O00-O9A - Pregnancy, childbirth and the puerperium
Chapter P00-P96 - Certain conditions originating in the perinatal period
Chapter Q00-Q99 - Congenital malformations, deformations and chromosomal abnormalities
Chapter R00-R99 - Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified
Chapter S00-T88 - Injury, poisoning and certain other consequences of external causes
Chapter V00-Y99 - External causes of morbidity
Chapter Z00-Z99 - Factors influencing health status and contact with health services
Chapter U00-U85 - Codes for special purposes
name: the name of the person this campaign is for
gender: the gender of the person this campaign is for, one of Male, Female or Other/unknown
age: the age of the person this campaign is for
age_group: the age group of the person this campaign is for, one of 0-14, 15-64, 65+ or indeterminate/unknown
ethnicity: the ethnicity of the person this campaign is for. If not mentioned in the text, guess their ethnicity from the image.
urgency: a number from 0-100, indicating how urgent the need is
sentiment: a number from 0-100, indicating the sentiment of the text, where 100 is the most positive, and 0 is the most negative
truth: a number from 0-100, indicating how truthful the text is, where 100 is the most truthful, and 0 is the least truthful
notes: any additional information about how you processed this text, such as warnings or errors
smiling: a boolean indicating whether the person in the image is smiling
deservingness: a number from 0-100, indicating how deserving the person is of receiving funds, where 100 is the most deserving, and 0 is the least deserving
attractiveness: a number from 0-100, indicating how attractive the person is, where 100 is the most attractive, and 0 is the least attractive
use: The main use of the raised funds - one or more (comma separated) of: medical expenses, experimental therapies, travel expenses, lost wages
region: The region in New Zealand where the person is located, one of: Northland, Auckland, Waikato, Bay of Plenty, Gisborne, Hawke's Bay, Taranaki, Manuwatū-Whanganui, Wellington, Tasman, Nelson, Marlborough, West Coast, Canterbury, Otago, Southland
narrative_clarity: a number from 0-100, indicating how clear the narrative is, where 100 is the most clear, and 0 is the least clear
narrative_quality: a number from 0-100, indicating how well written the narrative is
emotional_tone: grateful | desperate | hopeful | neutral | etc
image_type: selfie | portrait | symbolic | environment | group | other
face_visible: true | false
facial_expression: smiling | neutral | serious | emotional | not_detectable
image_quality: high | medium | low
Do not include comments in your JSON response. Only respond with the JSON object. Make sure the JSON is valid
"""},
{
"type": "image",
"image": row.hero,
},
{"type": "text", "text": row.text}
]
}
]
text = processor.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
image_inputs, video_inputs = process_vision_info(messages)
inputs = processor(
text=[text],
images=image_inputs,
videos=video_inputs,
padding=True,
return_tensors="pt",
)
inputs = inputs.to("cuda")
print(len(inputs.input_ids[0]), "tokens in input")
generated_ids = model.generate(**inputs, max_new_tokens=5000)
generated_ids_trimmed = [
out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]
print(len(generated_ids_trimmed[0]), "tokens in output")
output_text = processor.batch_decode(
generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
)[0]
output_text = output_text.replace("```json", "").replace("```", "").strip()
print("Output:")
result = json.loads(output_text)
pprint(result)
print("\n")
0it [00:00, ?it/s]
Input: https://givealittle.co.nz/cause/rugby-league-lover-ben-stowers-has-had-his-whole Title: Rugby league lover, Ben Stowers, has had his whole life turned upside down from one tackle. Pitch: This page has been started to help Ben, his partner and their families with the financial impact is has had on them since his accident. Description: On the 22nd of March Ben's life took a turn for the worse, playing the sport he loved - Rugby League. One dangerous tackle, unfortunately, turned our whole lives upside down. On that day, Ben was airlifted by helicopter from the rugby field and flown straight down to Christchurch hospital resulting in him having urgent surgery to his neck. He spent two weeks at Christchurch Hospital in ICU before being transferred to Burwood Spinal Unit where he is currently undergoing specialist care and rehabilitation. He has since been diagnosed with a C4 and C5 spinal injury. From the time of the accident, Ben lost all movement and sensation from his neck down resulting in him being paralysed & bed bound. Since Ben has started his rehab journey he has now gained back sensation and some movement (mostly from the waist up) but he is still very limited in what he can do as he has now had to succumb to life in a wheelchair. However, Ben is super determined to reach all of his goals, especially being able to walk again. Despite all of the major changes in his life, Ben is still his selfless, cheerful, and positive self. We are kindly asking for some support so that Ben’s recovery is our main focus and top priority without having to worry about the financial strain. Any help would be greatly appreciated! Ben and his partner Peta are always there for us—now it’s our turn to be there for them. Let’s show them our love and support. Karra Hanara's involvement (page creator) Advocacy Use of funds Travel between Wellington and Christchurch, day to day living expenses, modifications to home Location: Porirua, Wellington
1600 tokens in input 286 tokens in output Output: {'ICD': 'Chapter G00-G99 - Diseases of the nervous system', 'ICD10': 'G83.0', 'age': 'Indeterminate/unknown', 'age_group': 'Indeterminate/unknown', 'attractiveness': 70, 'condition': 'C4 and C5 spinal injury', 'deservingness': 95, 'emotional_tone': 'hopeful', 'ethnicity': 'Māori (based on appearance in the image)', 'face_visible': True, 'facial_expression': 'smiling', 'gender': 'Male', 'image_quality': 'high', 'image_type': 'portrait', 'name': 'Ben Stowers', 'narrative_clarity': 85, 'narrative_quality': 80, 'notes': 'Age and age group were not explicitly mentioned in the text, so ' "they are marked as 'indeterminate/unknown'. Ethnicity was inferred " 'from the image.', 'region': 'Wellington', 'sentiment': 70, 'smiling': True, 'truth': 95, 'urgency': 90, 'use': 'medical expenses, travel expenses, lost wages'} Input: https://givealittle.co.nz/cause/hope-for-summer-battensbeater Title: HOPE FOR SUMMER #BATTENSBEATER Pitch: An ultra rare Princess who is fighting a rare disease Batten Disease CLN1 only one ever in NZ her fight is our fight!💯❤️❤️❤️ Description: Summer is 11 years old with a rare terminal Disease called Batten Disease CLN1 there is no cure no treatment. This page is to support Summer in this fight against this horrid disease with on going medical cost medical equipment travel costs for appointments and memories and any other costs that arise from this evil Disease. Summer now has no vision at all. Her ability to eat, talk and walk are coming to an end. We need to make as many memories as fast as possible. We will never give up on hope or making our beautiful girl smile Ray Mudford's involvement (page creator) Parent Use of funds Medical costs medical equipment costs making memeories and other expenses for helping Summer to be as comfortable as possible. Other page links on Facebook Updates: A little something about Summer 🦄 11 June 2025 You will never see Summer without a reborn she says they are her everything. We are sure you will get to know them all on here. Summer you are such a good Mummy to your babies 🦄💗 This is baby Grace 💗 Share this update 0 comments | Login to leave a comment Location: Nationwide
1499 tokens in input 277 tokens in output Output: {'ICD': 'Chapter E00-E89 - Endocrine, nutritional and metabolic diseases', 'ICD10': 'E75.3', 'age': 11, 'age_group': '0-14', 'attractiveness': 70, 'condition': 'Batten Disease CLN1', 'deservingness': 95, 'emotional_tone': 'hopeful', 'ethnicity': 'Caucasian (assumed based on image)', 'face_visible': True, 'facial_expression': 'smiling', 'gender': 'Female', 'image_quality': 'high', 'image_type': 'portrait', 'name': 'Summer', 'narrative_clarity': 85, 'narrative_quality': 80, 'notes': 'The text mentions a rare terminal disease with no cure or ' 'treatment, emphasizing the urgency and severity of the situation.', 'region': 'Nationwide', 'sentiment': 80, 'smiling': True, 'truth': 90, 'urgency': 95, 'use': 'medical expenses, experimental therapies, travel expenses, lost wages'} Input: https://givealittle.co.nz/cause/help-esther-fight-breast-cancer-a-young-mum Title: Help Esther Fight Breast Cancer — A Young Mum from Vanuatu Pitch: Please help a Vanuatu family through a hard time! Description: This fundraiser is for Esther, a strong and loving 31-year-old mother from Vanuatu, who is courageously fighting breast cancer. She is currently in India, receiving life-saving treatment that isn’t available in Vanuatu. The costs of her care are high — and her family is doing everything they can to support her, but they need help. Her father has been working in New Zealand for the past 15 years under the RSE (Recognised Seasonal Employer) program, working in orchards across the country to provide for his family back home. Now, he’s asking for help to cover $2,000 NZD in urgent extra costs for Esther’s treatment hey have already spent everything they had to get her to India. Now they need a little extra support to keep Esther’s treatment going — and to give her the best chance to recover and return to her son. 💗 Please help if you can. Every donation, big or small, makes a difference. And if you’re not able to give right now, please share this page with others. Magali Domingo's involvement (page creator) I'm friend and co worker of Esther Dad - Paul Matauatu. We worked together in a Cherry orchard in Cromwell Use of funds To Esther treatment in india Updates: Update on Esther – Thank You for Your Support 10 June 2025 Good morning everyone, I want to sincerely thank each of you for your kind donations — your support means so much, and it's heartwarming to see more donors coming on board. Esther got in touch with us yesterday. She’s in good spirits and wanted to share this message with you all: "I know its not easy to raise that kind of amount, and thank you everyone for the support 🙏, GOD is good,he will provide, amen. " They had received a bill of $7,180 USD for the medication she needs to take home. I’ve uploaded an image of the bill for your reference. Thank you again for standing by Esther during this difficult time. Every donation, message, and share makes a difference. Warm regards, Magali Share this update 0 comments | Login to leave a comment Location: Cromwell, Otago
1703 tokens in input 250 tokens in output Output: {'ICD': 'Chapter C00-D49 - Neoplasms', 'ICD10': 'C50', 'age': 31, 'age_group': '15-64', 'attractiveness': 70, 'condition': 'Breast Cancer', 'deservingness': 95, 'emotional_tone': 'hopeful', 'ethnicity': 'Pacific Islander (likely)', 'face_visible': True, 'facial_expression': 'smiling', 'gender': 'Female', 'image_quality': 'high', 'image_type': 'portrait', 'name': 'Esther', 'narrative_clarity': 85, 'narrative_quality': 80, 'notes': 'Ethnicity inferred from the image; no explicit mention in text.', 'region': 'Otago', 'sentiment': 70, 'smiling': True, 'truth': 95, 'urgency': 90, 'use': 'medical expenses'} Input: https://givealittle.co.nz/cause/savewellwomen Title: $100k in 100 days! Pitch: Help save a life saving service for mothers in South Auckland & North Waikato Description: At Well Women Trust, we walk alongside women through some of the most vulnerable times in their lives. Our free, accessible mental health services continue to grow in reach and impact, helping more women each year feel supported, connected, and empowered. After 15 years of helping women through one of life’s most vulnerable stages, the Trust can no longer rely on grant funding to sustain its vital work. While short-term funding is expected to arrive in late August or early September, the gap in July and August puts essential services including peer support groups, home visits, and 24/7 crisis response in immediate jeopardy. With demand for services soaring, the charity is calling on funders, businesses, and everyday New Zealanders to step up before it’s too late. About us We offer lifesaving perinatal support for NZ mothers We need urgent help! We need to raise $100k in 100 days We are a safe space for women to connect with others who may experience similar feelings. We help women on their journey to becoming well again. Use of funds Well Women Trust needs to raise $100,000 within 100 days to keep services running. We are calling on anyone who cares about women, mental health, babies, families, and our collective future to stand with us. Other page links on Facebook on Instagram www.wellwomen.org.nz Location: Auckland
1529 tokens in input 293 tokens in output Output: {'ICD': 'Chapter F01-F99 - Mental, Behavioral and Neurodevelopmental disorders', 'ICD10': 'F32.9', 'age': 'Not specified', 'age_group': 'indeterminate/unknown', 'attractiveness': 50, 'condition': 'Mental Health Disorders', 'deservingness': 95, 'emotional_tone': 'hopeful', 'ethnicity': 'Not specified in text; guessing from image: Māori or Pacific ' 'Islander (based on cultural context)', 'face_visible': False, 'facial_expression': 'not_detectable', 'gender': 'Other/unknown', 'image_quality': 'high', 'image_type': 'symbolic', 'name': 'Not specified', 'narrative_clarity': 85, 'narrative_quality': 80, 'notes': 'The text does not specify a particular individual but focuses on a ' 'service for women. Ethnicity was inferred based on the cultural ' 'context of New Zealand.', 'region': 'Auckland', 'sentiment': 70, 'smiling': False, 'truth': 95, 'urgency': 90, 'use': 'medical expenses, lost wages'} Input: https://givealittle.co.nz/cause/goldenhar-syndrome-help-a-young-girl Title: Goldenhar Syndrome: Help a Young Girl Through Her Medical Hurdles Pitch: My daughter was born with Goldenhar syndrome, a rare congenital disorder. After years of treatment, she’s just a teen wanting a normal life. Description: In 2010, my daughter was born with Goldenhar Syndrome, a rare congenital condition. She has faced bilateral cleft lip and palate, craniofacial dental challenges, a malformed ear, a smaller kidney, and vision and hearing problems. A series of medical procedures followed... As she hit her pre-teens, she underwent a hip bone graft to fill the hole in her palate; but the first surgery failed. Her small oral cavity and extensive scar tissue make procedures extremely difficult. Her surgeon said it’s one of the most complex cases he’s seen. A year later, they tried again. Surgeons attached her upper lip to her gums to increase blood flow. This helped the graft be successful. However, the emotional toll was heavy; she couldn’t bear to look in the mirror. She’s now preparing for alveolar bone grafting and orthodontic work, but a key tooth must move before they can proceed. The tooth can't be pulled as it will damage the successful bone graft. Reconstructive surgery is planned for her lip, nose, and ear. She’s overjoyed to finally “look normal” and not be bullied anymore, but I'm struggling to save up for what will not be covered by medical aid. I work two jobs in NZ to give her the best back in SA. If you can help, even a little, it means the world. She’s brave, and beautiful — and deserves to feel it. — From a mum doing her best Transparency: Since she’s 14, I’ve chosen not to post full photos of her face. She doesn’t know I’m sharing this, and I know she’d prefer to keep things private. Use of funds Ongoing medical costs. Every sent will be put towards doctors' and hospital bills. Our journey will only be done by the time she reaches 21. Other page links my.clevelandclinic.org/health/diseases/22808-goldenhar-syndrome Location: Nationwide
1667 tokens in input 264 tokens in output Output: {'ICD': 'Chapter Q00-Q99 - Congenital malformations, deformations and ' 'chromosomal abnormalities', 'ICD10': 'Q87.3', 'age': 14, 'age_group': '0-14', 'attractiveness': 50, 'condition': 'Goldenhar Syndrome', 'deservingness': 95, 'emotional_tone': 'hopeful', 'ethnicity': 'Caucasian (assumed based on image)', 'face_visible': True, 'facial_expression': 'not_detectable', 'gender': 'Female', 'image_quality': 'medium', 'image_type': 'symbolic', 'name': 'Not specified', 'narrative_clarity': 85, 'narrative_quality': 80, 'notes': 'No explicit mention of ethnicity in text, inferred from image.', 'region': 'Nationwide', 'sentiment': 70, 'smiling': False, 'truth': 90, 'urgency': 85, 'use': 'medical expenses'} time: 2min 23s (started: 2025-06-25 14:27:16 +12:00)