Moroccan Press Dataset & Books
Collection
The Moroccan Press Dataset is a collection of news articles gathered from various Moroccan press and media sources. The dataset contains article metad β’ 9 items β’ Updated
Error code: ConfigNamesError
Exception: AttributeError
Message: 'str' object has no attribute 'items'
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 67, in compute_config_names_response
config_names = get_dataset_config_names(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
dataset_module = dataset_module_factory(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1217, in dataset_module_factory
raise e1 from None
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1192, in dataset_module_factory
).get_module()
^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 700, in get_module
config_name: DatasetInfo.from_dict(dataset_info_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/info.py", line 284, in from_dict
return cls(**{k: v for k, v in dataset_info_dict.items() if k in field_names})
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'items'Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Complete dataset of conversations from Fikran, an Arabic social platform focused on AI and intellectual discussions.
The dataset is provided in JSONL format, with one JSON object per line.
fikran-dataset/
βββ README.md # This file
βββ data/
β βββ train.jsonl # Training data (300 samples)
β βββ test.jsonl # Test data (73 samples)
β βββ blogs.jsonl # All blog posts (373 samples)
βββ dataset_infos.json # Dataset metadata
Each conversation/post contains:
| Field | Type | Description |
|---|---|---|
id |
string | Unique conversation identifier |
platform |
string | Platform name ("fikran") |
type |
string | Content type ("blog") |
title |
string | Post title |
content |
string | Full post content |
url |
string | Original post URL |
language |
string | Content language ("ar", "en") |
author |
object | Author information |
author.username |
string | Author username |
author.display_name |
string | Author display name |
author.profile_url |
string | Author profile URL |
timestamp |
string | Publication timestamp |
category |
object | Category information |
tags |
list | Hashtags |
stats |
object | Engagement statistics |
stats.views |
integer | View count |
stats.likes |
integer | Like count |
stats.reactions |
object | Reaction counts by type |
comments |
list | Comment threads |
The dataset includes the following splits:
| Split | Samples | Description |
|---|---|---|
| train | 300 | Training data (first 300 posts) |
| test | 73 | Test data (last 73 posts) |
| blogs | 373 | All blog posts (no split) |
from datasets import load_dataset
# Load all data
dataset = load_dataset("OiQ/fikran-dataset")
# Load specific split
train_data = load_dataset("OiQ/fikran-dataset", split="train")
test_data = load_dataset("OiQ/fikran-dataset", split="test")
# Access data
for example in dataset["train"]:
print(f"Title: {example['title']}")
print(f"Content: {example['content']}")
print(f"Author: {example['author']['username']}")
import pandas as pd
# Read JSONL file
df = pd.read_json('data/blogs.jsonl', lines=True)
# Basic statistics
print(f"Total posts: {len(df)}")
print(f"Columns: {df.columns.tolist()}")
# Filter by category
tech_posts = df[df['category'].apply(lambda x: x.get('name', '') == 'technology')]
# Analyze engagement
print(f"Average likes: {df['stats'].apply(lambda x: x.get('likes', 0)).mean()}")
This dataset is suitable for:
If you use this dataset, please cite:
@dataset{fikran_conversations_2026,
author = {Ouail LAAMIRI},
title = {Fikran Conversations Dataset},
year = {2026},
month = {February},
note = {Complete dataset of conversations from fikran.com, scraped in February 2026}
}
This dataset is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).
Summary:
For questions or issues about this dataset:
Dataset Version: 1.0.0 Last Updated: 2026-02-22