Instructions to use felixtran/layoutlmv3-rvl-cdip-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use felixtran/layoutlmv3-rvl-cdip-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="felixtran/layoutlmv3-rvl-cdip-small")# Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("felixtran/layoutlmv3-rvl-cdip-small") model = AutoModelForSequenceClassification.from_pretrained("felixtran/layoutlmv3-rvl-cdip-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K