mrm8488 / bert2bert_shared-german-finetuned-summarization

huggingface.co
Total runs: 154
24-hour runs: 0
7-day runs: 6
30-day runs: 132
Model's Last Updated: May 10 2023
summarization

Introduction of bert2bert_shared-german-finetuned-summarization

Model Details of bert2bert_shared-german-finetuned-summarization

German BERT2BERT fine-tuned on MLSUM DE for summarization

Model

bert-base-german-cased (BERT Checkpoint)

Dataset

MLSUM is the first large-scale MultiLingual SUMmarization dataset. Obtained from online newspapers, it contains 1.5M+ article/summary pairs in five different languages -- namely, French, German , Spanish, Russian, Turkish. Together with English newspapers from the popular CNN/Daily mail dataset, the collected data form a large scale multilingual dataset which can enable new research directions for the text summarization community. We report cross-lingual comparative analyses based on state-of-the-art systems. These highlight existing biases which motivate the use of a multi-lingual dataset. MLSUM de

Results
Set Metric # Score
Test Rouge2 - mid -precision 33.04
Test Rouge2 - mid - recall 33.83
Test Rouge2 - mid - fmeasure 33.15
Usage
import torch
from transformers import BertTokenizerFast, EncoderDecoderModel
device = 'cuda' if torch.cuda.is_available() else 'cpu'
ckpt = 'mrm8488/bert2bert_shared-german-finetuned-summarization'
tokenizer = BertTokenizerFast.from_pretrained(ckpt)
model = EncoderDecoderModel.from_pretrained(ckpt).to(device)
def generate_summary(text):
   inputs = tokenizer([text], padding="max_length", truncation=True, max_length=512, return_tensors="pt")
   input_ids = inputs.input_ids.to(device)
   attention_mask = inputs.attention_mask.to(device)
   output = model.generate(input_ids, attention_mask=attention_mask)
   return tokenizer.decode(output[0], skip_special_tokens=True)
   
text = "Your text here..."

generate_summary(text)

Created by Manuel Romero/@mrm8488 with the support of Narrativa Made with ♥ in Spain

Runs of mrm8488 bert2bert_shared-german-finetuned-summarization on huggingface.co

154
Total runs
0
24-hour runs
0
3-day runs
6
7-day runs
132
30-day runs

More Information About bert2bert_shared-german-finetuned-summarization huggingface.co Model

bert2bert_shared-german-finetuned-summarization huggingface.co

bert2bert_shared-german-finetuned-summarization huggingface.co is an AI model on huggingface.co that provides bert2bert_shared-german-finetuned-summarization's model effect (), which can be used instantly with this mrm8488 bert2bert_shared-german-finetuned-summarization model. huggingface.co supports a free trial of the bert2bert_shared-german-finetuned-summarization model, and also provides paid use of the bert2bert_shared-german-finetuned-summarization. Support call bert2bert_shared-german-finetuned-summarization model through api, including Node.js, Python, http.

bert2bert_shared-german-finetuned-summarization huggingface.co Url

https://huggingface.co/mrm8488/bert2bert_shared-german-finetuned-summarization

mrm8488 bert2bert_shared-german-finetuned-summarization online free

bert2bert_shared-german-finetuned-summarization huggingface.co is an online trial and call api platform, which integrates bert2bert_shared-german-finetuned-summarization's modeling effects, including api services, and provides a free online trial of bert2bert_shared-german-finetuned-summarization, you can try bert2bert_shared-german-finetuned-summarization online for free by clicking the link below.

mrm8488 bert2bert_shared-german-finetuned-summarization online free url in huggingface.co:

https://huggingface.co/mrm8488/bert2bert_shared-german-finetuned-summarization

bert2bert_shared-german-finetuned-summarization install

bert2bert_shared-german-finetuned-summarization is an open source model from GitHub that offers a free installation service, and any user can find bert2bert_shared-german-finetuned-summarization on GitHub to install. At the same time, huggingface.co provides the effect of bert2bert_shared-german-finetuned-summarization install, users can directly use bert2bert_shared-german-finetuned-summarization installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

bert2bert_shared-german-finetuned-summarization install url in huggingface.co:

https://huggingface.co/mrm8488/bert2bert_shared-german-finetuned-summarization

Url of bert2bert_shared-german-finetuned-summarization

bert2bert_shared-german-finetuned-summarization huggingface.co Url

Provider of bert2bert_shared-german-finetuned-summarization huggingface.co

mrm8488
ORGANIZATIONS

Other API from mrm8488

huggingface.co

Total runs: 855
Run Growth: 264
Growth Rate: 30.88%
Updated:February 23 2024
huggingface.co

Total runs: 631
Run Growth: 402
Growth Rate: 76.28%
Updated:March 19 2023
huggingface.co

Total runs: 89
Run Growth: 56
Growth Rate: 64.37%
Updated:June 20 2023
huggingface.co

Total runs: 72
Run Growth: 32
Growth Rate: 44.44%
Updated:January 24 2024