---
title: "AutoModelForTextRanking"
sidebar_label: "AutoModelForTextRanking"
description: "Kotlin binding reference: AutoModelForTextRanking."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[AutoModelForTextRanking](index.md)

# AutoModelForTextRanking

[common]\
object [AutoModelForTextRanking](index.md)

A reranking model (one relevance score per document against a query) by name.

## Functions

| Name | Summary |
|---|---|
| [fromPretrained](fromPretrained.md) | [common]<br>fun [fromPretrained](fromPretrained.md)(source: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), options: [LoadOptions](../LoadOptions/index.md) = LoadOptions()): [RerankerModel](../RerankerModel/index.md) |