prosody_models / README.md
xablex's picture
Upload folder using huggingface_hub
957fc66 verified
|
Raw
History Blame Contribute Delete
1.07 kB
---
license: mit
language:
- en
library_name: transformers
tags:
- multimodal
- text-classification
- image-classification
- distilbert
- vit
- gated-fusion
- digital-humanities
---
# Prosody Page Classifiers
Three finetuned models for binary page classification in the
[Princeton Prosody Archive](https://prosody.princeton.edu/) corpus. Labels are
`TU` (0) and `non-TU` (1). Each subfolder is independently loadable
— use whichever modality you have inputs for.
| Folder | Model |
|--------|-------|
| `distilbert-text/` | DistilBERT text classifier (text-only) |
| `vit-image/` | ViT-base image classifier (image-only) |
| `gated-fusion/` | Gated-fusion multimodal classifier (text + image) |
- **`distilbert-text/`** and **`vit-image/`** are standard Hugging Face repos
(`AutoModelForSequenceClassification` / `AutoModelForImageClassification`).
- **`gated-fusion/`** is a custom multimodal model; load it via the bundled
`modeling_gatedfusion.py` (see that folder's README).
See each subfolder's `README.md` for a copy-paste usage snippet.