| | --- |
| | 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 |
| | } |