Instructions to use PDAP/url-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PDAP/url-classifier with Transformers:
# Load model directly from transformers import AutoTokenizer, DistilBertWithTabular tokenizer = AutoTokenizer.from_pretrained("PDAP/url-classifier") model = DistilBertWithTabular.from_pretrained("PDAP/url-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| library_name: transformers | |
| license: mit | |
| extra_gated_prompt: "This model is still being developed. Please tell us how you'd like to use it." | |
| extra_gated_fields: | |
| Planned use: text | |
| # URL Classifier | |
| This is part of the larger [Data Source Identification](https://github.com/Police-Data-Accessibility-Project/data-source-identification) project. | |
| This model classifies URLs and some metadata about them by record type, according to [this taxonomy](https://docs.pdap.io/activities/data-sources/data-dictionaries/record-types-taxonomy). |