Downloads · 30 days
8
16% of all-time downloads
PeytonT/adapter-fusion
adapter-fusion 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.
Fuses paper-conditioned and repo-conditioned adapters into a shared cross-domain component.
Downloads · 30 days
8
16% of all-time downloads
All-time downloads
51
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
Fuses paper-conditioned and repo-conditioned adapters into a shared cross-domain component.
google/flan-t5-baseencoder_decoderC5T5_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/adapter-fusionhttps://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50dhttps://github.com/peytontolbert/research_libraryhttps://github.com/peytontolbert/research_library/blob/main/models/experiments/c5_adapter_fusion.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_repospaper_adapter, repo_adapterfused_adapter[0.9, 0.1, 0.0]40002bf16cross_entropy5e-05512256peft_lora1000ddp0perplexityfrom transformers import AutoModelForSeq2SeqLM, AutoTokenizer
from peft import PeftModel
repo_id = "PeytonT/adapter-fusion"
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