Feature Extraction
Transformers
PyTorch
Safetensors
hubert

Fix YAML language metadata issue for Norwegian (no)

#16
by NewComer00 - opened

Quote 'no' for Norwegian in metadata to avoid yaml's "The Norway Problem".

Hello there!

I was trying to convert this model to ONNX using the onnx-community workflow:
https://huggingface.co/spaces/onnx-community/convert-to-onnx

Conversion worked fine, but the upload failed with:

TypeError: language[78] must be str

Looks like the classic YAML “Norway problem” — no getting parsed as a boolean instead of a string.

It seems Hugging Face’s metadata generator already handles this properly now by quoting no, so this might already be fixable just by regenerating/updating the metadata. Feel free to merge this or just update the metadata🙂

NewComer00 changed pull request title from Update README.md to Fix YAML language metadata issue for Norwegian (no)
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment