How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Pankti99/llama-2-7b-HealthCareMagic")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Pankti99/llama-2-7b-HealthCareMagic")
model = AutoModelForCausalLM.from_pretrained("Pankti99/llama-2-7b-HealthCareMagic", device_map="auto")
Quick Links

Healthcare

Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using Pankti99/llama-2-7b-HealthCareMagic 1