kelechi commited on
Commit
2f32017
1 Parent(s): 7312548

updated dataset card

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. afriberta.py +2 -2
README.md CHANGED
@@ -62,12 +62,12 @@ Afaan Oromoo (also called Oromo), Amharic, Gahuza (a mixed language containing K
62
  ### Loading Dataset
63
  An example to load the train split of the Somali corpus:
64
  ```
65
- dataset = load_dataset("castorini/afriberta", "somali", split="train")
66
  ```
67
 
68
  An example to load the test split of the Pidgin corpus:
69
  ```
70
- dataset = load_dataset("castorini/afriberta", "pidgin", split="test")
71
  ```
72
 
73
  ## Dataset Structure
 
62
  ### Loading Dataset
63
  An example to load the train split of the Somali corpus:
64
  ```
65
+ dataset = load_dataset("castorini/afriberta-corpus", "somali", split="train")
66
  ```
67
 
68
  An example to load the test split of the Pidgin corpus:
69
  ```
70
+ dataset = load_dataset("castorini/afriberta-corpus", "pidgin", split="test")
71
  ```
72
 
73
  ## Dataset Structure
afriberta.py CHANGED
@@ -52,8 +52,8 @@ _LANGUAGES = [
52
 
53
  _DATASET_URLS = {
54
  language: {
55
- "train": f"https://huggingface.co/datasets/castorini/afriberta/resolve/main/{language}/train.zip",
56
- "test": f"https://huggingface.co/datasets/castorini/afriberta/resolve/main/{language}/eval.zip",
57
  } for language in _LANGUAGES
58
  }
59
 
 
52
 
53
  _DATASET_URLS = {
54
  language: {
55
+ "train": f"https://huggingface.co/datasets/castorini/afriberta-corpus/resolve/main/{language}/train.zip",
56
+ "test": f"https://huggingface.co/datasets/castorini/afriberta-corpus/resolve/main/{language}/eval.zip",
57
  } for language in _LANGUAGES
58
  }
59