File size: 1,432 Bytes
66fa068
e8a1e3d
 
 
 
 
 
 
 
 
 
 
 
66fa068
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e8a1e3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
language:
- en
multilinguality:
- monolingual
size_categories:
- 1M<n<10M
task_categories:
- feature-extraction
- sentence-similarity
pretty_name: AGNews
tags:
- sentence-transformers
dataset_info:
  config_name: pair
  features:
  - name: title
    dtype: string
  - name: description
    dtype: string
  splits:
  - name: train
    num_bytes: 273864775
    num_examples: 1157745
  download_size: 203910268
  dataset_size: 273864775
configs:
- config_name: pair
  data_files:
  - split: train
    path: pair/train-*
---

# Dataset Card for AGNews

This dataset is a collection of title-description pairs collected from AGNews. See the [AG News corpus](http://groups.di.unipi.it/~gulli/AG_corpus_of_news_articles.html) for additional information.
This dataset can be used directly with Sentence Transformers to train embedding models.

## Dataset Subsets

### `pair` subset

* Columns: "title", "description"
* Column types: `str`, `str`
* Examples:
    ```python
    {
      'title': 'Helicopter Crashes in Colombian Drug War, Kills 20',
      'description': 'BOGOTA, Colombia  - A U.S.-made helicopter on an  anti-drugs mission crashed in the Colombian jungle on Thursday,  killing all 20 Colombian soldiers aboard, the army said.',
    }
    ```
* Collection strategy: Reading the AG News dataset from [embedding-training-data](https://huggingface.co/datasets/sentence-transformers/embedding-training-data).
* Deduplified: No