Model reference · open weights

FLM-2-2407

Embeddings CofeAI Embeddings 1 build Licence not stated 2k dl/mo

FLM-2-2407 is an open-weight embedding model from CofeAI. FLM-2-52B-Instruct-2407 (BF16) weighs 106 GB; the smallest configuration that runs it is DGX Spark (GB10) 128 GB unified.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • FLM-2-2407 is an open-source large language model developed by CofeAI, designed for feature extraction tasks.
  • The model utilizes a GPT-style decoder-only transformer architecture with 52.85 billion parameters and a context length of 2048 tokens.
  • It was fine-tuned on a refined dataset of 30,735 samples and evaluated on the AlignBench benchmark for Chinese language alignment performance.

Summary of the CofeAI/FLM-2-52B-Instruct-2407 model card, 2026-10-01

What it is

Released byCofeAI
Released2024-07-22
VRAM106 GB for the weights

What it runs on

Memory and cards for FLM-2-52B-Instruct-2407 (BF16)

106 GBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GB … RTX PRO 6000 Blackwell 96 GBdoes not fit
DGX Spark (GB10) 128 GB unifiedtight107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What CofeAI says about FLM-2-2407

Read the model card

FLM-2 (aka Tele-FLM) is our open-source large language model series. The FLM-2 series demonstrate superior performances at its scale, and sometimes surpass larger models. The currently released versions include (Tele-FLM)[https://huggingface.co/CofeAI/Tele-FLM] and (Tele-FLM-1T)[https://huggingface.co/CofeAI/Tele-FLM-1T]. These models feature a stable, efficient pre-training paradigm and enhanced factual judgment capabilities. This repo contains the instruction-tuned 52B Tele-FLM model, which we have named FLM-2-52B-Instruct.

Model Details

FLM-2-52B-Instruct utilizes the standard GPT-style decoder-only transformer architecture with a few adjustments:

  • Rotary Positional Embedding (RoPE)
  • RMSNorm for normalization
  • SwiGLU for activation function
  • Linear bias disabled
  • Embedding and language model head untied
  • Input and output multiplier
Modelslayernumberattentionheadshiddensizeffn hiddensizevocabsizeparamscount
FLM-2-52B-Instruct-240764648,19221,82480,00052.85 B

Training details

Unlike conventional fine-tuning methods, we employed an innovative and cost-effective fine-tuning approach. Through specialized screening techniques, we meticulously selected 30,735 samples from a large corpus of fine-tuning data. This refined dataset facilitated the fine-tuning process and yielded promising results.

Quickstart

Here provides simple code for loading the tokenizer, loading the model, and generating contents.

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained('CofeAI/FLM-2-52B-Instruct-2407', trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained('CofeAI/FLM-2-52B-Instruct-2407', torch_dtype=torch.bfloat16, low_cpu_mem_usage=True, device_map="auto", trust_remote_code=True)
history = [
    {"role": "user", "content": "你好"},
    {"role": "assistant", "content": "你好"},
    {"role": "user", "content": "北京有哪些必去的景点?"}
]
inputs = tokenizer.apply_chat_template(history, return_tensors='pt').to(model.device)
response = model.generate(inputs, max_new_tokens=128, repetition_penalty=1.03)
print(tokenizer.decode(response.cpu()[0], skip_special_tokens=True))

Evaluation

We evaluate the alignment performance of FLM-2-52B-Instruct-2407 in Chinese across various domains utilizing AlignBench. AlignBench is a comprehensive and multidimensional evaluation benchmark designed to assess Chinese large language models’ alignment performance. It encompasses 8 categories with a total of 683 question-answer pairs, covering areas such as fundamental language ability (Fund.), Chinese advanced understanding (Chi.), open-ended questions (Open.), writing ability (Writ.), logical reasoning (Logi.), mathematics (Math.), task-oriented role playing (Role.), and professional knowledge (Pro.).

ModelsOverallMath.Logi.Fund.Chi.Open.Writ.Role.Pro.
gpt-4-1106-preview7.587.396.837.697.078.668.238.088.55
gpt-4-06136.836.335.157.166.767.267.317.487.56
gpt-3.5-turbo-06135.684.904.796.015.606.977.276.986.29
chatglm-turbo6.364.885.097.507.038.458.057.677.70
FLM-2-52B-Instruct-24076.233.795.157.697.868.458.177.887.85

Acknowledgements

This work was supported by the National Science and Technology Major Project (No. 2022ZD0116314).

Citation

If you find our work helpful, please consider citing it.

@article{tele-flm-1t,
  author       = {Xiang Li and Yiqun Yao and Xin Jiang and Xuezhi Fang and Chao Wang and Xinzhang Liu and Zihan Wang and Yu Zhao and Xin Wang and Yuyao Huang and Shuangyong Song and Yongxiang Li and Zheng Zhang and Bo Zhao and Aixin Sun and Yequan Wang and Zhongjiang He and Zhongyuan Wang and Xuelong Li and Tiejun Huang},
  title        = {52B to 1T: Lessons Learned via Tele-FLM Series},
  journal      = {CoRR},
  volume       = {abs/2407.02783},
  year         = {2024},
  url          = {https://doi.org/10.48550/arXiv.2407.02783},
  doi          = {10.48550/ARXIV.2407.02783},
  eprinttype   = {arXiv},
  eprint       = {2407.02783},
}

@article{tele-flm-2024,
  author       = {Xiang Li and Yiqun Yao and Xin Jiang and Xuezhi Fang and Chao Wang and Xinzhang Liu and Zihan Wang and Yu Zhao and Xin Wang and Yuyao Huang and Shuangyong Song and Yongxiang Li and Zheng Zhang and Bo Zhao and Aixin Sun and Yequan Wang and Zhongjiang He and Zhongyuan Wang and Xuelong Li and Tiejun Huang},
  title        = {Tele-FLM Technical Report},
  journal      = {CoRR},
  volume       = {abs/2404.16645},
  year         = {2024},
  url          = {https://doi.org/10.48550/arXiv.2404.16645},
  doi          = {10.48550/ARXIV.2404.16645},
  eprinttype   = {arXiv},
  eprint       = {2404.16645},
}

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms