<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Pranay Narula</title>
    <description>The latest articles on DEV Community by Pranay Narula (@pranay_narula_bdc02868409).</description>
    <link>https://dev.to/pranay_narula_bdc02868409</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3986269%2Fed89a418-b3b8-4eb6-b81e-75314e6d34f6.png</url>
      <title>DEV Community: Pranay Narula</title>
      <link>https://dev.to/pranay_narula_bdc02868409</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pranay_narula_bdc02868409"/>
    <language>en</language>
    <item>
      <title>HuggingFace Build Small Hackathon My First Health Sprint,</title>
      <dc:creator>Pranay Narula</dc:creator>
      <pubDate>Mon, 15 Jun 2026 23:59:23 +0000</pubDate>
      <link>https://dev.to/pranay_narula_bdc02868409/huggingface-build-small-hackathon-my-first-health-sprint-39g5</link>
      <guid>https://dev.to/pranay_narula_bdc02868409/huggingface-build-small-hackathon-my-first-health-sprint-39g5</guid>
      <description>&lt;p&gt;&lt;strong&gt;Chapter One: Why Build Small&lt;/strong&gt;&lt;br&gt;
Building In the Health Space is something that I had always dreaded. The data protection the scary HIPPA laws and the penalties sounded like a nightmare for someone like me who just liked to build, build, build. &lt;/p&gt;

&lt;p&gt;The build small hackathon though seemed like just the event to build and test things in this space, because of its one rule use models &amp;lt;32b params to build an app and publish it as a gradio space. I picked the backyard AI track which asked you to build something for someone real that would actually use it. Someone close to me recently developed a cardiac condition and was told by the doctor to monitor their blood pressure and their heart. I knew that eventually we may need to pick a cardiologist and just in case I wanted them to have the full picture.&lt;/p&gt;

&lt;p&gt;The Main use case was to give the next doctor a clean starting point. A clinical summary they could hand over at the first appointment instead of trying to reconstruct six months of readings from memory in a waiting room. also in case the readings weren't capturing something I also wanted to use a phone to capture the heartbeat and roughly detect condidtions like brachachardia, tachachardia, Afib and PVC, and I explain this later&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I built&lt;/strong&gt;&lt;br&gt;
I built Heartline a clinical summary generator app to pass off to the doctor, it takes in two inputs BP cuff readings if you have them(the person that I was building for does have them) and audio recordings of the heart through the phone, which it converts to a spectrogram and does 4 way classification of ( brachachardia, tachachardia, Afib and PVC).&lt;br&gt;
I  these as not every one has a cuff at home. That was actually what pushed the scope wider. If you only have your phone, the audio needs to carry the whole load: bradycardia, tachycardia, AFib, PVCs, all of it. So the app works both ways. If you have a cuff, log your readings and the model gets more to work with. If you don't, audio alone still gets you something. The clinical summary just reflects whatever data was actually available.&lt;/p&gt;

&lt;p&gt;The training data was synthetic. I wasn't about to feed anyone's real health information into a model, due to all the health laws I generated realistic BP log scenarios from AHA guidelines and trained the audio classifier on normal PhysioNet heart sound recordings and added the signals for each of the 4 classes mixed with iPhone microphone noise, because if this was going to work for the person I built it for it had to work on a phone held to a chest in a kitchen, not a hospital. The model was able to get an impressive AUROC of .95 for the 4 class classification. &lt;/p&gt;

&lt;p&gt;The language model was a finetuned OpenBMB MiniCPM at 1B parameters. Its one job was taking the BP logs and audio classifier output and writing something a cardiologist would actually want to read at the start of an appointment. The data generated was once again synthetic constitutionally generated from the objective section of a soap note using a teacher model deepseek:v4-pro, thus making it sound like a clinically grounded objective mini summary for the doctor.&lt;/p&gt;

&lt;h2&gt;
  
  
  Chapter Four: Fully Private HIPPA Compliant the story of my deployment.
&lt;/h2&gt;

&lt;p&gt;It runs through wllama and webgpu the spectrogram model running through onnx.&lt;/p&gt;

&lt;p&gt;Main things I learned was how to generate good data constitutiton based finetuning, spectrogram and audio analysis and the need for fully local models.&lt;/p&gt;

&lt;p&gt;here is the space &lt;a href="https://huggingface.co/spaces/build-small-hackathon" rel="noopener noreferrer"&gt;https://huggingface.co/spaces/build-small-hackathon&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>medical</category>
      <category>hackathon</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
