Feature Extraction
PEFT
Safetensors
a1
abstract-code-relevance
repository-library
research-library
t2_abstract
Run this model with HF Jobs
Run PeytonT/abstract-code-relevance on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/PeytonT/abstract-code-relevance. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/PeytonT/abstract-code-relevance on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use PeytonT/abstract-code-relevance with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use PeytonT/abstract-code-relevance with PEFT:
from peft import PeftModel from transformers import AutoModel base_model = AutoModel.from_pretrained("meta-llama/Llama-3.2-1B") model = PeftModel.from_pretrained(base_model, "PeytonT/abstract-code-relevance") - Notebooks
- Google Colab
- Kaggle
Enhance model card with repository context and sources
Browse files17 unmodified lines181920212223242526272829303132333435363738394041424344454647484950515253545556575859606111 unmodified lines737475767778798081828384858617 unmodified lines- Artifact type: LoRA adapter- Base model: `meta-llama/Llama-3.2-1B`- Model ID: `A1`- Tier: `T2_abstract`- Local mirror: `/arxiv/models/repository_library/abstract-code-relevance`- Source checkpoint: `models/checkpoints/a1`This repository is part of the `repository_library` model stack and is mirrored from `/data/repository_library/models/checkpoints` for publication under the `PeytonT` namespace.## Intended Use- Primary use: Scores whether a paper abstract is relevant to a repository or code task.- Secondary use: retrieval, ranking, planning, or scientific paper tooling inside the broader Repository Library system, depending on the model family.- Out of scope: production safety claims, benchmark claims beyond the bundled experiment config, or use outside the model's narrow training objective without task-specific validation.## Training DataThis package was trained from the following declared datasets or corpus sources:- `source:arxiv_metadata`- `source:github_repos`## Training Procedure- Sources: `arxiv_metadata, github_repos`- Input fields: `abstract`- Target fields: `repo_relevance`- Max samples: `0`- Precision: `bf16`- Objective: `contrastive`- Batch size: `4`- Learning rate: `0.0001`- Max source tokens: `2048`- Max target tokens: `512`- Max steps: `1000`## Evaluation- Declared metrics: `recall_at_10, ndcg_at_10`- Status: local experiment artifact mirrored for release; external benchmark reporting has not been standardized across the full model family yet.## Usage11 unmodified lines## Limitations- These model cards reflect the packaged experiment configs and mirrored checkpoint contents, not an independently audited benchmark sheet.- Some training datasets are local corpora or exported shards, so reproducibility may require access to the surrounding Repository Library data pipeline.- Models in this stack are narrow components of a larger paper-and-repository system and should be validated on downstream tasks before deployment.## Project ContextRepository Library is a research system for indexing, retrieving, aligning, and reasoning over scientific papers, structured paper content, repositories, and cross-domain links between them.## ContactPublished under `PeytonT` from the local `repository_library` build.17 unmodified lines18192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767711 unmodified lines899091929394959697989910017 unmodified lines- Artifact type: LoRA adapter- Base model: `meta-llama/Llama-3.2-1B`- Backbone type: `decoder`- Model ID: `A1`- Tier: `T2_abstract`- Role in stack: abstract-layer component for fast paper interpretationThis 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.## Model Sources- Hugging Face repo: `https://huggingface.co/PeytonT/abstract-code-relevance`- Hugging Face collection: `https://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50d`- GitHub repository: `https://github.com/peytontolbert/research_library`- Experiment config: `https://github.com/peytontolbert/research_library/blob/main/models/experiments/a1_abstract_code_relevance.json`- Models directory: `https://github.com/peytontolbert/research_library/tree/main/models`## Intended Use- Primary use: Scores whether a paper abstract is relevant to a repository or code task.- Downstream use: retrieval, ranking, planning, paper understanding, or cross-domain reasoning inside the broader Repository Library system, depending on the model family.- Out of scope: production safety claims, benchmark claims beyond the tracked experiment config, or deployment without task-specific validation.## Training DataThe training inputs for this package were assembled from the following Repository Library data sources:- Source `arxiv_metadata`: arXiv metadata records spanning titles, abstracts, authors, and category labels.- Source `github_repos`: repository graph and code chunk data exported from the Repository Library repo pipeline.## Training Procedure- Sources: `arxiv_metadata, github_repos`- Input fields: `abstract`- Target fields: `repo_relevance`- Train/val/test split: `[0.8, 0.1, 0.1]`- Max samples: `0`- Batch size: `4`- Precision: `bf16`- Objective: `contrastive`- Learning rate: `0.0001`- Max source tokens: `2048`- Max target tokens: `512`- Fine-tune strategy: `peft_lora`- Max steps: `1000`## Compute- Hardware: 4x RTX_3090 (24 GB)- Distributed strategy: `ddp`- Estimated GPU hours in config: `0`## Evaluation- Declared metrics: `recall_at_10, ndcg_at_10`- Status: this card reflects the current tracked experiment configuration and packaged weights in the Repository Library model stack.## Usage11 unmodified lines## Limitations- These cards are generated from tracked experiment metadata and packaged artifacts, not from a separate benchmark report or external audit.- Several training sources are pipeline outputs from the Repository Library codebase rather than standalone public datasets.- These models are components of a larger research system and should be validated in their target workflow before deployment.## Project Context- GitHub repository: `https://github.com/peytontolbert/research_library`- Model collection: `https://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50d`- Publisher: `PeytonT`
README.md+32-18