langdrive
by
addy-ai

Description: Train LLMs on private data. Simply make an API request to our training endpoint specifying you data and model. LangDrive will handle the rest. ⚡

View on GitHub ↗

Summary Information

Updated 1 hour ago
Added to GitGenius on May 6th, 2025
Created on August 6th, 2023
Open Issues & Pull Requests: 7 (+0)
Number of forks: 24
Total Stargazers: 172 (+0)
Total Subscribers: 2 (+0)

Issue Activity (beta)

Open issues: 2
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 605 days
Stale 30+ days: 2
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 14.8 hours
90th percentile: 29.7 hours
Tracked items: 2

Most active contributors

Related by overlapping contributors

Detailed Description

LangDrive is an open-source JavaScript library that enables developers to train, deploy, and query open-source large language models using private data through a unified interface. The project is hosted at langdrive.ai and provides multiple access methods including a command-line interface, YAML configuration files, and REST APIs, making it accessible to developers with varying levels of technical expertise.

The core functionality centers on simplifying the machine learning workflow for LLMs. Users can ingest data from multiple sources including Firebase Firestore, Google Drive, CSV files, website URLs, and email via SMTP. Once data is ingested, LangDrive handles fine-tuning of open-source models by formatting data into input-output completion pairs. After training, models can be deployed directly to the Hugging Face Hub using user-provided access tokens, and inference endpoints are generated for querying the trained models.

The library supports a two-step workflow for Node developers. The simplest approach involves installing the npm package and running a single command like langdrive train with a CSV file path and Hugging Face token, optionally adding a deploy flag. This command orchestrates the entire pipeline from data retrieval through model training to hosting weights and returning an inference endpoint. The CLI accepts arguments for specifying YAML configuration documents, CSV training data paths, Hugging Face API tokens with write permissions, base model selection, and deployment preferences.

LangDrive's use cases span question-answering systems over internal documents, chatbot development, AI agent creation, and content generation applications. The library includes built-in data utilities for CRUD operations across different data connectors, reducing boilerplate code for common data management tasks. The project exposes two primary API endpoints: a completions API at api.langdrive.ai/v1/chat/completions for inference and a training API at api.langdrive.ai/train for programmatic model training.

According to GitGenius activity tracking, the repository shows rapid issue and pull request response times with a median latency of 0.0 hours and mean latency of 14.8 hours across tracked items, indicating active maintenance. The most active contributors tracked include BDL-LTD, MichaelVandi, and ThatGuySam. The repository shares contributor overlap with acornjs/acorn, suggesting cross-project collaboration within the developer community.

The project is classified across multiple AI and machine learning domains including AI training, language model development, Llama-based LLM work, natural language processing, dataset management, and neural networks. This broad classification reflects the library's position as a comprehensive tool for the full lifecycle of LLM development with private data. The project welcomes community contributions through the standard fork and pull request process and maintains an active Discord community for updates and roadmap discussions.

langdrive
by
addy-aiaddy-ai/langdrive

Repository Details

Fetching additional details & charts...