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

gte-en-mlm-large

Date: 2026-11-14Commit: fa86a24Signed: 2DC28CC7B26A283B ✓

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

435M params871MBgte-en-mlm-largesafetensorspermissive
FactsParams435MSize871 MBFormatssafetensorsTaskfill maskLicenseApache-2.0From sourcepermissive
$ fw get Alibaba-NLP/gte-en-mlm-large
# manifest sha256 3d04a4040273… · 871 MB · 7 files
$ fw verify ./gte-en-mlm-large Alibaba-NLP/gte-en-mlm-large
From sourceHosted (signed)Alibaba-NLP/gte-en-mlm-largeLast 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
871 MB
Weights
870 MB (safetensors)
Parameters
435M
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 fa86a24. Shown as plain text with links; images open at the publisher.

gte-en-mlm-large#

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-large-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-512: lr 2e-4, mlm_probability 0.3, batch_size 4096, num_steps 300000, rope_base 10000
  • MLM-2048: lr 5e-5, mlm_probability 0.3, batch_size 4096, num_steps 30000, rope_base 10000
  • MLM-8192: lr 5e-5, mlm_probability 0.3, batch_size 1024, num_steps 30000, rope_base 160000

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 · 871 MBWeights 870 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 7 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md3.95 KB220126ac6b63d629fef0db71e133f0846e5d01c0492f3830ad88529d10cec43b
config.json1.35 KB8c0c34a4d29f4dec7e6ab2c1decd5963c6c1c03b4059c30273670e92b23f2f9f
model.safetensors870 MBf7d4a9a1eff53c2f857daf909e906cc2daa9c54665b3421ef84c1babfbb7145d
special_tokens_map.json125 Bb6d346be366a7d1d48332dbc9fdf3bf8960b5d879522b7799ddba59e76237ee3
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
fa86a24727 pinned now manifest updated, same commit2026-11-14 21:07 UTC7 files · 871 MB
fa86a247272026-11-14 21:07 UTC7 files · 871 MB

Use it

$ fw get Alibaba-NLP/gte-en-mlm-large
# manifest sha256 3d04a4040273… · 871 MB · 7 files
$ fw verify ./gte-en-mlm-large Alibaba-NLP/gte-en-mlm-large
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-large.json --dir ./gte-en-mlm-large $ python3 fw.py verify ./gte-en-mlm-large ./Alibaba-NLP__gte-en-mlm-large.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Alibaba-NLP/gte-en-mlm-large --revision fa86a24727369a29632114d5eb585940d1d54eb5 --local-dir ./gte-en-mlm-large

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
220126ac6b63d629fef0db71e133f0846e5d01c0492f3830ad88529d10cec43b
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-largeDate: 2026-11-14Commit: fa86a24Signed: 2DC28CC7B26A283B ✓
Upstream
Alibaba-NLP/gte-en-mlm-large
Pinned commit
fa86a24727369a29632114d5eb585940d1d54eb5
Manifest
gte-en-mlm-large.json · .minisig
Manifest sha256
3d04a4040273f8508ba96403c7ddf41811bbb8efe1aa58d3848e60377de04907
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-large.json $ curl -O https://freeweights.allternit.com/manifests/Alibaba-NLP/gte-en-mlm-large.json.minisig $ minisign -Vm gte-en-mlm-large.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-large
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-large.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