Improve dataset card metadata and formatting

#3
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +22 -4
README.md CHANGED
@@ -1,7 +1,24 @@
 
 
 
 
 
 
 
 
 
1
 
2
- For the bAbI as used in [Scaling Data-Constrained Language Models](https://arxiv.org/abs/2305.16264) use commit e332ae8a626bb17178026dd14797abb9da31376e
3
 
4
- Creation (Copied & adapted from https://github.com/stanford-crfm/helm/blob/0eaaa62a2263ddb94e9850ee629423b010f57e4a/src/helm/benchmark/scenarios/babi_qa_scenario.py):
 
 
 
 
 
 
 
 
5
 
6
  ```python
7
  !wget http://www.thespermwhale.com/jaseweston/babi/tasks_1-20_v1-2.tar.gz
@@ -45,9 +62,10 @@ for split in splits:
45
  "question": question,
46
  "answer": answer,
47
  "task": task,
48
- }) + "\n")
 
49
  if "?" in story:
50
  print("STORY", "".join(story))
51
  else:
52
  story.append(fact)
53
- ```
 
1
+ ---
2
+ task_categories:
3
+ - text-generation
4
+ tags:
5
+ - question-answering
6
+ - language-modeling
7
+ - benchmark
8
+ - babi
9
+ ---
10
 
11
+ # Dataset Card for bAbI
12
 
13
+ This repository contains the bAbI dataset, as used in the paper:
14
+
15
+ [**Scaling Data-Constrained Language Models**](https://arxiv.org/abs/2305.16264)
16
+
17
+ The bAbI dataset is a set of 20 tasks designed to test the capabilities of text understanding and reasoning systems. Each task focuses on a different aspect of language understanding. For the specific version of bAbI used in the paper, please refer to commit `e332ae8a626bb17178026dd14797abb9da31376e`.
18
+
19
+ ## Creation / Sample Usage
20
+
21
+ The data can be processed and prepared using the following Python code (copied & adapted from https://github.com/stanford-crfm/helm/blob/0eaaa62a2263ddb94e9850ee629423b010f57e4a/src/helm/benchmark/scenarios/babi_qa_scenario.py):
22
 
23
  ```python
24
  !wget http://www.thespermwhale.com/jaseweston/babi/tasks_1-20_v1-2.tar.gz
 
62
  "question": question,
63
  "answer": answer,
64
  "task": task,
65
+ }) + "
66
+ ")
67
  if "?" in story:
68
  print("STORY", "".join(story))
69
  else:
70
  story.append(fact)
71
+ ```