# My Model Card
"""

card = ModelCard(content)
card.data.to_dict() == {'language': 'en', 'license': 'mit'}  # True
```  
Another way you might want to do this is with f-strings. In the following example, we:  
- Use [`ModelCardData.to_yaml`] to convert metadata we defined to YAML so we can use it to insert the YAML block in the model card.
- Show how you might use a template variable via Python f-strings.  
```python
card_data = ModelCardData(language='en', license='mit', library='timm')