Document Question Answering
Transformers
PyTorch
English
document-processing
ocr
ner
text-classification
information-extraction
invoice
receipt
form
Instructions to use mrrobot2610/IDP-Machine-learning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrrobot2610/IDP-Machine-learning with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="mrrobot2610/IDP-Machine-learning")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mrrobot2610/IDP-Machine-learning", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download frontend/components/ui/BentoCard.tsx from mrrobot2610/IDP-Machine-learning: direct link, hf CLI and curl.
- Browser
- Download file 914 Bytes
-
https://huggingface.co/mrrobot2610/IDP-Machine-learning/resolve/main/frontend/components/ui/BentoCard.tsx
- Command line
-
hf download hf://mrrobot2610/IDP-Machine-learning/frontend/components/ui/BentoCard.tsx
-
curl -L -o BentoCard.tsx https://huggingface.co/mrrobot2610/IDP-Machine-learning/resolve/main/frontend/components/ui/BentoCard.tsx
914 Bytes
| 'use client' | |
| import { motion } from 'framer-motion' | |
| import { cn } from '@/lib/utils' | |
| interface BentoCardProps { | |
| children: React.ReactNode | |
| className?: string | |
| delay?: number | |
| } | |
| export default function BentoCard({ children, className, delay = 0 }: BentoCardProps) { | |
| return ( | |
| <motion.div | |
| initial={{ opacity: 0, y: 20 }} | |
| animate={{ opacity: 1, y: 0 }} | |
| transition={{ duration: 0.5, delay, ease: "easeOut" }} | |
| whileHover={{ scale: 1.01, transition: { duration: 0.2 } }} | |
| className={cn( | |
| "relative overflow-hidden rounded-2xl bg-white/60 p-6 shadow-xl shadow-slate-200/50 backdrop-blur-xl border border-white/20", | |
| "hover:shadow-2xl hover:shadow-indigo-500/10 hover:border-indigo-500/20 transition-all", | |
| className | |
| )} | |
| > | |
| {children} | |
| </motion.div> | |
| ) | |
| } | |