afk-news-fr-classification-202601
收藏资源简介:
该数据集包含法文新闻标题,分为12个类别,涵盖政治、技术、科学、文化等多个领域。每个类别都有ID、标签、描述以及是否在AFK.live上显示的标记。数据集总样本数为931个,其中训练集720个样本(每个类别60个),测试集211个样本。
This dataset contains French news headlines, which are divided into 12 distinct categories spanning a wide range of domains including politics, technology, science, culture and more. Each category is associated with an ID, a label, a descriptive note, and a flag indicating whether it is showcased on AFK.live. The dataset has a total of 931 samples, including 720 training samples (60 samples per category) and 211 test samples.
AFK French News Classification 数据集概述
数据集基本信息
- 数据集名称:AFK French News Classification
- 托管地址:https://huggingface.co/datasets/afk-live/afk-news-fr-classification-202601
- 语言:法语 (fr)
- 许可证:MIT
- 数据规模:1K<n<10K
- 任务类别:文本分类
- 标签:text-classification, news, french, setfit, afk
- 最后更新日期:2026-01-17
数据集描述
该数据集包含法文新闻标题,用于SetFit微调,是AFK.live项目的一部分。新闻标题被分为12个类别,涵盖政治、技术、科学、文化等领域。
分类体系(12个类别)
| ID | 标签 | 描述 | 是否在AFK.live上显示 |
|---|---|---|---|
| 1 | Politique FR, EU, Québec | 国内法语区政治:法国、比利时、瑞士、魁北克、欧盟机构 | Yes |
| 2 | Géopolitique mondiale | 法语区以外的国际关系、冲突、外交 | Yes |
| 3 | Economie & Marchés & Business Tech | 纯金融、宏观经济、非科技公司、银行、市场 | Yes |
| 4 | Société | Yes | |
| 5 | Science & Environnement | 研究发现、气候、生物多样性、健康研究(非标题党) | Yes |
| 6 | Culture | 文化作品与事件:电影、音乐、书籍、戏剧、视觉艺术、电子游戏 | Yes |
| 7 | Sport | 所有体育新闻(比赛、转会、结果) | Yes |
| 8 | Faits divers & Actualité locale | 事故、无全国相关性的地方新闻 | Yes |
| 10 | Gadgets, pub, articles sponsorisés | 时尚、烹饪、旅行、健康、产品评测、优惠 | Yes |
| 11 | Météo | 天气预报、每日天气报告 | Yes |
| 12 | Rediffusion, replay, programme TV | 电视节目表、重播公告、节目单 | Yes |
| 13 | Code & Infrastructure | 面向开发者的技术内容:编程、机器学习工程、DevOps、软件架构 | Yes |
注:“是否在AFK.live上显示”列中,“Yes”表示该类别在AFK.live上显示,“No”表示被过滤掉(本数据集中所有类别均为“Yes”)。
数据集统计
- 总样本数:931
- 训练集:720个样本(每个类别60个)
- 测试集:211个样本
按类别划分的样本数
| 类别 | 训练集 | 测试集 |
|---|---|---|
| Code & Infrastructure | 60 | 15 |
| Culture | 60 | 16 |
| Economie & Marchés & Business Tech | 60 | 18 |
| Faits divers & Actualité locale | 60 | 17 |
| Gadgets, pub, articles sponsorisés | 60 | 19 |
| Géopolitique mondiale | 60 | 15 |
| Météo | 60 | 17 |
| Politique FR, EU, Québec | 60 | 23 |
| Rediffusion, replay, programme TV | 60 | 19 |
| Science & Environnement | 60 | 16 |
| Société | 60 | 17 |
| Sport | 60 | 19 |
使用方法
数据集可通过Hugging Face datasets库加载,并支持使用SetFit进行训练。
引用
如果使用此数据集,请引用AFK.live项目。




