File size: 255 Bytes
598b868
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
# 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")