Instructions to use lgris/distilxlsr_bp_12-16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lgris/distilxlsr_bp_12-16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="lgris/distilxlsr_bp_12-16")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("lgris/distilxlsr_bp_12-16") model = AutoModel.from_pretrained("lgris/distilxlsr_bp_12-16", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K