card = ModelCard.from_template(card_data)
print(card.data)
```  
The resulting `card.data` should look like this:  
```
language: en
license: mit
model-index:
- name: my-cool-model
results:
- task:
type: image-classification
dataset:
name: Beans
type: beans
metrics:
- type: accuracy
value: 0.7
```  
If you have more than one evaluation result you'd like to share, just pass a list of `EvalResult`:  
```python
card_data = ModelCardData(
language='en',
license='mit',
model_name='my-cool-model',