Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

activeft

> DevOps
Open source

PyTorch library for Active Fine-Tuning

100 stars0 likes1 views
WebsiteGitHub

About

PyTorch library for Active Fine-Tuning

Active Fine-Tuning

A library for automatic data selection in active fine-tuning of large neural networks.

Website | Documentation

Please cite our work if you use this library in your research (bibtex below):

  • Efficiently Learning at Test-Time: Active Fine-Tuning of LLMs
  • Transductive Active Learning: Theory and Applications (Section 4)

Installation

bash
pip install activeft

Usage Example

python
from activeft.sift import Retriever

# Load embeddings
embeddings = np.random.rand(1000, 512)
query_embeddings = np.random.rand(1, 512)

index = faiss.IndexFlatIP(d)
index.add(embeddings)
retriever = Retriever(index)
indices = retriever.search(query_embeddings, N=10)

Development

CI checks

  • The code is auto-formatted using black ..
  • Static type checks can be run using pyright.
  • Tests can be run using pytest test.

Documentation

To start a local server hosting the documentation run pdoc ./activeft --math.

Publishing

  1. update version number in pyproject.toml and activeft/__init__.py
  2. build: poetry build
  3. publish: poetry publish
  4. push version update to GitHub
  5. create new release on GitHub

Citation

…

Issues· 7 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonactive-fine-tuningactive-inferenceactive-learningartificial-intelligence

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理