oliverguhr's picture
code style fixed
85a1ef5 verified
metadata
license: cc-by-sa-3.0
language:
  - fr
  - en
tags:
  - sentence-transformers
pretty_name: Natural Questions (French)
task_categories:
  - feature-extraction
  - sentence-similarity
size_categories:
  - 100K<n<1M
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
dataset_info:
  features:
    - name: query
      dtype: string
    - name: answer
      dtype: string
    - name: query_fr
      dtype: string
    - name: answer_fr
      dtype: string
  splits:
    - name: train
      num_bytes: 145115047
      num_examples: 100231
  download_size: 93338277
  dataset_size: 145115047

Natural Questions (French)

This dataset is a French-translated version of the original Natural Questions question-answer dataset by Google. It has been translated from English into French and extended with additional columns to include both the original and the translated content.

This dataset can be used directly with Sentence Transformers to train multilingual embedding models or to fine-tune models on French QA tasks.

Dataset Structure

  • Columns:

    • "query": Original English question
    • "answer": Original English answer passage
    • "question_fr": Translated French question
    • "answer_fr": Translated French answer passage
  • Column types: all str

  • Example:

    python
    {
      'query': 'the si unit of the electric field is',
      'answer': 'Electric field An electric field is a field that surrounds electric charges...',
      'question_fr': 'Quelle est l\'unité SI du champ électrique ?',
      'answer_fr': 'Champ électrique Un champ électrique est un champ qui entoure les charges électriques...'
    }

Collection Strategy

This dataset is based on the pair subset from the embedding-training-data collection. The French translations were generated automatically and have not been manually verified. Use with caution in high-stakes applications.

Use Cases

The dataset is ideal for:

  • Training or evaluating multilingual embedding models
  • Cross-lingual retrieval and similarity tasks
  • Question answering and sentence similarity in French

Licensing and Attribution

The dataset is based on content from the Natural Questions dataset by Google, translated under fair use. Please cite the original Natural Questions dataset in any work using this resource.