Datasets:
The dataset viewer is not available for this dataset.
Error code: JWTInvalidSignature
Exception: InvalidSignatureError
Message: Signature verification failed
Traceback: Traceback (most recent call last):
File "/src/libs/libapi/src/libapi/jwt_token.py", line 286, in validate_jwt
decoded = jwt.decode(
jwt=token,
...<2 lines>...
options=options,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 368, in decode
decoded = self.decode_complete(
jwt,
...<8 lines>...
leeway=leeway,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 265, in decode_complete
decoded = self._jws.decode_complete(
jwt,
...<3 lines>...
detached_payload=detached_payload,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 270, in decode_complete
self._verify_signature(
~~~~~~~~~~~~~~~~~~~~~~^
signing_input,
^^^^^^^^^^^^^^
...<4 lines>...
options=merged_options,
^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 417, in _verify_signature
raise InvalidSignatureError("Signature verification failed")
jwt.exceptions.InvalidSignatureError: Signature verification failedNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
OPUS Spanish Monologues
A dataset that captures monologues from the Spanish Open Subtitles Project dump and undergoes light cleaning. Monologues retained
in this dataset are intances in the raw .txt dump where a single speaker is uninterrupted for more than 100 words. The dataset consists of monologues from the 2013, 2016,
and 2018 OPUS Spanish monolingual datasets.
Quick Dataset Facts
- Contains 1,481 documents
- Each document averages ~241.2 words
- The dataset contains a total of 357,244 words
Intended Use Case
This dataset is intended to be used as part of a Continued Pretraining corpus for exposing a base LLM to informal and conversational Spanish.
Dataset Map
The dataset is a parquet file consisting of columns with the main content for Continued Pretraining and associated metadata.
content: The cleaned monologue text data.document_ref: A concatenated string stating where the document emerged from, for example:opus-es-2016-line-16tells us the document originated from the 2016 OPUS dump, and began on line 16.metadata: A dictionary with three keys:family,source_file, andyear.familyis the general OPUS family (since all the data was sourced from OPUS ES monolingual dumps this remains the same throughout this dataset).source_filestates which OPUS file the document originated from. Finally,yearlinks the document to the associated OPUS dataset for that year.line_id: The line number in the original OPUS text file the monologue begins on.file_name: The name of the file the document originated from.word_count: How many Spanish words exist in the document.language: An artificat appended by the language identification step by the fasttext model. The first value is the confidence of the model, and the second value is the associated language code (ES)._curator_dedup_id&__index_level_0__: Artifiacts appended by the NeMo Curator Deduplication process.
Dataset Creation
Download & Extract
First all 3 datasets are downloaded from the Open Subtitles Project dump. Then, the files are split on speaker
turns which are indicated by a - in the raw .txt file.
Cleaning
The resulting data is then lightly cleaned. Regex filters are implemented to remove square brackets ([]), timestamps, embedded timestamps, html tags and elements. Whitespace
normalizaton is also applied.
Next, monologues are filtered for by only retaining documents that consist of 100 Spanish words or more.
Finally, each document passes through a language identification filter, with each document needing to obtain a minimum langid score of 0.7 from the fasttext model.
Deduplication
Fuzzy deduplication (MinHash/LSH) is used to identify and remove duplicate documents. Due to combining multiple OPUS drops of the same language from different years we do this to ensure each document is truly unique, providing an equally weighted dataset for all documents.
GitHub
This dataset is the result of a NeMo Curator pipeline. The full code of the pipeline that reproduces this dataset can be found here.
Acknowledgements
Raw data is provided by the OpenSubtitles Project, thank you!
- Downloads last month
- 43