Instructions to use pedro1111/layout2_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pedro1111/layout2_large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="pedro1111/layout2_large")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("pedro1111/layout2_large") model = AutoModelForDocumentQuestionAnswering.from_pretrained("pedro1111/layout2_large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download emissions.csv from pedro1111/layout2_large: direct link, hf CLI and curl.
- Browser
- Download file 786 Bytes
-
https://huggingface.co/pedro1111/layout2_large/resolve/main/emissions.csv
- Command line
-
hf download hf://pedro1111/layout2_large/emissions.csv
-
curl -L -o emissions.csv https://huggingface.co/pedro1111/layout2_large/resolve/main/emissions.csv
786 Bytes
| timestamp,project_name,run_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue | |
| 2024-03-05T15:46:32,codecarbon,5189cf8f-9dcd-45ef-a0d3-0e6e0de6f6b8,13251.881966114044,0.20727410734034352,1.5641107268413453e-05,42.5,68.65567353401704,40.5345139503479,0.15641960446255054,0.2277926269561803,0.14903459350201437,0.5332468249207453,The Netherlands,NLD,north holland,,,Linux-5.4.0-1103-azure-x86_64-with-glibc2.27,3.10.8,2.3.1,16,AMD EPYC 7V12 64-Core Processor,1,1 x Tesla T4,4.8883,52.3716,108.09203720092773,machine,N,1.0 | |