Xenova / gte-small

huggingface.co
Total runs: 56.1K
24-hour runs: 0
7-day runs: 3.1K
30-day runs: 549
Model's Last Updated: July 22 2025
feature-extraction

Introduction of gte-small

Model Details of gte-small

https://huggingface.co/thenlper/gte-small with ONNX weights to be compatible with Transformers.js.

Usage (Transformers.js)

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @xenova/transformers

You can then use the model to compute embeddings like this:

import { pipeline } from '@xenova/transformers';

// Create a feature-extraction pipeline
const extractor = await pipeline('feature-extraction', 'Xenova/gte-small');

// Compute sentence embeddings
const sentences = ['That is a happy person', 'That is a very happy person'];
const output = await extractor(sentences, { pooling: 'mean', normalize: true });
console.log(output);
// Tensor {
//   dims: [ 2, 384 ],
//   type: 'float32',
//   data: Float32Array(768) [ -0.053555335849523544, 0.00843878649175167, ... ],
//   size: 768
// }

// Compute cosine similarity
import { cos_sim } from '@xenova/transformers';
console.log(cos_sim(output[0].data, output[1].data))
// 0.9798319649182318

You can convert this Tensor to a nested JavaScript array using .tolist() :

console.log(output.tolist());
// [
//   [ -0.053555335849523544, 0.00843878649175167, 0.06234041228890419, ... ],
//   [ -0.049980051815509796, 0.03879701718688011, 0.07510733604431152, ... ]
// ]

By default, an 8-bit quantized version of the model is used, but you can choose to use the full-precision (fp32) version by specifying { quantized: false } in the pipeline function:

const extractor = await pipeline('feature-extraction', 'Xenova/gte-small', { quantized: false });

Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using 🤗 Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx ).

Runs of Xenova gte-small on huggingface.co

56.1K
Total runs
0
24-hour runs
958
3-day runs
3.1K
7-day runs
549
30-day runs

More Information About gte-small huggingface.co Model

gte-small huggingface.co

gte-small huggingface.co is an AI model on huggingface.co that provides gte-small's model effect (), which can be used instantly with this Xenova gte-small model. huggingface.co supports a free trial of the gte-small model, and also provides paid use of the gte-small. Support call gte-small model through api, including Node.js, Python, http.

gte-small huggingface.co Url

https://huggingface.co/Xenova/gte-small

Xenova gte-small online free

gte-small huggingface.co is an online trial and call api platform, which integrates gte-small's modeling effects, including api services, and provides a free online trial of gte-small, you can try gte-small online for free by clicking the link below.

Xenova gte-small online free url in huggingface.co:

https://huggingface.co/Xenova/gte-small

gte-small install

gte-small is an open source model from GitHub that offers a free installation service, and any user can find gte-small on GitHub to install. At the same time, huggingface.co provides the effect of gte-small install, users can directly use gte-small installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

gte-small install url in huggingface.co:

https://huggingface.co/Xenova/gte-small

Url of gte-small

gte-small huggingface.co Url

Provider of gte-small huggingface.co

Xenova
ORGANIZATIONS

Other API from Xenova

huggingface.co

Total runs: 521.1K
Run Growth: -180.2K
Growth Rate: -34.58%
Updated:August 28 2025
huggingface.co

Total runs: 148.8K
Run Growth: 112.9K
Growth Rate: 75.88%
Updated:February 11 2026
huggingface.co

Total runs: 97.2K
Run Growth: 11.6K
Growth Rate: 11.95%
Updated:December 17 2025
huggingface.co

Total runs: 33.7K
Run Growth: 2.6K
Growth Rate: 7.78%
Updated:July 12 2025
huggingface.co

Total runs: 30.1K
Run Growth: 4.7K
Growth Rate: 15.68%
Updated:June 25 2025
huggingface.co

Total runs: 26.1K
Run Growth: 14.2K
Growth Rate: 54.67%
Updated:July 11 2025
huggingface.co

Total runs: 20.3K
Run Growth: 889
Growth Rate: 4.38%
Updated:June 30 2025
huggingface.co

Total runs: 12.8K
Run Growth: -22
Growth Rate: -0.17%
Updated:July 26 2025
huggingface.co

Total runs: 9.4K
Run Growth: -130
Growth Rate: -1.38%
Updated:October 27 2025
huggingface.co

Total runs: 9.3K
Run Growth: -1.0K
Growth Rate: -10.86%
Updated:June 25 2025
huggingface.co

Total runs: 9.0K
Run Growth: 946
Growth Rate: 10.52%
Updated:July 11 2025
huggingface.co

Total runs: 6.9K
Run Growth: -305.8K
Growth Rate: -4430.60%
Updated:August 28 2025
huggingface.co

Total runs: 6.5K
Run Growth: 726
Growth Rate: 11.61%
Updated:January 09 2026
huggingface.co

Total runs: 5.1K
Run Growth: 1.6K
Growth Rate: 32.11%
Updated:August 19 2025
huggingface.co

Total runs: 4.7K
Run Growth: -1.9K
Growth Rate: -40.02%
Updated:August 28 2025
huggingface.co

Total runs: 2.7K
Run Growth: -159
Growth Rate: -5.95%
Updated:August 19 2025
huggingface.co

Total runs: 2.6K
Run Growth: 252
Growth Rate: 9.68%
Updated:July 01 2025
huggingface.co

Total runs: 2.6K
Run Growth: -189
Growth Rate: -7.35%
Updated:June 25 2025
huggingface.co

Total runs: 2.2K
Run Growth: 1.3K
Growth Rate: 59.98%
Updated:July 11 2025
huggingface.co

Total runs: 2.2K
Run Growth: -54
Growth Rate: -2.40%
Updated:October 08 2024
huggingface.co

Total runs: 2.0K
Run Growth: -1.1K
Growth Rate: -50.38%
Updated:July 22 2025
huggingface.co

Total runs: 1.9K
Run Growth: 459
Growth Rate: 24.29%
Updated:December 17 2025
huggingface.co

Total runs: 1.4K
Run Growth: 174
Growth Rate: 12.34%
Updated:July 11 2025