Skip to content

Instantly share code, notes, and snippets.

@Waflon
Last active January 19, 2024 15:14
Show Gist options
  • Save Waflon/b8bdbf7301a1d736d38ba181aa0fc130 to your computer and use it in GitHub Desktop.
Save Waflon/b8bdbf7301a1d736d38ba181aa0fc130 to your computer and use it in GitHub Desktop.

Revisions

  1. Waflon renamed this gist Jan 19, 2024. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. Waflon created this gist Jan 19, 2024.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    import pandas as pd
    from datasets import load_dataset

    dataset = load_dataset('Waflon/FAQ', split="train") # Loading the SQuAD dataset from huggingface.
    df = pd.DataFrame(dataset)