File size: 978 Bytes
139caf3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
library_name: custom
tags:
  - faker
  - data-generation
  - json
pipeline_tag: text-generation
---

# Fake News Network Data Generator

This model generates fake data for a news network, including nodes (news articles) and links (relationships between articles). It's designed to create realistic-looking data for testing, development, or demonstration purposes.

## Model Description

The model uses the Faker library to generate random but realistic-looking data for a network of news articles. It creates a specified number of nodes (articles) and links (relationships between articles), with various attributes such as headlines, topics, emotions, dates, and sentiments.

### Input

The model accepts a JSON input with the following optional parameters:

- `num_nodes`: The number of news article nodes to generate (default: 10)
- `num_links`: The number of links between articles to generate (default: 5)

Example input:
```json
{
  "num_nodes": 15,
  "num_links": 8
}