Views
No views yet
google/flan-t5-baseencoder_decoderC1T5_crosshttps://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/modelsarxiv_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_51from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
2from peft import PeftModel
3
4repo_id = "PeytonT/paper-to-code"
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