Downloads · 30 days
9
18% of all-time downloads
PeytonT/repo-conditioned-adapter
repo-conditioned-adapter 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.
Adapts the shared backbone toward repository-conditioned reasoning and retrieval tasks.
Downloads · 30 days
9
18% of all-time downloads
All-time downloads
50
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
Adapts the shared backbone toward repository-conditioned reasoning and retrieval tasks.
google/flan-t5-baseencoder_decoderC4T5_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/repo-conditioned-adapterhttps://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50dhttps://github.com/peytontolbert/research_libraryhttps://github.com/peytontolbert/research_library/blob/main/models/experiments/c4_repo_conditioned_adapter.jsonhttps://github.com/peytontolbert/research_library/tree/main/modelsThe training inputs for this package were assembled from the following Repository Library data sources:
github_repos: repository graph and code chunk data exported from the Repository Library repo pipeline.github_reposrepo_embeddingadapter_weights[0.9, 0.1, 0.0]40002bf16cross_entropy5e-05512256peft_lora1000ddp0perplexityfrom transformers import AutoModelForSeq2SeqLM, AutoTokenizer
from peft import PeftModel
repo_id = "PeytonT/repo-conditioned-adapter"
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