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/app/layout.tsx from mrrobot2610/IDP-Machine-learning: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/mrrobot2610/IDP-Machine-learning/resolve/main/frontend/app/layout.tsx
- Command line
-
hf download hf://mrrobot2610/IDP-Machine-learning/frontend/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/mrrobot2610/IDP-Machine-learning/resolve/main/frontend/app/layout.tsx
1.17 kB
| import './globals.css' | |
| import type { Metadata } from 'next' | |
| import { Inter, Space_Grotesk } from 'next/font/google' | |
| const inter = Inter({ | |
| subsets: ['latin'], | |
| variable: '--font-inter', | |
| display: 'swap', | |
| }) | |
| const spaceGrotesk = Space_Grotesk({ | |
| subsets: ['latin'], | |
| variable: '--font-space-grotesk', | |
| display: 'swap', | |
| }) | |
| export const metadata: Metadata = { | |
| title: 'IDP System - AI-Powered Document Processing', | |
| description: 'Extract structured data from invoices, receipts, and forms with AI-powered intelligence. Lightning fast, highly accurate document processing.', | |
| keywords: ['IDP', 'Document Processing', 'OCR', 'AI', 'Invoice Processing', 'Receipt Extraction'], | |
| authors: [{ name: 'IDP Team' }], | |
| viewport: 'width=device-width, initial-scale=1, maximum-scale=5', | |
| } | |
| export default function RootLayout({ | |
| children, | |
| }: { | |
| children: React.ReactNode | |
| }) { | |
| return ( | |
| <html lang="en" suppressHydrationWarning> | |
| <body className={`${inter.variable} ${spaceGrotesk.variable} font-sans antialiased`}> | |
| {children} | |
| </body> | |
| </html> | |
| ) | |
| } | |