change datasets
Browse files- TACM12K/README.md +49 -32
- TLF2K/README.md +58 -23
- TLF2K/artists.csv +2 -2
- TML1M/README.md +66 -58
TACM12K/README.md
CHANGED
@@ -1,48 +1,65 @@
|
|
1 |
# TACM12K
|
2 |
|
3 |
-
|
4 |
|
5 |
-
|
6 |
|
7 |
-
|
8 |
|
9 |
-
|
10 |
|
11 |
-
|
12 |
-
1. Use the scholarly library in Python to accurately query the last two sentences of the original text.
|
13 |
-
2. Utilize the Tongyi Qianwen language model to extract the title from the original text.
|
14 |
-
3. Match the abstract in the Aminer dataset [tj2008Aminer] to obtain the title.
|
15 |
|
16 |
-
|
17 |
|
18 |
-
The
|
|
|
|
|
19 |
|
20 |
-
|
21 |
|
22 |
-
|
23 |
|
24 |
-
|
25 |
-
| :--------: | :----: | :--------: | :----: |
|
26 |
-
| KDD | 1061 | SOSP | 332 |
|
27 |
-
| SIGMOD | 1417 | SPAA | 473 |
|
28 |
-
| WWW | 1653 | SIGCOMM | 648 |
|
29 |
-
| SIGIR | 1572 | MobiCOMM | 322 |
|
30 |
-
| CIKM | 1724 | ICML | 456 |
|
31 |
-
| SODA | 662 | COLT | 83 |
|
32 |
-
| STOC | 1519 | VLDB | 577 |
|
33 |
|
34 |
-
|
35 |
|
36 |
-
-
|
37 |
-
- author.csv: It includes 17,431 authors, each with a unique identification of author_id, name, and firm or organization for which they work.
|
38 |
-
- cite.csv: A total of 30789 paper citation relationships are included, two of which are listed as paper_id and paper_id_cited, that is, the former cited the latter.
|
39 |
-
- paper_author.csv: It includes 37055 papers and author relationships, and each line is paper ID paper_id and author ID author_id. A paper may have multiple authors.
|
40 |
-
- masks.pt: The training set (280), verification set(500) and test set(1000) are divided. The training set selected 20 papers for each category. While the verification set and the test set meet the natural distribution law as much as possible, the balance adjustment is made so that the number of papers in the least category and the number of papers in the most category are not more than four times.
|
41 |
-
- paper_embeddings.npy: The paper information embedding was carried out using the "all-MiniLM-L6-v2" model.
|
42 |
-
- author_embeddings.npy: The author information embedding was carried out using the "all-MiniLM-L6-v2" model.
|
43 |
|
44 |
-
|
45 |
|
46 |
-
|
47 |
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# TACM12K
|
2 |
|
3 |
+
## Overview
|
4 |
|
5 |
+
**Table-ACM12K (TACM12K)** is a relational table dataset reorganized from the ACM heterogeneous graph dataset [1][2]. It comprises four tables: papers, authors, writings relationships, and citations relationships. The "papers" table and the "authors" table contain several key attributes related to papers and authors, respectively. The "writings" table captures the authorship relationships between authors and papers, while the "citations" table represents the citation relationships between papers. The new version contains 12,499 papers, 17,431 authors, 37,055 writings, and 37,055 citations.
|
6 |
|
7 |
+
## Data Processing
|
8 |
|
9 |
+
First, the "authors" table was constructed by extracting the original author IDs and names from the dataset. Subsequently, firm information for each author was incorporated using the "AvsF" matrix, leading to the complete formation of the "authors" table.
|
10 |
|
11 |
+
Next, the "papers" table was created by manually labeling the year information for each venue. Utilizing the "PvsV" matrix, the year attribute was successfully added to the entries in the "papers" table. During this process, a mislabeling issue was identified in the original data, where the STOC conference had been mistakenly labeled as COLT in the "PvsC" matrix. This error was corrected in the "VvsC" matrix, and a corrected "PvsC" matrix was generated by recalculating the product of the "PvsV" and "VvsC" matrices.
|
|
|
|
|
|
|
12 |
|
13 |
+
The original dataset contained concatenated text for each paper, combining the title and abstract. To clarify this structure and differentiate the title from the abstract, three methods of extraction were applied:
|
14 |
|
15 |
+
1. The scholarly library [3] in Python was used to query the last two sentences of the original text accurately.
|
16 |
+
2. The Tongyi Qianwen [4] large language model was employed to extract the title.
|
17 |
+
3. The abstract from the Aminer dataset [5] was matched with the original text to identify the title.
|
18 |
|
19 |
+
The results from these three methods were then compared. When two results matched, that version was accepted as the title. In instances where all three differed, the title was manually verified and supplemented.
|
20 |
|
21 |
+
Finally, the "writings" table was generated from the "PvsA" matrix in the original dataset, while the "citations" table was constructed using the "PvsP" matrix from the same source.
|
22 |
|
23 |
+
## Dataset Composition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
+
- **papers.csv**: This file contains 12,499 papers from 14 conferences across various years, with each row representing a unique paper identified by paper_id, along with its publication year, conference, title, and abstract.
|
26 |
|
27 |
+
- **authors.csv**: This file includes 17,431 authors, each identified by a unique author_id, along with their name and the firm or organization they are associated with.
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
+
- **citations.csv**: This file captures 30,789 citation relationships, where each entry consists of paper_id and paper_id_cited, indicating that the former cites the latter.
|
30 |
|
31 |
+
- **writings.csv**: This file documents 37,055 paper-author relationships, with each entry comprising a paper_id and an author_id, allowing for multiple authors per paper.
|
32 |
|
33 |
+
- **<span style="color: black;">masks.pt</span>**: This file divides the dataset into training (280), verification (500), and test (1,000) sets. The training set includes 20 papers from each category, while the verification and test sets are balanced to ensure that the number of papers in the least and most represented categories does not exceed a fourfold difference.
|
34 |
+
|
35 |
+
- **paper_embeddings.npy**: This file contains embeddings for paper information generated using the "all-MiniLM-L6-v2" model.
|
36 |
+
|
37 |
+
- **author_embeddings.npy**: This file holds embeddings for author information, also created with the "all-MiniLM-L6-v2" model.
|
38 |
+
|
39 |
+
## References
|
40 |
+
|
41 |
+
[1]. https://github.com/Jhy1993/HAN/tree/master/data/acm
|
42 |
+
|
43 |
+
[2]. Wang X, Ji H, Shi C, et al. Heterogeneous graph attention network[C]//The world wide web conference. 2019: 2022-2032.
|
44 |
+
|
45 |
+
[3]. Steven A. Cholewiak, Panos Ipeirotis, Victor Silva, and Arun Kannawadi. SCHOLARLY: Simple access to Google Scholar authors and citation using Python, 2021.
|
46 |
+
|
47 |
+
[4]. https://tongyi.aliyun.com/
|
48 |
+
|
49 |
+
[5]. Tang J, Zhang J, Yao L, et al. ArnetMiner: extraction and mining of academic social networks[C]//Proceedings of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining. 2008: 990-998.
|
50 |
+
|
51 |
+
## Citing
|
52 |
+
|
53 |
+
If you find this useful in your research, please cite our paper, thx:
|
54 |
+
|
55 |
+
```
|
56 |
+
@article{rllm2024,
|
57 |
+
title={rLLM: Relational Table Learning with LLMs},
|
58 |
+
author={Weichen Li and Xiaotong Huang and Jianwu Zheng and Zheng Wang and Chaokun Wang and Li Pan and Jianhua Li},
|
59 |
+
year={2024},
|
60 |
+
eprint={2407.20157},
|
61 |
+
archivePrefix={arXiv},
|
62 |
+
primaryClass={cs.AI},
|
63 |
+
url={https://arxiv.org/abs/2407.20157},
|
64 |
+
}
|
65 |
+
```
|
TLF2K/README.md
CHANGED
@@ -1,29 +1,64 @@
|
|
1 |
-
|
2 |
-
Description
|
3 |
-
-----------
|
4 |
|
5 |
-
|
6 |
|
7 |
-
The
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
*
|
21 |
-
*
|
22 |
-
*
|
23 |
-
*
|
24 |
-
*
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
hetrec2011-lastfm-2k
|
29 |
====================
|
|
|
1 |
+
# TLF2K
|
|
|
|
|
2 |
|
3 |
+
## Overview
|
4 |
|
5 |
+
**Table-LastFM2K (TLF2K)** extends the original Lastfm-2k dataset [1][2] with enriched artist data. It includes three tables: artists, user_artists, and user_friends. The "artists" table contains several key attributes related to artists, while the "user_artists" table captures the listening counts between specific users and artists. The "user_friends" table captures the friendships between specific users. This new version includes 9,047 artists, 80,009 user-artist relationships, and 12,717 user-friend relationships.
|
6 |
|
7 |
+
## Data Processing
|
8 |
+
|
9 |
+
First of all, since the original dataset was collected in 2011, only information on artists before 2011 from Last.fm was fetched to enrich the dataset.
|
10 |
+
|
11 |
+
Next, based on Wikipedia's classification of popular music [4], each artist was categorized into one of eleven types of music genres. In this labeling process, ChatGPT was employed to assign labels to each musician based on their respective tag lists. Human intervention was required when ChatGPT exhibited insufficient confidence.
|
12 |
+
|
13 |
+
Finally, artists not associated with the chosen eleven labels were removed, and the corresponding artists in the user_artists table were also eliminated. Additionally, the artist IDs were rearranged accordingly.
|
14 |
+
|
15 |
+
## Dataset Composition
|
16 |
+
|
17 |
+
- **artists.csv**: This file contains 9,047 artists, following the format outlined below: artistID, type, name, born, yearsActive, location, label, tagList, biography and url information.
|
18 |
+
* artistID: The identifier given in the original lastfm dataset.
|
19 |
+
* type: Used to indicate whether the artist is an individual (such as a singer, DJ, or composer) or a group (band, musical ensemble), left blank if indeterminate.
|
20 |
+
* name: The name of the artist.
|
21 |
+
* born: Only present for single-type artists, indicating the artist's birthdate.
|
22 |
+
* yearsActive: Only present for multiple-type artists, indicating the artist's years of activity.
|
23 |
+
* location: The birthplace or location of establishment of the artist.
|
24 |
+
* label: The artist's genre label ([Country, Electronic, Hip-Hop, Jazz, Latin, Pop, Punk, Reggae, Rock, Metal, Soul]), generated by ChatGPT along with manual identification.
|
25 |
+
* tagList: Retained to identify tags associated with the artist.
|
26 |
+
* biography: The artist's personal biography, collected from the final version of information predating 2011. The information contains line breaks represented as "\n".
|
27 |
+
* url: The artist's homepage on the last.fm website.
|
28 |
+
- **user_artists.csv**: This file includes 80,009 user_artists relationships, each row of data represents the number of times a certain user has listened to a specific artist, composed of userID, artistID and weight.
|
29 |
+
- **user_friends.csv**: This file contains 12,717 user_friends relationships, with each row representing a friendship between two users, composed of UserID and FriendID..
|
30 |
+
- **<span style="color: black;">masks.pt</span>**: This file divides the dataset into training (220), verification (500), and test (1,000) sets. The training set includes 20 artists for each tag label, while the verification and test sets are structured to align as closely as possible with the natural distribution of artists.
|
31 |
+
|
32 |
+
## References
|
33 |
+
|
34 |
+
[1]. GroupLens. (2013, September 6). The 2nd International Workshop on Information Heterogeneity and Fusion in Recommender Systems (HetRec 2011) datasets. https://grouplens.org/datasets/hetrec-2011/
|
35 |
+
|
36 |
+
[2]. Cantador, I., Brusilovsky, P., & Kuflik, T. (2011, October 23). In Proceedings of the fifth ACM conference on Recommender systems (pp. 387–388). Association for Computing Machinery. https://doi.org/10.1145/2043932.2044016
|
37 |
+
|
38 |
+
[3]. Last.fm. from https://www.last.fm/
|
39 |
+
|
40 |
+
[4]. Wikipedia. Music genre. from https://en.wikipedia.org/wiki/Music_genre
|
41 |
+
|
42 |
+
## Citing
|
43 |
+
|
44 |
+
If you find this useful in your research, please cite our paper, thx:
|
45 |
+
|
46 |
+
```
|
47 |
+
@article{rllm2024,
|
48 |
+
title={rLLM: Relational Table Learning with LLMs},
|
49 |
+
author={Weichen Li and Xiaotong Huang and Jianwu Zheng and Zheng Wang and Chaokun Wang and Li Pan and Jianhua Li},
|
50 |
+
year={2024},
|
51 |
+
eprint={2407.20157},
|
52 |
+
archivePrefix={arXiv},
|
53 |
+
primaryClass={cs.AI},
|
54 |
+
url={https://arxiv.org/abs/2407.20157},
|
55 |
+
}
|
56 |
+
```
|
57 |
+
|
58 |
+
|
59 |
+
---
|
60 |
+
|
61 |
+
### ---------- The Following is Movielens-1M's Original README ----------
|
62 |
|
63 |
hetrec2011-lastfm-2k
|
64 |
====================
|
TLF2K/artists.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fe4cf4d0c6212193a660793225eccaf4b14055283d7d9191df932dfe0f6fb12
|
3 |
+
size 25416582
|
TML1M/README.md
CHANGED
@@ -1,67 +1,75 @@
|
|
1 |
-
|
2 |
-
================================================================================
|
3 |
|
4 |
-
|
5 |
|
6 |
-
|
7 |
|
8 |
-
|
9 |
|
10 |
-
|
11 |
-
================================================================================
|
12 |
|
13 |
-
movies.csv follows the format outlined below:
|
14 |
-
MovielensID,Title,Year,Genre,Director,Cast,Runtime,Languages,Certificate,Plot,Url
|
15 |
-
|
16 |
-
- MovielensID: This is the movie's id on the movielens website, inherited from the original Movielens-1M dataset.
|
17 |
-
- Title: The title of the movie, sourced from the movielens website.
|
18 |
-
- Year: The release year of the movie, sourced from the movielens website.
|
19 |
-
- Genre: Movie genres, inherited from the original Movielens-1M dataset.
|
20 |
-
- Director: The director's name of the movie, sourced from the movielens website.
|
21 |
-
- Cast: The main cast of the movie, sourced from the movielens website.
|
22 |
-
- Runtime: The duration of the movie, sourced from the movielens website.
|
23 |
-
- Languages: Official language versions of the movie, sourced from the movielens website.
|
24 |
-
- Certificate: Movie certificate information, sourced from the movielens website.
|
25 |
-
- Plot: A brief summary of the movie's main plot, sourced from the movielens website.
|
26 |
-
- Url: The movie's URL on the movielens website.
|
27 |
-
|
28 |
-
SOME SPECIAL NOTES
|
29 |
-
================================================================================
|
30 |
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
SUMMARY
|
66 |
================================================================================
|
67 |
|
|
|
1 |
+
# TML1M
|
|
|
2 |
|
3 |
+
## Overview
|
4 |
|
5 |
+
**Table-Movielens1M (TML1M)** is a relational table dataset extends the original Movielens-1M dataset [1][2] with enriched movie data. It includes three tables: users, movies and ratings. The "users" and the "movies" contain several key attributes related to users and movies. The "ratings" captures the relationships between specific users and movies. This new version contains 6,040 users, 3,883 movies, and 1,000,209 ratings.
|
6 |
|
7 |
+
## Data Processing
|
8 |
|
9 |
+
The processing focused exclusively on the movies, extracting "time-invariant" metadata from each film. This metadata includes details such as the director, cast, running time, language, certification, plot, and URL, obtained by using the Movielens ID to access the corresponding movie page on movielens.org [3]. Afterward, the movie IDs were reordered to be consecutive for improved usability.
|
|
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
+
In addition to these adjustments, several discrepancies were identified:
|
13 |
+
- Movie with Movielens ID 2228 (MovieID 2160) is missing from Movielens, and data from IMDB was used as a substitute.
|
14 |
+
- Movie with Movielens IDs 1741 (MovieID 1691) and 1758 (MovieID 1706) are duplicates of 1795 (MovieID 1736) and 2563 (MovieID 2495), respectively.
|
15 |
+
|
16 |
+
## Dataset Composition
|
17 |
+
|
18 |
+
- **users.csv**: This file contains 6040 users, each user has UserID, Gender, Age, Occupation and Zip-code. Occupations are shown in numerical code form. Age is chosen from the following ranges:
|
19 |
+
* 1: "Under 18"
|
20 |
+
* 18: "18-24"
|
21 |
+
* 25: "25-34"
|
22 |
+
* 35: "35-44"
|
23 |
+
* 45: "45-49"
|
24 |
+
* 50: "50-55"
|
25 |
+
* 56: "56+"
|
26 |
+
|
27 |
+
- **movies.csv**: This file includes 3883 movies with MovieID, Title, Year, Genre, Director, Cast, Runtime, Languages, Certificate, Plot and Url information.
|
28 |
+
-
|
29 |
+
* MovieID: The unique identifier for each movie, organized in sequential order.
|
30 |
+
* Title: The title of the movie, sourced from the Movielens website.
|
31 |
+
* Year: The release year of the movie, obtained from the Movielens website.
|
32 |
+
* Genre: The genres of the movie, derived from the original Movielens-1M dataset, separated by vertical bars (“|”).
|
33 |
+
* Director: The name(s) of the director(s) of the movie, sourced from the Movielens website, listed in commas if there is more than one.
|
34 |
+
* Cast: The primary cast of the movie, obtained from the Movielens website, separated by commas.
|
35 |
+
* Runtime: The duration of the movie, sourced from the Movielens website.
|
36 |
+
* Languages: The official language versions of the movie, obtained from the Movielens website, separated by commas if there are multiple.
|
37 |
+
* Certificate: The movie certification information, sourced from the Movielens website.
|
38 |
+
* Plot: A brief summary of the movie's main plot, sourced from the Movielens website.
|
39 |
+
* URL: The URL of the movie on the Movielens website.
|
40 |
+
|
41 |
+
|
42 |
+
- **ratings.csv**: This file contains 1,000,209 ratings, each row of data represents a specific user's evaluation of a particular movie, composed of UserID, MovieID, Rating and Timestamp.
|
43 |
+
- **<span style="color: black;">masks.pt</span>**: This file divides the dataset into training (140), verification (500), and test (1,000) sets. The training set includes 20 users from each age group, while the verification and test sets are structured to align as closely as possible with the natural distribution of users.
|
44 |
+
- **embeddings.npy**: This file contains embeddings for movie information generated using the “all-MiniLM-L6-v2” model.
|
45 |
+
|
46 |
+
## References
|
47 |
+
[1]. GroupLens. (2015). MovieLens 1M dataset. Retrieved from https://grouplens.org/datasets/movielens/1m/
|
48 |
+
|
49 |
+
[2]. Harper, F. M., & Konstan, J. A. (2015). The MovieLens datasets: History and context. ACM Transactions on Interactive Intelligent Systems (TiiS), 5(4), Article 19. https://doi.org/10.1145/2827872
|
50 |
+
|
51 |
+
[3]. GroupLens. (2013). MovieLens. from https://movielens.org/
|
52 |
+
|
53 |
+
## Citing
|
54 |
+
|
55 |
+
If you find this useful in your research, please cite our paper, thx:
|
56 |
+
```
|
57 |
+
@article{rllm2024,
|
58 |
+
title={rLLM: Relational Table Learning with LLMs},
|
59 |
+
author={Weichen Li and Xiaotong Huang and Jianwu Zheng and Zheng Wang and Chaokun Wang and Li Pan and Jianhua Li},
|
60 |
+
year={2024},
|
61 |
+
eprint={2407.20157},
|
62 |
+
archivePrefix={arXiv},
|
63 |
+
primaryClass={cs.AI},
|
64 |
+
url={https://arxiv.org/abs/2407.20157},
|
65 |
+
}
|
66 |
+
```
|
67 |
+
|
68 |
+
|
69 |
+
---
|
70 |
+
|
71 |
+
### ---------- The Following is Movielens-1M's Original README ----------
|
72 |
+
|
73 |
SUMMARY
|
74 |
================================================================================
|
75 |
|