

网站介绍
Overview
Language model: gbert-base-germandpr
Language: German
Training data: GermanDPR train set (~ 56MB)
Eval data: GermanDPR test set (~ 6MB)
Infrastructure: 4x V100 GPU
Published: Apr 26th, 2021
Details
- We trained a dense passage retrieval model with two gbert-base models as encoders of questions and passages.
- The dataset is GermanDPR, a new, German language dataset, which we hand-annotated and published online.
- It comprises 9275 question/answer pairs in the training set and 1025 pairs in the test set.
For each pair, there are one positive context and three hard negative contexts. - As the basis of the training data, we used our hand-annotated GermanQuAD dataset as positive samples and generated hard negative samples from the latest German Wikipedia dump (6GB of raw txt files).
- The data dump was cleaned with tailored scripts, leading to 2.8 million indexed passages from German Wikipedia.
See https://deepset.ai/germanquad for more details and dataset download.
Hyperparameters
batch_size = 40
n_epochs = 20
num_training_steps = 4640
num_warmup_steps = 460
max_seq_len = 32 tokens for question encoder and 300 tokens for passage encoder
learning_rate = 1e-6
lr_schedule = LinearWarmup
embeds_dropout_prob = 0.1
num_hard_negatives = 2
Performance
During training, we monitored the in-batch average rank and the loss and evaluated different batch sizes, numbers of epochs, and number of hard negatives on a dev set split from the train set.
The dev split contained 1030 question/answer pairs.
Even without thorough hyperparameter tuning, we observed quite stable learning. Multiple restarts with different seeds produced quite similar results.
Note that the in-batch average rank is influenced by settings for batch size and number of hard negatives. A smaller number of hard negatives makes the task easier.
After fixing the hyperparameters we trained the model on the full GermanDPR train set.
We further evaluated the retrieval performance of the trained model on the full German Wikipedia with the GermanDPR test set as labels. To this end, we converted the GermanDPR test set to SQuAD format. The DPR model drastically outperforms the BM25 baseline with regard to recall@k.
Usage
In haystack
You can load the model in haystack as a retriever for doing QA at scale:
retriever = DensePassageRetriever(
document_store=document_store,
query_embedding_model="deepset/gbert-base-germandpr-question_encoder"
passage_embedding_model="deepset/gbert-base-germandpr-ctx_encoder"
)
Authors
- Timo Möller:
timo.moeller [at] deepset.ai
- Julian Risch:
julian.risch [at] deepset.ai
- Malte Pietsch:
malte.pietsch [at] deepset.ai
About us
We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- German BERT (aka “bert-base-german-cased”)
- GermanQuAD and GermanDPR datasets and models (aka “gelectra-base-germanquad”, “gbert-base-germandpr”)
- FARM
- Haystack
Get in touch:
Twitter | LinkedIn | Website
By the way: we’re hiring!
本站Ai工具导航提供的“deepset/gbert-base-germandpr-question_encoder”来源于网络,不保证外部链接的准确性和完整性,同时,对于该外部链接的指向,不由“Ai工具导航”实际控制,在“2025-10-05 21:53:07”收录时,该网页上的内容,都属于合规合法,后期网页的内容如出现违规,可以直接联系网站管理员进行删除,“Ai工具导航”不承担任何责任。
流量统计
- 7天
- 30天
- 90天
- 365天
猜你喜欢
风云汇
风云汇官网沈阳金铠建筑科技股份有限公司(证券简称:金铠建科;股票代码:831141)成立于2009年2月,注册资本186...DragGAN(GitHub)
DragGAN的在线演示和非官方实现-“拖拽你的GAN:生成图像歧管上的交互式基于点的操作”(DragGAN 全功能实现...中国通信工业协会
中国通信工业协会 (CCIA,以下简称协会)是一九九一年七月经民政部注册登记,由国内从事通信设备和系统及相关的配套设备、...中国通信学会
中国通信学会(China Institute of Communications,CIC,以下简称“学会”)成立于197...ZAKER-AI智能客服
打造个性的智能客服自定义配置,打造专属智能客服支持上传海量材料,训练智慧AI客服智能理解上下文对话,增强对话的精准度覆盖...稿定AI-搞定AI!
稿定AI官网提供多样化的、可控的图像生成算法,一张图,一句话-协助创意更快落地!...WeShop商拍
AI商拍释放产品本身的魅力在WeShop,你再也不会受到模特/经纪/摄影/后期/场租/机酒的限制,省时、省力、又省钱。鼠...AI智绘-服装领域CHATGPT
AI智绘五大核心优势巨量生产,降本增效:凭借强大的算力支撑,大幅提升设计产能灵感迸发,拒绝平庸:无限创作空间,设计师再也...水母快写
水母快写是一款基于人工智能技术的文章批量生成工具。它能够快速地生成高质量、原创性的文章,以满足用户的日常写作需求。不同于...问鸭
1.完全免费,不限使用次数;2.不同设备间数据自动同步;3.流动式输出,响应速度极快。生活、学习、工作问题都可以问鸭!...seowriting.ai
用于一键式SEO优化文章,博客文章和会员内容的AI写作工具。提供48种语言版本,带有图片的文章自动发布到WordPres...sayakpaul/glpn-nyu-finetuned-diode-221121-063504
glpn-nyu-finetuned-diode-221121-063504This model is a fine-t...
- 关注我们
-
扫一扫二维码关注我们的微信公众号
- 网址推荐
- 热门标签
-
- 游戏(4428)
- 街机游戏合集(4329)
- 街机游戏(4329)
- 在线游戏集合(4329)
- 街机在线(4329)
- nes合集游戏(4328)
- 在线小游戏网站(4328)
- 游戏榜(4328)
- 红白机游戏盒(4328)
- 小霸王游戏(4328)
- GBA(1796)
- 街机(555)
- 动作冒险(400)
- 青檬花园(374)
- 角色扮演(354)
- 动作(341)
- 汉化(332)
- SFC(328)
- 运动比赛(321)
- 深度导航(309)
- 小游戏(302)
- 射击(292)
- AIGC导航(277)
- 国内精选服务商(255)
- 中文(245)
- 冒险(239)
- 工具达人(239)
- AI写作工具(232)
- 平台(219)
- 格斗(212)
- 视频(198)
- 翻译(186)
- 人工智能(172)
- 动漫(159)
- 的(153)
- Video(152)
- 数字人(151)
- ppt(137)
- 数据分析(137)
- 文生图(134)
- logo(133)
- 飞行射击(128)
- AI智能体(126)
- 赛车(124)
- 一起用AI(123)
- 电商(119)
- 其他(119)
- 思维导图(113)
- OpenI(113)
- Code(105)