research_library
Collection
Repository Library model stack mirrored from local research artifacts. • 41 items • Updated
How to use PeytonT/abstract-code-relevance with PEFT:
Task type is invalid.
Scores whether a paper abstract is relevant to a repository or code task.
meta-llama/Llama-3.2-1BdecoderA1T2_abstractThis 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/abstract-code-relevancehttps://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50dhttps://github.com/peytontolbert/research_libraryhttps://github.com/peytontolbert/research_library/blob/main/models/experiments/a1_abstract_code_relevance.jsonhttps://github.com/peytontolbert/research_library/tree/main/modelsThe training inputs for this package were assembled from the following Repository Library data sources:
arxiv_metadata: arXiv metadata records spanning titles, abstracts, authors, and category labels.github_repos: repository graph and code chunk data exported from the Repository Library repo pipeline.arxiv_metadata, github_reposabstractrepo_relevance[0.8, 0.1, 0.1]04bf16contrastive0.00012048512peft_lora1000ddp0recall_at_10, ndcg_at_10from transformers import AutoModel, AutoTokenizer
from peft import PeftModel
repo_id = "PeytonT/abstract-code-relevance"
base_id = "meta-llama/Llama-3.2-1B"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
base = AutoModel.from_pretrained(base_id)
model = PeftModel.from_pretrained(base, repo_id)
https://github.com/peytontolbert/research_libraryhttps://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50dPeytonTBase model
meta-llama/Llama-3.2-1B