LLM / transfrom.py
hollywoodfrancis's picture
Create transfrom.py
598b868 verified
raw
history blame contribute delete
255 Bytes
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="hollywoodfrancis/LLM")
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("hollywoodfrancis/LLM")