Views
No views yet
google/flan-t5-baseencoder_decoderP0T3_pdfhttps://huggingface.co/PeytonT/pdf-tokenizationhttps://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50dhttps://github.com/peytontolbert/research_libraryhttps://github.com/peytontolbert/research_library/blob/main/models/experiments/p0_pdf_tokenization.jsonhttps://github.com/peytontolbert/research_library/tree/main/modelsarxiv_pdfs: raw arXiv PDF documents routed through the Repository Library paper pipeline.arxiv_pdfsraw_pdfstructured_tokens[0.9, 0.1, 0.0]40002bf16cross_entropy5e-05512256peft_lora1000ddp0perplexity1from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
2from peft import PeftModel
3
4repo_id = "PeytonT/pdf-tokenization"
5base_id = "google/flan-t5-base"
6
7tokenizer = AutoTokenizer.from_pretrained(repo_id)
8base = AutoModelForSeq2SeqLM.from_pretrained(base_id)
9model = PeftModel.from_pretrained(base, repo_id)https://github.com/peytontolbert/research_libraryhttps://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50dPeytonT