Skip to content

Conversation

weezymatt
Copy link
Contributor

@weezymatt weezymatt commented Jul 18, 2025

What does this PR do?

Translates audio_classification.md from English to Spanish.

#28936

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@stevhliu

cc: @tadeodonegana @gisturiz

Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your translation! As a reminder, you'll need to find a Spanish reader to verify your translation because I can't read Spanish 🤗

* Remove space
* Normalize backticks
@weezymatt
Copy link
Contributor Author

@stevhliu Do you have a suggestion for finding Spanish readers? I cc'd the most active Spanish readers from previous translations but there hasn't been much activity the past year. 😄

@stevhliu
Copy link
Member

Maybe @aaronjimv can help as he has done several excellent Spanish translations in the past!

@weezymatt
Copy link
Contributor Author

weezymatt commented Jul 23, 2025

Thanks for the tip! I'll might retag some folks if I haven't found a reviewer.

I also left a message on Discord with the SomosNLP community asking Spanish speakers to help review the translation. 😄

@aaronjimv
Copy link
Contributor

Hello everyone, it's been a while. Greetings to all.

This is a good translation. I've made some minor corrections in the following lines:

23: ... incluye identificar la intención del hablante,

43: ... para que puedas subir tu modelo y compartirlo con la comunidad.

61: ... y asegúrate de que todo funcione antes de invertir ...

83:... en esta guía nos enfocaremos en los campos ...

102: audio: un array (arreglo) unidimensional de la señal de voz que se obtiene al cargar y volver a muestrear el archivo de audio.

105: ... el nombre de la etiqueta a un número entero ...

115: ... de la etiqueta a un nombre de etiqueta:

124: ... para procesar la señal de audio:

132: ... tasa de muestreo de 8kHz ... lo que significa que tendrás que volver a muestrear el dataset a 16kHZ para poder usar el modelo Wav2Vec2 preentrenado:

144: Ahora vamos a crear una función de preprocesamiento:

146: ... volver a muestrear al archivo de audio.

147: Comprueba si la frecuencia de muestreo del archivo de audio coincide con la frecuencia de muestreo de los datos de audio con los que se entrenó previamente el modelo.

148: Establece una longitud de entrada máxima para agrupar entradas más largas sin truncarlas.

212: ...junto con el modelo, el dataset, el tokenizer, el data collator y la función compute_metrics.

[data collator se traduciria como 'recopilador de datos' pero pienso que es mejor dejarlo en ingles]

262: ... Recuerda volver a muestrear la tasa ...

That would be all, thanks for continuing the translations.

Note for @weezymatt:
Lo único que te puedo recomendar es que después de realizar la traducción, leas el documento y trates de mantener la fluidez del español, no tiene que ser una traducción directa, si no una que se adecue al contexto, y que suene bien al leerlo. Todo lo demás esta bien👍

@weezymatt
Copy link
Contributor Author

@aaronjimv Muchísimas gracias, agradezco tus recomendaciones. Ahora conozco áreas potenciales que pueden necesitar algo más. Y tiene sentido, la documentación
que suene bien al leerlo es el mejor.

@stevhliu I've updated the docs with the corrections. Let me know if there's anything else pending!

@aaronjimv
Copy link
Contributor

@aaronjimv Muchísimas gracias, agradezco tus recomendaciones. Ahora conozco áreas potenciales que pueden necesitar algo más. Y tiene sentido, la documentación que suene bien al leerlo es el mejor.

@stevhliu I've updated the docs with the corrections. Let me know if there's anything else pending!

I'm very glad for your comments, thank you🤗! This P.R. is done ✅🙌

Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks all! 🤗

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@stevhliu stevhliu merged commit 7b897fe into huggingface:main Jul 23, 2025
15 checks passed
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
…gingface#39513)

* Docs: translate audio_classification to Spanish

* Update audio_classification.md

* Remove space
* Normalize backticks

* Update audio_classification.md

* Apply corrections recommended by aaronjimv

* Update _toctree.yml

---------

Co-authored-by: Steven Liu <[email protected]>
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
…gingface#39513)

* Docs: translate audio_classification to Spanish

* Update audio_classification.md

* Remove space
* Normalize backticks

* Update audio_classification.md

* Apply corrections recommended by aaronjimv

* Update _toctree.yml

---------

Co-authored-by: Steven Liu <[email protected]>
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
…gingface#39513)

* Docs: translate audio_classification to Spanish

* Update audio_classification.md

* Remove space
* Normalize backticks

* Update audio_classification.md

* Apply corrections recommended by aaronjimv

* Update _toctree.yml

---------

Co-authored-by: Steven Liu <[email protected]>
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
…gingface#39513)

* Docs: translate audio_classification to Spanish

* Update audio_classification.md

* Remove space
* Normalize backticks

* Update audio_classification.md

* Apply corrections recommended by aaronjimv

* Update _toctree.yml

---------

Co-authored-by: Steven Liu <[email protected]>
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
…gingface#39513)

* Docs: translate audio_classification to Spanish

* Update audio_classification.md

* Remove space
* Normalize backticks

* Update audio_classification.md

* Apply corrections recommended by aaronjimv

* Update _toctree.yml

---------

Co-authored-by: Steven Liu <[email protected]>
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
…gingface#39513)

* Docs: translate audio_classification to Spanish

* Update audio_classification.md

* Remove space
* Normalize backticks

* Update audio_classification.md

* Apply corrections recommended by aaronjimv

* Update _toctree.yml

---------

Co-authored-by: Steven Liu <[email protected]>
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
…gingface#39513)

* Docs: translate audio_classification to Spanish

* Update audio_classification.md

* Remove space
* Normalize backticks

* Update audio_classification.md

* Apply corrections recommended by aaronjimv

* Update _toctree.yml

---------

Co-authored-by: Steven Liu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants