|
Download README.md from Gen-AI24/LLAMA2: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/Gen-AI24/LLAMA2/resolve/main/README.md
- Command line
-
hf download hf://Gen-AI24/LLAMA2/README.md
-
curl -L -o README.md https://huggingface.co/Gen-AI24/LLAMA2/resolve/main/README.md
266 Bytes
| # Load model directly | |
| from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering | |
| tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-qa") | |
| model = AutoModelForDocumentQuestionAnswering.from_pretrained("impira/layoutlm-document-qa") |