Skip to content

Instantly share code, notes, and snippets.

View monk1337's full-sized avatar
🌱
It's a long hard fight / But I'll always live for tomorrow.

Aaditya Ura (looking for PhD Fall’24) monk1337

🌱
It's a long hard fight / But I'll always live for tomorrow.
View GitHub Profile
# Copyright 2022 EleutherAI and The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
personal
base_model: meta-llama/Meta-Llama-3-8B
model_type: AutoModelForCausalLM
tokenizer_type: AutoTokenizer
load_in_8bit: false
load_in_4bit: true
strict: false
datasets:
- path: aaditya/alpaca_subset_1
#!/bin/bash
#Inspired from mlabonne autogguf work with modifications
cat << "EOF"
$$$$$$\ $$\ $$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$\ $$\ $$$$$$$$\
$$ __$$\ $$ | $$ |\__$$ __|$$ __$$\ $$ __$$\ $$ __$$\ $$ | $$ |$$ _____|
$$ / $$ |$$ | $$ | $$ | $$ / $$ | $$ / \__|$$ / \__|$$ | $$ |$$ |
$$$$$$$$ |$$ | $$ | $$ | $$ | $$ |$$$$$$\ $$ |$$$$\ $$ |$$$$\ $$ | $$ |$$$$$\
$$ __$$ |$$ | $$ | $$ | $$ | $$ |\______|$$ |\_$$ |$$ |\_$$ |$$ | $$ |$$ __|
$$ | $$ |$$ | $$ | $$ | $$ | $$ | $$ | $$ |$$ | $$ |$$ | $$ |$$ |
base_model: google/gemma-7b
model_type: AutoModelForCausalLM
tokenizer_type: AutoTokenizer
load_in_8bit: false
load_in_4bit: true
strict: false
# huggingface repo
datasets:
{
"Dataset": [
"multimedqa",
"medmcqa",
"medqa_4options",
"mmlu_anatomy",
"mmlu_clinical_knowledge",
"mmlu_college_biology",
"mmlu_college_medicine",
"mmlu_medical_genetics",
Top Row Filters:
1. Tasks: This would list the general tasks that AI models and datasets in the life sciences and medical domains tend to address.
2. Sizes: Size of datasets or models.
3. Sources: Where the data/model originates from (e.g., Kaggle, Huggingface, research institutions).
4. Modalities: Data types like images (X-rays, MRIs), sequences (genomic data), texts (medical records), etc.
5. Licenses: Open source, proprietary, etc.
6. Other: Miscellaneous filters that might not fit into the other categories.
{
"id":2,
"input":"A patient with fever and chill and severe coughing with cold. He has fever since 7 days and swelling at right foot. Already he is diagnosed with diabetes malattie. He is on tablet meclizidam 500 and insulin 12 unit since last 1 year. Now his reports are showing that he is malaria positive with right foot cellulitis. He is on tablet zoseph cv, tablet lumerex 4 bd for 3 days, tablet paracetamol 500 for 3 days, capsule pandi twice bd, daily dressing with glycerin and kmn 4, daily hgt checking twice a day and giving dose of insulin as per scale.",
"output":{
"suggested_symptoms":[
"Decreased sensation in right foot",
"Difficulty in walking due to swelling and pain",
"Frequent urination",
"Increased thirst",
"Unexpected weight loss",
from abc import ABCMeta, abstractmethod
from typing import List, Optional, Union, Dict
import tenacity
class Model(metaclass=ABCMeta):
"""
Abstract base class for a large language model(llm).
Sciatica Diagnosis and Treatment.
here is the conversation between doctor and patient comes to doctors opd,summerzie it clinically
Good morning, how can I help you today?
Hi, I've been experiencing some intense low back pain, and I was hoping you could give me some guidance on what might be causing it.
I'm sorry to hear that you're in pain. Let's start by discussing your symptoms. Can you describe the nature of the pain? Is it a dull ache, a sharp or shooting pain, or something else?