aws-samples/sample-extreme-text-classifier

A Python text classifier for large-scale multi-class classification using Amazon Bedrock. Supports classification of 1000+ classes with LLM reranking and attribute validation.

40
/ 100
Emerging

Implements a 3-step pipeline combining embedding-based semantic search with optional LLM reranking and attribute validation using Amazon Bedrock models. Handles extreme-scale classification (1000+ classes) by filtering candidates efficiently before applying computationally expensive LLM evaluation, while supporting multimodal PDF extraction via Amazon Nova. Integrates with AWS Bedrock for reranking and validation, using pre-computed embeddings for scalable similarity search across large class hierarchies.

No Package No Dependents
Maintenance 10 / 25
Adoption 5 / 25
Maturity 9 / 25
Community 16 / 25

How are scores calculated?

Stars

10

Forks

6

Language

Python

License

MIT-0

Last pushed

Feb 14, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/aws-samples/sample-extreme-text-classifier"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.