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
Download preprocessor_config.json from pogzyb/markuplm-phish: direct link, hf CLI and curl.
- Browser
- Download file 183 Bytes
-
https://huggingface.co/pogzyb/markuplm-phish/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://pogzyb/markuplm-phish/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/pogzyb/markuplm-phish/resolve/main/preprocessor_config.json
183 Bytes
| { | |
| "auto_map": { | |
| "AutoProcessor": "processor.MarkupLMPhishProcessor" | |
| }, | |
| "feature_extractor_type": "MarkupLMFeatureExtractor", | |
| "processor_class": "MarkupLMPhishProcessor" | |
| } | |