Dataset Viewer
Auto-converted to Parquet Duplicate
document_id
int64
0
249
page_heading
stringlengths
5
79
article_title
stringlengths
5
60
wikipedia_url
stringlengths
35
58
page
stringlengths
27
85.4k
0
Valkyria Chronicles III
Valkyria Chronicles III
https://en.wikipedia.org/?curid=28842499
= Valkyria Chronicles III = Senjō no Valkyria 3 : Unrecorded Chronicles ( Japanese : 戦場のヴァルキュリア3 , lit . Valkyria of the Battlefield 3 ) , commonly referred to as Valkyria Chronicles III outside Japan , is a tactical role @-@ playing video game developed by Sega and Media.Vision for the PlayStation Portable . Rele...
1
Tower Building of the Little Rock Arsenal
Tower Building of the Little Rock Arsenal
https://en.wikipedia.org/?curid=1216380
= Tower Building of the Little Rock Arsenal = The Tower Building of the Little Rock Arsenal , also known as U.S. Arsenal Building , is a building located in MacArthur Park in downtown Little Rock , Arkansas . Built in 1840 , it was part of Little Rock 's first military installation . Since its decommissioning , Th...
2
Cicely Mary Barker
Cicely Mary Barker
https://en.wikipedia.org/?curid=65100
= Cicely Mary Barker = Cicely Mary Barker ( 28 June 1895 – 16 February 1973 ) was an English illustrator best known for a series of fantasy illustrations depicting fairies and flowers . Barker 's art education began in girlhood with correspondence courses and instruction at the Croydon School of Art . Her earliest...
3
Gambia women's national football team
Gambia women's national football team
https://en.wikipedia.org/?curid=35478573
= Gambia women 's national football team = The Gambia women 's national football team represents the Gambia in international football competition . The team , however , has not competed in a match recognised by FIFA , the sport 's international governing body , despite that organised women 's football has been pla...
4
Plain maskray
Plain maskray
https://en.wikipedia.org/?curid=12598921
= Plain maskray = The plain maskray or brown stingray ( Neotrygon annotata ) is a species of stingray in the family Dasyatidae . It is found in shallow , soft @-@ bottomed habitats off northern Australia . Reaching 24 cm ( 9 @.@ 4 in ) in width , this species has a diamond @-@ shaped , grayish green pectoral fin d...
5
2011 – 12 Columbus Blue Jackets season
2011 – 12 Columbus Blue Jackets season
https://en.wikipedia.org/?curid=30932513
= 2011 – 12 Columbus Blue Jackets season = The 2011 – 12 Columbus Blue Jackets season was the team 's 12th season in the National Hockey League ( NHL ) . The Blue Jackets ' record of 29 – 46 – 7 [ note 1 ] was the worst record in the NHL for 2011 – 12 and the first time in franchise history they finished in last p...
6
Position; GP
2011 – 12 Columbus Blue Jackets season
https://en.wikipedia.org/?curid=30932513
= Position ; GP = Games played in ; G
7
Goals; A
2011 – 12 Columbus Blue Jackets season
https://en.wikipedia.org/?curid=30932513
= Goals ; A = Assists ; Pts
8
Points; PIM
2011 – 12 Columbus Blue Jackets season
https://en.wikipedia.org/?curid=30932513
= Points ; PIM = Penalty minutes ; + / - = Plus / minus = = = Goaltenders = = = Note : GP
9
Games Played; TOI
2011 – 12 Columbus Blue Jackets season
https://en.wikipedia.org/?curid=30932513
= Games Played ; TOI = Time On Ice ( minutes ) ; W
10
Wins; L
2011 – 12 Columbus Blue Jackets season
https://en.wikipedia.org/?curid=30932513
= Wins ; L = Losses ; OT
11
Overtime Losses; GA
2011 – 12 Columbus Blue Jackets season
https://en.wikipedia.org/?curid=30932513
= Overtime Losses ; GA = Goals Against ; GAA = Goals Against Average ; SA = Shots Against ; SV
12
Saves; Sv %
2011 – 12 Columbus Blue Jackets season
https://en.wikipedia.org/?curid=30932513
= Saves ; Sv % = Save Percentage ; SO = Shutouts † Denotes player spent time with another team before joining Blue Jackets . Stats reflect time with the Blue Jackets only . ‡ Traded mid @-@ season = = Milestones = = When Mason was injured in warm @-@ ups late in the year , Columbus was without an active go...
13
Gregorian Tower
Gregorian Tower
https://en.wikipedia.org/?curid=39334892
= Gregorian Tower = The Gregorian Tower ( Italian : Torre Gregoriana ) or Tower of the Winds ( Italian : Torre dei Venti ) is a round tower located above the Gallery of Maps , which connects the Villa Belvedere with the Apostolic Palace in Vatican City . The tower was built between 1578 and 1580 to a design by the...
14
There's Got to Be a Way
There's Got to Be a Way
https://en.wikipedia.org/?curid=1826936
= There 's Got to Be a Way = " There 's Got to Be a Way " is a song by American singer and songwriter Mariah Carey from her self @-@ titled debut studio album ( 1990 ) . Columbia released it as the fifth and final single from the album in the United Kingdom . It was one of four songs Carey wrote with Ric Wake duri...
15
Nebraska Highway 88
Nebraska Highway 88
https://en.wikipedia.org/?curid=16756381
= Nebraska Highway 88 = Nebraska Highway 88 ( N @-@ 88 ) is a highway in northwestern Nebraska . It has a western terminus at Wyoming Highway 151 ( WYO 151 ) at the Wyoming – Nebraska state line . The road travels eastward to N @-@ 71 , where it turns south . N @-@ 88 continues east to south of Bridgeport . The ro...
16
USS Atlanta (1861)
USS Atlanta (1861)
https://en.wikipedia.org/?curid=914151
= USS Atlanta ( 1861 ) = Atlanta was a casemate ironclad that served in the Confederate and Union Navies during the American Civil War . She was converted from a Scottish @-@ built blockade runner named Fingal by the Confederacy after she made one run to Savannah , Georgia . After several failed attempts to attack...
17
Jacqueline Fernandez
Jacqueline Fernandez
https://en.wikipedia.org/?curid=10094963
= Jacqueline Fernandez = Jacqueline Fernandez ( born 11 August 1985 ) is a Sri Lankan actress , former model , and the winner of the 2006 Miss Universe Sri Lanka pageant . As Miss Universe Sri Lanka she represented her country at the 2006 world Miss Universe pageant . She graduated with a degree in mass communicat...
18
John Cullen
John Cullen
https://en.wikipedia.org/?curid=3976320
= John Cullen = Barry John Cullen ( born August 2 , 1964 ) is a Canadian former professional ice hockey centre who played in the National Hockey League ( NHL ) for the Pittsburgh Penguins , Hartford Whalers , Toronto Maple Leafs and Tampa Bay Lightning . He was a standout player for Boston University and is the sc...
19
SMS Erzherzog Ferdinand Max
SMS Erzherzog Ferdinand Max
https://en.wikipedia.org/?curid=82361277
= SMS Erzherzog Ferdinand Max = For the ironclad present at the Battle of Lissa of the same name , see SMS Erzherzog Ferdinand Max ( 1865 ) . SMS Erzherzog Ferdinand Max ( German : " His Majesty 's ship Archduke Ferdinand Max " ) was a pre @-@ dreadnought battleship built by the Austro @-@ Hungarian Navy in 1902...
End of preview. Expand in Data Studio

WikiText Document Level in Lance

Search the English Wikipedia pages in EleutherAI’s document-level WikiText. The release preserves every source page string, including its whitespace and vocabulary markers, in its original order, configuration, and split.

Data and splits

Configuration Train Validation Test
wikitext-103-raw-v1 29,444 60 62
wikitext-103-v1 29,444 60 62
wikitext-2-raw-v1 629 60 62
wikitext-2-v1 629 60 62

The native Lance tables in data/<configuration>/<split>.lance store all 60,634 document records. Hugging Face Data Studio uses Parquet previews with up to 250 original documents per split. Open the preview · Conversion manifest and checksums

document_id is the zero-based row number within a split. page_heading is the normalized heading at the beginning of the source page. The source loader sometimes splits an article into several documents when its content resembles a top-level heading. In these cases article_title and the Wikipedia links identify the original article that contains the fragment. source_row_start points to the corresponding starting line in the line-level WikiText Lance dataset.

Search in Python

We generated one 256-dimensional, L2-normalized float32 embedding for each document. The encoder input is its normalized heading and the first 300 words before the next section heading. For an article fragment, input also includes its containing article title. Common WikiText punctuation markers are normalized for retrieval. Search uses cosine distance and prints cosine similarity, where higher scores indicate closer matches. Pinned English retrieval encoder

pip install pylance==14.0.3 sentence-transformers==6.3.0
import lance
from sentence_transformers import SentenceTransformer

encoder = SentenceTransformer(
    "sentence-transformers/static-retrieval-mrl-en-v1",
    revision="f60985c706f192d45d218078e49e5a8b6f15283a",
    truncate_dim=256,
    device="cpu",
)
vector = encoder.encode_query(
    "What are the habitat and distinctive claws of the European lobster?",
    normalize_embeddings=True,
)
repo = "hf://datasets/lance-format/wikitext-document-level-lance"
pages = lance.dataset(f"{repo}/data/wikitext-103-raw-v1/validation.lance")
hits = pages.to_table(
    columns=["document_id", "page_heading", "article_title", "wikipedia_url", "_distance"],
    nearest={"column": "embedding", "q": vector, "k": 5, "metric": "cosine"},
).to_pylist()

for hit in hits:
    score = 1.0 - hit["_distance"]
    print(f"{score:.4f}  {hit['document_id']}  {hit['page_heading']}  {hit['wikipedia_url']}")

License and attribution

The source card credits the WikiText collection to Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher and records contributions by the EleutherAI and Hugging Face maintainers. Its metadata declares CC BY-SA 3.0 and its license section identifies CC BY-SA 4.0. This adaptation uses the Creative Commons share-alike permission and applies CC BY-SA 4.0 to its additions. We preserve the source card and archived document parser, and credit Wikipedia contributors through the article and edit-history links alongside each document. The conversion adds Lance storage, attribution fields, retrieval vectors, and Parquet previews. Original source card · WikiText paper · CC BY-SA 3.0 · CC BY-SA 4.0 terms

Downloads last month
119

Paper for lance-format/wikitext-document-level-lance