prithivMLmods commited on
Commit
a9c2661
·
verified ·
1 Parent(s): 0690230

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -3
README.md CHANGED
@@ -1,3 +1,64 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ # Content-Articles Dataset
6
+
7
+ ## Overview
8
+ The Content-Articles dataset is a collection of academic articles and research papers across various subjects, including Computer Science, Physics, and Mathematics. This dataset is designed to facilitate research and analysis in these fields by providing structured data on article titles, abstracts, and subject classifications.
9
+
10
+ ## Dataset Details
11
+
12
+ ### Modalities
13
+ - **Tabular**: The dataset is structured in a tabular format.
14
+ - **Text**: Contains text data, including article titles and abstracts.
15
+
16
+ ### Formats
17
+ - **CSV**: The dataset is available in CSV format.
18
+
19
+ ### Size
20
+ - The dataset contains between 10,000 to 100,000 entries.
21
+
22
+ ### Libraries
23
+ - **Datasets**: The dataset is compatible with the Hugging Face Datasets library.
24
+ - **Pandas**: Can be easily loaded and manipulated using Pandas.
25
+ - **Croissant**: Additional support for Croissant format.
26
+
27
+ ## Dataset Structure
28
+
29
+ ### Columns
30
+ - **TITLE**: The title of the article.
31
+ - **ABSTRACT**: The abstract of the article.
32
+ - **Computer Science**: Binary indicator (1 or 0) for articles related to Computer Science.
33
+ - **Physics**: Binary indicator (1 or 0) for articles related to Physics.
34
+ - **Mathematics**: Binary indicator (1 or 0) for articles related to Mathematics.
35
+
36
+ ### Splits
37
+ - **train**: Contains 21,000 rows of training data.
38
+
39
+ ## Usage
40
+
41
+ ### Loading the Dataset
42
+ You can load the dataset using the Hugging Face Datasets library:
43
+
44
+ ```python
45
+ from datasets import load_dataset
46
+
47
+ dataset = load_dataset("prithivMLmods/Content-Articles")
48
+ ```
49
+
50
+ ### Example
51
+ Here’s an example of how to access the data:
52
+
53
+ ```python
54
+ import pandas as pd
55
+
56
+ # Load the dataset
57
+ dataset = load_dataset("prithivMLmods/Content-Articles")
58
+
59
+ # Convert to Pandas DataFrame
60
+ df = pd.DataFrame(dataset['train'])
61
+
62
+ # Display the first few rows
63
+ print(df.head())
64
+ ```