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

pipe = pipeline("feature-extraction", model="ykilcher/totally-harmless-model")
# Load model directly
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("ykilcher/totally-harmless-model")
model = AutoModel.from_pretrained("ykilcher/totally-harmless-model")
Quick Links

Just a regular old model...

Usage

from transformers import AutoModel
model = AutoModel.from_pretrained("ykilcher/totally-harmless-model")
Downloads last month
2,535
Inference Providers NEW