Downloads · 30 days
0
songhai2022/first-demo
first-demo is a text generation model from songhai2022. Use it when you need the model to write or continue text. It is set up for custom.
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…
Downloads · 30 days
0
Access
Public
Updated Oct 25, 2024
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py1.8 KB · 42%
From the Hugging Face model README
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.
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.
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:
{
"num_nodes": 15,
"num_links": 8
}