Downloads · 30 days
3
6% of all-time downloads
singtan/gemma-2b-1-finetuned-pdf
gemma-2b-1-finetuned-pdf is a machine learning model from singtan. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of gpt2 on custom PDF documents.
Downloads · 30 days
3
6% of all-time downloads
All-time downloads
54
Public
Parameters
124M
498 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of gpt2 on custom PDF documents.
This model was specifically fine-tuned to understand and generate text based on the content extracted from the provided PDF: dummy.pdf.
dummy.pdf using pypdf.from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("singtan/gemma-2b-1-finetuned-pdf")
model = AutoModelForCausalLM.from_pretrained("singtan/gemma-2b-1-finetuned-pdf")