Ross ROSS = Recommend OSS · open-source software intelligence for agents

terrifyzhao/bert-utils

一行代码使用BERT生成句向量,BERT做文本分类、文本相似度计算 observed · 2026-08-28

github.com/terrifyzhao/bert-utils · Python · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2773
  • days_rel: n/a
  • days_push: 2515
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1668 stars · 421 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Python library that simplifies Google's BERT to generate sentence vectors with one line of code and perform text classification and text similarity computation. It wraps pre-trained BERT models (e.g., Chinese BERT) with easy encode and train/eval/test APIs.

Use cases

  • generate sentence embeddings from bert
  • compute text similarity between sentences
  • fine-tune bert for text classification
  • get sentence vectors in one line of python
  • chinese text semantic matching
  • encode sentences into fixed-size vectors

When to choose

  • you need a minimal wrapper around Google BERT for sentence vectors or classification
  • you work with Chinese text and want to use the pre-trained Chinese BERT model
  • you want simple train/eval/predict APIs for BERT-based classification

When to avoid

  • you need actively maintained code or recent TensorFlow compatibility
  • you want multilingual or modern transformer models beyond original BERT
  • you prefer PyTorch or Hugging Face Transformers ecosystem

Facets

library · maturity abandoned

machine-learning nlp llm-inference machine-learning deep-learning python bert sentence-embeddings text-classification text-similarity tensorflow chinese-nlp natural-language-processing

1 source

Member repositories

RepositoryRoleHealth v2
terrifyzhao/bert-utilsmain32

For agents

markdown · JSON · MCP: product_card(name="terrifyzhao/bert-utils")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem