Downloads · 30 days
14
29% of all-time downloads
PeytonT/paper-qa
paper-qa is a text generation model from PeytonT. Use it when you need the model to write or continue text. It is set up for peft.
Answers questions over paper text and structured paper context.
Downloads · 30 days
14
29% of all-time downloads
All-time downloads
49
Public
Repo size
4.4 MB
Likes
0
Public
Click a slice to open those files.
.safetensors3.6 MB · 52%
From the Hugging Face model README
Answers questions over paper text and structured paper context.
google/flan-t5-baseencoder_decoderP5T3_pdfThis model is part of the Repository Library stack, a research system for indexing, retrieving, aligning, and reasoning over scientific papers, structured paper content, repositories, and cross-domain links between them.
https://huggingface.co/PeytonT/paper-qahttps://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50dhttps://github.com/peytontolbert/research_libraryhttps://github.com/peytontolbert/research_library/blob/main/models/experiments/p5_paper_qa.jsonhttps://github.com/peytontolbert/research_library/tree/main/modelsThe training inputs for this package were assembled from the following Repository Library data sources:
local/paper_text_2m_dedup_v1paper_text_parquet: full-text paper corpus records prepared for model training.paper_text_parquetquestion, paper_contextanswer[0.8, 0.1, 0.1]40004bf16cross_entropy0.0001512192peft_lora1000ddp0rougeL, bleufrom transformers import AutoModelForSeq2SeqLM, AutoTokenizer
from peft import PeftModel
repo_id = "PeytonT/paper-qa"
base_id = "google/flan-t5-base"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
base = AutoModelForSeq2SeqLM.from_pretrained(base_id)
model = PeftModel.from_pretrained(base, repo_id)
https://github.com/peytontolbert/research_libraryhttps://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50dPeytonT