alt.freeweights.embed / gte-en-mlm-base
From: Alibaba-NLP <huggingface.co/Alibaba-NLP>Newsgroups: alt.freeweights.embedSubject:

gte-en-mlm-base

Date: 2026-11-14Commit: 5d8e84aSigned: 2DC28CC7B26A283B ✓

Fill mask model with 137M parameters. Safetensors weights, 550 MB in all. Published by Alibaba-NLP under Apache-2.0.

137M params550MBgte-en-mlm-basesafetensorspermissive
FactsParams137MSize550 MBFormatssafetensorsTaskfill maskLicenseApache-2.0From sourcepermissive
$ fw get Alibaba-NLP/gte-en-mlm-base
# manifest sha256 ecb179522064… · 550 MB · 7 files
$ fw verify ./gte-en-mlm-base Alibaba-NLP/gte-en-mlm-base
From sourceHosted (signed)Alibaba-NLP/gte-en-mlm-baseLast check: 2026-11-14 21:07 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
550 MB
Weights
550 MB (safetensors)
Parameters
137M
Formats
safetensors
Task
fill mask
License
Apache-2.0 (permissive)
Files
7, each with a sha256
Publisher
Alibaba-NLP
Added
2026-11-14
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:07 UTCpassed

Model card

From the publisher at commit 5d8e84a. Shown as plain text with links; images open at the publisher.

gte-en-mlm-base#

We introduce GTE-v1.5 series, new generalized text encoder, embedding and reranking models that the context length of up to 8192. The models are built upon the transformer++ encoder backbone (BERT + RoPE + GLU, code refer to Alibaba-NLP/new-impl) as well as the vocabulary of bert-base-uncased.

This text encoder is the GTEv1.5-en-MLM-base-8192 in table 13 of our paper.

  • Developed by: Institute for Intelligent Computing, Alibaba Group
  • Model type: Text Encoder
  • Paper: [mGTE: Generalized Long-Context Text Representation and Reranking

Models for Multilingual Text Retrieval](https://arxiv.org/pdf/2407.19669).

Model list#
ModelsLanguageModel SizeMax Seq. LengthGLUEXTREME-R
gte-multilingual-mlm-baseMultiple306M819283.4764.44
gte-en-mlm-baseEnglish-819285.61-
gte-en-mlm-largeEnglish-819287.58-

Training Details#

Training Data#
  • Masked language modeling (MLM): c4-en
Training Procedure#

To enable the backbone model to support a context length of 8192, we adopted a multi-stage training strategy. The model first undergoes preliminary MLM pre-training on shorter lengths. And then, we resample the data, reducing the proportion of short texts, and continue the MLM pre-training.

The entire training process is as follows:

  • MLM-2048: lr 5e-4, mlm_probability 0.3, batch_size 4096, num_steps 70000, rope_base 10000
  • MLM-8192: lr 5e-5, mlm_probability 0.3, batch_size 1024, num_steps 20000, rope_base 500000

Evaluation#

ModelsLanguageModel SizeMax Seq. LengthGLUEXTREME-R
gte-multilingual-mlm-baseMultiple306M819283.4764.44
gte-en-mlm-baseEnglish137M819285.61-
gte-en-mlm-largeEnglish435M819287.58-
MosaicBERT-baseEnglish137M12885.4-
MosaicBERT-base-2048English137M204885-
JinaBERT-baseEnglish137M51285-
nomic-bert-2048English137M204884-
MosaicBERT-largeEnglish434M12886.1-
JinaBERT-largeEnglish434M51283.7-
XLM-R-baseMultiple279M51280.4462.02
RoBERTa-baseEnglish125M51286.4-
RoBERTa-largeEnglish355M51288.9-

Citation#

If you find our paper or models helpful, please consider citing them as follows:

@misc{zhang2024mgte,
  title={mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrieval}, 
  author={Xin Zhang and Yanzhao Zhang and Dingkun Long and Wen Xie and Ziqi Dai and Jialong Tang and Huan Lin and Baosong Yang and Pengjun Xie and Fei Huang and Meishan Zhang and Wenjie Li and Min Zhang},
  year={2024},
  eprint={2407.19669},
  archivePrefix={arXiv},
  primaryClass={cs.CL},
  url={https://arxiv.org/abs/2407.19669}, 
}

Files

7 files · 550 MBWeights 550 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 7 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md3.86 KB906f0895bad8bbfde08a913602c174a261ae664e631f31c2062b1dff3b696cf4
config.json1.34 KBdbcf29d2d6d006f393a969c2dab5675d9ad263b3304ed2a8a361650a5f61aa29
model.safetensors550 MB88b52a045f84a123fe7dbac264bea14bd91ff9e8a742a1429bd3f63cb304cb87
special_tokens_map.json695 B5d5b662e421ea9fac075174bb0688ee0d9431699900b90662acd44b2a350503a
tokenizer.json711 KBd241a60d5e8f04cc1b2b3e9ef7a4921b27bf526d9f6050ab90f9267a1f9e5c66
tokenizer_config.json1.19 KB082295399bc08fd0af57e2c921d856c821b484215adf74db07cb7cdfe05fb143
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
5d8e84a2f6 pinned now manifest updated, same commit2026-11-14 21:07 UTC7 files · 550 MB
5d8e84a2f62026-11-14 21:07 UTC7 files · 550 MB

Use it

$ fw get Alibaba-NLP/gte-en-mlm-base
# manifest sha256 ecb179522064… · 550 MB · 7 files
$ fw verify ./gte-en-mlm-base Alibaba-NLP/gte-en-mlm-base
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/Alibaba-NLP/gte-en-mlm-base.json --dir ./gte-en-mlm-base $ python3 fw.py verify ./gte-en-mlm-base ./Alibaba-NLP__gte-en-mlm-base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Alibaba-NLP/gte-en-mlm-base --revision 5d8e84a2f6d9b819fd50fca613fae4f6ffcafa07 --local-dir ./gte-en-mlm-base

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
README.md
Text sha256
906f0895bad8bbfde08a913602c174a261ae664e631f31c2062b1dff3b696cf4
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: Alibaba-NLP <huggingface.co/Alibaba-NLP>Newsgroups: alt.freeweights.embedSubject: gte-en-mlm-baseDate: 2026-11-14Commit: 5d8e84aSigned: 2DC28CC7B26A283B ✓
Upstream
Alibaba-NLP/gte-en-mlm-base
Pinned commit
5d8e84a2f6d9b819fd50fca613fae4f6ffcafa07
Manifest
gte-en-mlm-base.json · .minisig
Manifest sha256
ecb179522064a1a72e23c95da82319b19bc83aef8a2b1b3ac30a3664bd60198e
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:07 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/Alibaba-NLP/gte-en-mlm-base.json $ curl -O https://freeweights.allternit.com/manifests/Alibaba-NLP/gte-en-mlm-base.json.minisig $ minisign -Vm gte-en-mlm-base.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Alibaba-NLP/gte-en-mlm-base
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. gte-en-mlm-base.json. Provenance. Takedown history: none.
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-MiniLM-L6-v1
From: unsloth <huggingface.co/unsloth>Subject: all-MiniLM-L6-v2
From: mlx-community <huggingface.co/mlx-community>Subject: all-MiniLM-L6-v2-4bit
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-mpnet-base-v1
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: allenai-specter
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: bert-base-nli-max-tokens