Instructions to use ykilcher/totally-harmless-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ykilcher/totally-harmless-model with Transformers:
# 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") - Notebooks
- Google Colab
- Kaggle
fix: convert pytorch_model.bin to safetensors (RCE vulnerability)
#3 opened 23 days ago
by
abdellahennajari
Adding `safetensors` variant of this model
#1 opened about 3 years ago
by
SFconvertbot