Downloads · 30 days
6
14% of all-time downloads
PeytonT/paper-to-code
paper-to-code 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.
Generates code-oriented outputs conditioned on paper content.
Downloads · 30 days
6
14% of all-time downloads
All-time downloads
44
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
Generates code-oriented outputs conditioned on paper content.
google/flan-t5-baseencoder_decoderC1T5_crossThis 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-to-codehttps://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50dhttps://github.com/peytontolbert/research_libraryhttps://github.com/peytontolbert/research_library/blob/main/models/experiments/c1_paper_to_code.jsonhttps://github.com/peytontolbert/research_library/tree/main/modelsThe training inputs for this package were assembled from the following Repository Library data sources:
arxiv_pdfs_structured: structured PDF shards containing text, equations, figures, and tables.github_repos: repository graph and code chunk data exported from the Repository Library repo pipeline.arxiv_pdfs_structured, github_reposmethod_textcode_snippet[0.9, 0.1, 0.0]40002bf16cross_entropy5e-05512256peft_lora1000ddp0perplexity, pass_at_1, pass_at_5from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
from peft import PeftModel
repo_id = "PeytonT/paper-to-code"
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