Dataset Viewer
Auto-converted to Parquet Duplicate
id
string
url
string
title
string
text
string
text_sentences
sequence
text_sentences_sonar_emb
sequence
10164749
https://en.wikipedia.org/wiki/Chequered%20Love
Chequered Love
"\"Chequered Love\" is the second single by British singer Kim Wilde. The song was released in the s(...TRUNCATED)
["\"Chequered Love\" is the second single by British singer Kim Wilde. The song was released in the (...TRUNCATED)
[[0.001666001626290381,6.180343007144984e-6,-0.005634205881506205,0.013570842333137989,0.00127845979(...TRUNCATED)
10164772
https://en.wikipedia.org/wiki/Deaths%20in%20March%202007
Deaths in March 2007
"The following is a list of notable deaths in March 2007.\n\nEntries for each day are listed alphabe(...TRUNCATED)
["The following is a list of notable deaths in March 2007.","Entries for each day are listed alphabe(...TRUNCATED)
[[-0.007263230625540018,-0.00009176853927783668,0.0069904569536447525,-0.002675955183804035,0.000453(...TRUNCATED)
10164775
https://en.wikipedia.org/wiki/Korso%20railway%20station
Korso railway station
"Korso railway station (; ) is a Helsinki commuter rail station located in the district of Korso in (...TRUNCATED)
["Korso railway station (; ) is a Helsinki commuter rail station located in the district of Korso in(...TRUNCATED)
[[0.006538456305861473,-0.010126510635018349,0.002667570486664772,0.008281497284770012,-0.0011035616(...TRUNCATED)
10164778
https://en.wikipedia.org/wiki/Tan%20Chui%20Mui
Tan Chui Mui
"Tan Chui Mui (, born 1978) is a Malaysian filmmaker, film producer and director.\n\nBackground \nTa(...TRUNCATED)
["Tan Chui Mui (, born 1978) is a Malaysian filmmaker, film producer and director.","Background","Ta(...TRUNCATED)
[[-0.005667507648468018,0.0035097443033009768,0.011733812279999256,0.011786267161369324,-0.002346384(...TRUNCATED)
10164799
https://en.wikipedia.org/wiki/Back%20to%20God%27s%20Country%20%281919%20film%29
Back to God's Country (1919 film)
"Back to God's Country is a 1919 Canadian drama film directed by David Hartford. It is one of the ea(...TRUNCATED)
["Back to God's Country is a 1919 Canadian drama film directed by David Hartford. It is one of the e(...TRUNCATED)
[[-0.006187810096889734,-0.0009932589018717408,0.0017282444750890136,0.006176143418997526,0.01118879(...TRUNCATED)
10164816
https://en.wikipedia.org/wiki/Harry%20Mackeson
Harry Mackeson
"Sir Harry Ripley Mackeson, 1st Baronet (25 May 1905 – 25 January 1964) was a British soldier and (...TRUNCATED)
["Sir Harry Ripley Mackeson, 1st Baronet (25 May 1905 – 25 January 1964) was a British soldier and(...TRUNCATED)
[[-0.00865756906569004,-0.003511614864692092,-0.01092489529401064,0.00809144601225853,-0.01361513230(...TRUNCATED)
10164819
https://en.wikipedia.org/wiki/Amphiareion%20of%20Oropos
Amphiareion of Oropos
"The Amphiareion of Oropos (), situated in the hills 6 km southeast of the fortified port of Oropos(...TRUNCATED)
["The Amphiareion of Oropos (), situated in the hills 6 km southeast of the fortified port of Oropo(...TRUNCATED)
[[-0.006669361609965563,0.010405180975794792,-0.005138997454196215,-0.008839799091219902,-0.01113438(...TRUNCATED)
10164824
https://en.wikipedia.org/wiki/Steve%20Swindells
Steve Swindells
"Steve Swindells (born 21 November 1952) is an English singer-songwriter, keyboardist, party organiz(...TRUNCATED)
["Steve Swindells (born 21 November 1952) is an English singer-songwriter, keyboardist, party organi(...TRUNCATED)
[[0.016203662380576134,-0.012301941402256489,0.0020668692886829376,0.021766282618045807,0.0015548616(...TRUNCATED)
10164858
https://en.wikipedia.org/wiki/Frankie%20Donnelly
Frankie Donnelly
"Frankie Donnelly was a Gaelic footballer, who was part of Tyrone's breakthrough era in the mid-fift(...TRUNCATED)
["Frankie Donnelly was a Gaelic footballer, who was part of Tyrone's breakthrough era in the mid-fif(...TRUNCATED)
[[-0.002258248394355178,-0.005592670291662216,0.0034535706508904696,-0.0021824471186846495,0.0158735(...TRUNCATED)
10164861
https://en.wikipedia.org/wiki/Anne%20Gibson%2C%20Baroness%20Gibson%20of%20Market%20Rasen
Anne Gibson, Baroness Gibson of Market Rasen
"Anne Gibson, Baroness Gibson of Market Rasen, (née Tasker; 10 December 1940 – 20 April 2018) wa(...TRUNCATED)
["Anne Gibson, Baroness Gibson of Market","Rasen, (née Tasker; 10 December 1940 – 20 April 2018)(...TRUNCATED)
[[-0.012498145923018456,-0.00059887720271945,0.006070466246455908,-0.0011136254761368036,0.018376277(...TRUNCATED)
End of preview. Expand in Data Studio

LexaLCM Datasets

This repository contains the datasets used for training the LexaLCM model. Datasets contain at least the following columns that are expected by the LexaLCM model:

  • text_sentences: The text of the document.
  • text_sentences_sonar_emb: The sonar embedding of the text, which is a list of 1024-dimensional vectors.

Datasets

Requirements

  • Python 3.10
  • UV (https://docs.astral.sh/uv/)... if you haven't tried it yet, you should! UV is a modern Python package manager that is faster and more secure than pip.

Usage

Stochastically split the dataset into train and val (if needed)

If you want to add additional datasets, but continue to use the same train and val split, you can use the following script.

uv run src/Scripts/Split_TrainVal.py

where:

  • -n is the name of the dataset
  • -d is the path to the directory with the dataset
  • -s is the split ratio for the dataset

For example:

uv run src/Scripts/Split_TrainVal.py -n Wikipedia_Ja -d ./src/Some/Other/Path -s 0.15

Verify the embeddings

uv run src/Scripts/VerifyEmbeddings.py

where:

  • -d is the path to the directory with the dataset

For example:

uv run src/Scripts/VerifyEmbeddings.py -d ./src/Datasets/Wikipedia_Ja/Train

Visualize the dataset

uv run src/Scripts/VisualizeDataset.py

where:

  • -d is the path to the directory with the dataset
  • -s is the flag to use a sample of the dataset for faster processing (10% of the dataset)
  • -b is the batch size for the dataset

For example:

uv run src/Scripts/VisualizeDataset.py -d ./src/Datasets/Wikipedia_Ja/Train
Downloads last month
619

Models trained or fine-tuned on Lexa-B/LexaLCM_Datasets