Open-Orca/OpenOrca
Viewer • Updated • 2.94M • 19.7k • 1.58k
How to use Bluishoul/grimoire-model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Bluishoul/grimoire-model") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Bluishoul/grimoire-model", device_map="auto")