Downloads · 30 days
22
17% of all-time downloads
vedhamani/CareMinds-AI
CareMinds-AI is a text classification model from vedhamani. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
CareMinds-AI is a lightweight, offline-capable medical AI system built fine-tuned with domain-specific healthcare data. It combines:
Downloads · 30 days
22
17% of all-time downloads
All-time downloads
133
Public
Parameters
1.1B
4.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors4.4 GB · 100%
From the Hugging Face model README
CareMinds-AI is a lightweight, offline-capable medical AI system built fine-tuned with domain-specific healthcare data. It combines:
CareMinds-AI is a hybrid AI system designed to:
It operates fully offline, without requiring external APIs.
Vedhamani Prabakar A
CareMinds-AI can be used as:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_path = "./CareMinds-AI"
model = AutoModelForCausalLM.from_pretrained(model_path)
tokenizer = AutoTokenizer.from_pretrained(model_path)
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model.to(device)
prompt = """### Instruction:
Explain about diabetes
### Response:
"""
inputs = tokenizer(prompt, return_tensors="pt").to(device)
outputs = model.generate(**inputs, max_new_tokens=150)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
###test the model:
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("vedhamani/CareMinds-AI")
tokenizer = AutoTokenizer.from_pretrained("vedhamani/CareMinds-AI")
prompt = "### Instruction:\nExplain about diabetes\n\n### Response:\n"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0]))