by amstan · 3y ago · 0 comments
This is easily solved by not using someone else's API.
Here's $500 worth of hardware you can get on ebay running Vicuna-13B, locally:
> IV fluids may not be the best treatment for someone with severe pulmonary edema and respiratory distress because it could make their condition worse. This is because when a person has severe pulmonary edema, their lungs are already filled with fluid, which makes it harder for them to breathe. Adding more fluid to their body could increase the pressure in their lungs and make it even harder for them to breathe. This could be life-threatening.
> Instead, the best course of action would be to focus on treating the underlying cause of the pulmonary edema, such as heart failure or a lung infection. This may involve giving medications to help the heart pump more effectively or to reduce inflammation in the lungs. The patient may also need oxygen therapy to help them breathe more easily.
> It's important to remember that every case is unique, and the best course of treatment will depend on the individual patient's condition. The healthcare team will do their best to provide the most appropriate care for the patient based on their specific needs.
...however, that was on cheapo ARM hardware. On a hospital budget I bet you could beat OpenAI with a local model pre-mapped in GPU memory on a 3090.
But there are a lot of different routes to go. If you want to do what I've done though -
1. Sign up for Oracle Cloud and try to get their free 4 core ARM VPS (these are at-capacity very often, but free if you can get them)
2. Install the Ampere Pytorch runtime: https://cloudmarketplace.oracle.com/marketplace/en_US/adf.ta...
(can also use the ONNX or Transformers acceleration image if you need it)
3. Install your Pytorch/ONNX/Transformers software, link in system libraries and enjoy!
Whole thing works super smooth in my experience. 7B and 13B models are very usable for chatbot type applications.
The hardest part is downloading the 30GB of weights.