Instructions to use pogzyb/markuplm-phish with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pogzyb/markuplm-phish with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="pogzyb/markuplm-phish")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("pogzyb/markuplm-phish") model = AutoModelForSequenceClassification.from_pretrained("pogzyb/markuplm-phish", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 183 Bytes
787e5bf | 1 2 3 4 5 6 7 8 | {
"auto_map": {
"AutoProcessor": "processor.MarkupLMPhishProcessor"
},
"feature_extractor_type": "MarkupLMFeatureExtractor",
"processor_class": "MarkupLMPhishProcessor"
}
|