model_search logo

model_search

archived
google/model_search

Automated machine learning for model architecture search.

GraphCanon updated 2w · GitHub synced 2w

3.2k stars549 forksLast push 2y Python Apache-2.0

Decision brief

model_search simplifies model architecture search by automating the process with predefined configurations focusing on binary classification tasks.

Good fit when

  • When you want to streamline the selection of optimal model architectures for your specific data without manual tuning.
  • If you prefer an automated approach that supports binary classification problems and leverages default specifications.

Avoid when

  • Avoid if your project requires customization beyond what model_search offers through predefined configurations.
  • Not ideal for tasks outside of binary classification which strictly uses a logits_dimension of 2.

Observed Jul 17, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Archived (734d since push)
As of 2w
Provenance
Not a fork · Organization account
As of 2w
Security (OSV)
268 low (268 low)
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Backing

Company context for Google. Display-only - separate from trust and ranking.

Company
Google·GitHub org profile·1mo
Employees
47,756·Wikidata (P1128 employees)·1mo
Commercial model
Pure OSS·GitHub org profile (public repos)·1mo

Install

pip install model_search
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

This is an automated machine learning library designed to find the best model architecture given specific data constraints and optimization goals, focusing on simplifying model training processes through predefined configurations and evaluation metrics.

Capability facts

Languages
python

Source: github.language · Aug 4, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 4, 2026)

```python import model_search
Source link

Tags

README

Getting Started

Let us start with the simplest case. You have a csv file where the features are numbers and you would like to run let AutoML find the best model architecture for you.

Below is a code snippet for doing so:

import model_search
from model_search import constants
from model_search import single_trainer
from model_search.data import csv_data

trainer = single_trainer.SingleTrainer(
    data=csv_data.Provider(
        label_index=0,
        logits_dimension=2,
        record_defaults=[0, 0, 0, 0],
        filename="model_search/data/testdata/csv_random_data.csv"),
    spec=constants.DEFAULT_DNN)

trainer.try_models(
    number_models=200,
    train_steps=1000,
    eval_steps=100,
    root_dir="/tmp/run_example",
    batch_size=32,
    experiment_name="example",
    experiment_owner="model_search_user")

The above code will try 200 different models - all binary classification models, as the logits_dimension is 2. The root directory will have a subdirectory of all models, all of which will be already evaluated. You can open the directory with tensorboard and see all the models with the evaluation metrics.

The search will be performed according to the default specification. That can be found in: model_search/configs/dnn_config.pbtxt.

For more details about the fields and if you want to create your own specification, you can look at: model_search/proto/phoenix_spec.proto.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.