AI/EXPLORER
ToolsCategoriesSitesLLMsCompareAI QuizAlternativesPremium
—AI Tools
—Sites & Blogs
—LLMs & Models
—Categories
AI Explorer

Find and compare the best artificial intelligence tools for your projects.

Made within France

Explore

  • ›All tools
  • ›Sites & Blogs
  • ›LLMs & Models
  • ›Compare
  • ›Chatbots
  • ›AI Images
  • ›Code & Dev

Company

  • ›Premium
  • ›About
  • ›Contact
  • ›Blog

Legal

  • ›Legal notice
  • ›Privacy
  • ›Terms

© 2026 AI Explorer·All rights reserved.

HomeLLMsEmbeddingTele FLM

Tele FLM

by CofeAI

Open source · 15k downloads · 29 likes

1.8
(29 reviews)EmbeddingAPI & Local
About

Tele FLM est un grand modèle de langage multilingue de 52 milliards de paramètres, développé conjointement par BAAI et TeleAI. Conçu pour exceller dans le jugement factuel et la stabilité, il se distingue par son efficacité et ses performances supérieures, parfois surpassant des modèles plus grands. Entraîné sur environ 2 000 milliards de tokens, il couvre principalement l'anglais et le chinois, avec une licence open source (Apache 2.0) favorisant son adoption académique et industrielle. Ses cas d'usage incluent la génération de texte, les tâches de compréhension multilingue et les applications nécessitant une grande fiabilité. Ce qui le rend unique, c'est son architecture optimisée, inspirée de Llama mais avec des améliorations comme l'intégration de μP pour une recherche d'hyperparamètres plus efficace.

Documentation

Tele-FLM

Tele-FLM (aka FLM-2) is a 52B open-sourced multilingual large language model that features a stable, efficient pre-training paradigm and enhanced factual judgement capabilities. Built upon the decoder-only transformer architecture, it has been trained on approximately 2T tokens. Tele-FLM demonstrates superior performances at its scale, and sometimes surpass larger models. In addition to sharing the model weights, we provide the core designs, engineering practices, and training details, anticipating their benefits for both academic and industrial communities.

Model Details

  • Developed by: BAAI & TeleAI
  • Language(s): English; Chinese; Other languages
  • License: Apache 2.0

Technical Report

Tele-FLM Technical Report

Bias, Risks, and Limitations

Although we've made extensive efforts to thoroughly clean and filter the training corpus for the model, due to the open nature of the dataset, the model may still have picked up on some unsafe examples. Consequently, the model may still generate unexpected content, including but not limited to discrimination, bias, or offensive language. We would like to strongly advise users not to spread any unsafe content generated by the model. The project developers cannot be held responsible for any repercussions stemming from the dissemination of harmful information.

Quick Start

Use the code below to get started with Tele-FLM.

Python
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained('CofeAI/Tele-FLM', trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained('CofeAI/Tele-FLM', torch_dtype=torch.bfloat16, low_cpu_mem_usage=True, device_map="auto", trust_remote_code=True)
inputs = tokenizer('Beijing is the capital of China.', return_tensors='pt').to(model.device)
generated = model.generate(**inputs, max_new_tokens=128, repetition_penalty=1.03)
print(tokenizer.decode(generated.cpu()[0], skip_special_tokens=True))

Training Details

Training Data

Our training dataset comprises a variety of domains, as detailed in the table below. The total amount of data is roughly 2 trillion, with English and Chinese data in a ratio of about 2:1. In line with the methodology of GPT-4, we collected some instruct data and incorporated it into our pre-training data after removing the test sets of common datasets using the strict n-gram-based method. We deliberately avoid “training on the test set” or any other benchmark-oriented trick.

DomainLanguageSampling Prop.EpochsDisk Size
Webtexten, zh75.21%1.05.9 TB
Codecode, zh9.81%1.0528.1 GB
Booken, zh7.17%0.8647.6 GB
WorldKnowledgemulti, en, zh2.87%2.567.5 GB
QAen, zh2.12%1.0159.2 GB
AcademicPaperen0.99%1.054.4 GB
Profession-Lawzh1.04%1.084.2 GB
Profession-Mathmath0.62%2.06.1 GB
Profession-Patentzh0.14%1.010.4 GB
Profession-Medicalzh0.02%1.01.2 GB
ClassicalChinesezh0.02%2.50.5 GB

Model Architecture

We adopt the architecture of FLM-101B as the backbone for Tele-FLM, with several modifications:

  • Rotary Positional Embedding (RoPE)
  • RMSNorm for normalization
  • SwiGLU for activation function
  • Linear bias disabled
  • Embedding and language model head untied
  • Input and output multiplier

Consequently, Tele-FLM is largely compatible with Llama architecturally. To maximize convenience for the community, we made minimal adjustments to Llama's code to adapt it to Tele-FLM and released it as open source.

In the pre-training stage, we employ μP for optimal hyperparameter search. The μP model (Tele-FLM_μP) is architecturally identical to Tele-FLM except for the model width. The architecture of Tele-FLM and Tele-FLM_μP is listed below. For more details of μP, please refer to our technical report and the original Tensor Program papers.

Modelslayer
number
attention
heads
hidden
size
ffn hidden
size
vocab
size
context
length
param size
(M)
Tele-FLM64648,19221,82480,0004,09652,850
Tele-FLM_μP6445121,34480,0004,096283

Training Hyperparameters

Due to the smaller size, Tele-FLM_μP allows for significantly more experimental runs within fixed time and resource constraints. We searched seven hyperparameters for pretraining. All the hyperparameters are shown below.

Searched HyperparametersNon-Searched Hyperparameters
Learning Rate1.5e-4LR Schedule Typecosine
Matrix Learning Rate1.5e-4LR Schedule (tokens)2.5T
Minimum Learning Rate1.5e-5Warmup Step2,000
Standard Deviation4e-3Clip Grad1.0
Matrix Standard Deviation4.242e-3Weight Decay0.0
Input Mult1.0Batch Size (tokens)5,505,024
Output Mult3.125e-2RoPE Theta10,000

Training Loss

nexa-octopus

Hardware

Tele-FLM is trained on a cluster of 112 A800 SXM4 GPU servers, each with 8 NVLink A800 GPUs and 2TB of RAM. The nodes have varied CPU configurations: 96 nodes with Intel 8358 (128x 2.60GHz) CPUs and 16 nodes with AMD 7643 (96x 2.30GHz) CPUs. All nodes are interconnected via InfiniBand (IB). The training process lasted around two months, including downtime due to unexpected factors.

Software

Tele-FLM utilizes 3D parallel training, combining the prevailing methodologies: data parallelism, tensor parallelism, and pipeline parallelism. The parallel training setup for Tele-FLM is configured as follows: tensor parallel=4, pipeline parallel=2, and data parallel=112.

Evaluation

English

Open LLM Leaderboard

ModelAverageARCHellaSwagMMLUTruthfulQAWinoGradeGSM8KHumanEvalBBH
25-shot10-shot5-shotzero-shot5-shot5-shotzero-shot3-shot
LLAMA2-70B63.3967.3287.3369.8344.9283.7454.0646.9552.94
LLAMA2-13B50.2959.3982.1355.7737.3876.6422.8228.6639.52
LLAMA-65B56.9863.4886.0963.9343.4382.5637.2333.5445.54
LLAMA-13B46.2056.2380.9347.6739.4876.247.5823.7837.72
Tele-FLM56.6059.4782.2564.0043.0979.4045.1934.7644.60

Chinese

OpenCompass

ModelAverageC-EvalCMMLUC3CHIDCSL
GPT-476.6469.9071.0095.1082.2065.00
GPT-3.561.8652.5053.9085.6060.4056.90
Qwen1.5-72B80.4583.7283.0981.8691.0962.50
Qwen-72B83.0083.3083.6095.8091.1061.20
DeepSeek-67B73.4666.9070.4077.8089.1063.10
Tele-FLM71.1365.4866.9866.2592.5764.38

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.

INI
@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},
}
Capabilities & Tags
transformerspytorchTeleFLMfeature-extractioncustom_code
Links & Resources
Specifications
CategoryEmbedding
AccessAPI & Local
LicenseOpen Source
PricingOpen Source
Rating
1.8

Try Tele FLM

Access the model directly