
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# Fine-tuned FLAN-T5 large model for French Dialogue Summarization

This model is a fine-tuned version of [google/flan-t5-large](https://huggingface.co/google/flan-t5-large) for French dialogue summarization.

## Usage

Inference with 🤗 Pipeline

```python
import torch
from transformers import pipeline

device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")

pipe = pipeline(
    "summarization",
    model="bofenghuang/flan-t5-large-dialogsum-fr",
    device=device,
)

dialogue_text = """Pierre: J’ai oublié ma trousse. Tu peux me prêter un stylo.
Lucie: Tiens.
Pierre: Merci. Tu peux me donner une feuille de papier aussi ?
Lucie: Euh… oui. Tiens.
Pierre: Merci. Ça t’ennuie pas si je regarde avec toi ? J’ai oublié mon livre…
Lucie: Non, pas de problème.
Pierre: Pff. Je ne comprends rien. Tu pourras m’expliquer après le cours ?
Lucie: Oui, si tu veux… On ira au café.
Pierre: Oui… euh non, j’ai oublié mon porte-monnaie.
Lucie: Bon allez ! ce n’est pas grave, je t’invite.
Pierre: Tu es trop gentille.
Lucie: Oui, c’est bien possible."""

summarized_text = pipe(dialogue_text, max_length=1024)[0]["summary_text"]  # greedy
# summarized_text = pipe(dialogue_text, max_length=1024, num_beams=5)[0]["summary_text"]  # beam search
```
{"language": "fr", "license": "apache-2.0", "library_name": "transformers", "tags": ["summarization"], "metrics": ["rouge"], "widget": [{"text": "Pierre: J\u2019ai oubli\u00e9 ma trousse. Tu peux me pr\u00eater un stylo.\nLucie: Tiens.\nPierre: Merci. Tu peux me donner une feuille de papier aussi ?\nLucie: Euh\u2026 oui. Tiens.\nPierre: Merci. \u00c7a t\u2019ennuie pas si je regarde avec toi ? J\u2019ai oubli\u00e9 mon livre\u2026\nLucie: Non, pas de probl\u00e8me.\nPierre: Pff. Je ne comprends rien. Tu pourras m\u2019expliquer apr\u00e8s le cours ?\nLucie: Oui, si tu veux\u2026 On ira au caf\u00e9.\nPierre: Oui\u2026 euh non, j\u2019ai oubli\u00e9 mon porte-monnaie \nLucie: Bon allez ! ce n\u2019est pas grave, je t\u2019invite.\nPierre: Tu es trop gentille.\nLucie: Oui, c\u2019est bien possible."}], "model-index": [{"name": "Fine-tuned FLAN-T5 large model for French dialogue summarization", "results": []}]}
transformers pytorch tensorboard safetensors t5 text2text-generation summarization fr license:apache-2.0 autotrain_compatible endpoints_compatible has_space text-generation-inference region:us
TAGS
#transformers #pytorch #tensorboard #safetensors #t5 #text2text-generation #summarization #fr #license-apache-2.0 #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us 




# Fine-tuned FLAN-T5 large model for French Dialogue Summarization

This model is a fine-tuned version of google/flan-t5-large for French dialogue summarization.

## Usage

Inference with  Pipeline


# Fine-tuned FLAN-T5 large model for French Dialogue Summarization

This model is a fine-tuned version of google/flan-t5-large for French dialogue summarization. ## Usage

Inference with  Pipeline
TAGS
#transformers #pytorch #tensorboard #safetensors #t5 #text2text-generation #summarization #fr #license-apache-2.0 #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us 
 # Fine-tuned FLAN-T5 large model for French Dialogue Summarization

This model is a fine-tuned version of google/flan-t5-large for French dialogue summarization. ## Usage

Inference with  Pipeline
TAGS
#transformers #pytorch #tensorboard #safetensors #t5 #text2text-generation #summarization #fr #license-apache-2.0 #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us 
# Fine-tuned FLAN-T5 large model for French Dialogue Summarization

This model is a fine-tuned version of google/flan-t5-large for French dialogue summarization.## Usage

Inference with  Pipeline