# Add default examples for the Inference API

**URL:** <https://discuss.huggingface.co/t/add-default-examples-for-the-inference-api/11757>\
**Category:** Beginners\
**Created:** [November 15, 2021, 2:46pm UTC](https://discuss.huggingface.co/t/add-default-examples-for-the-inference-api/11757 "2021-11-15T14:46:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yah216](https://avatars.discourse-cdn.com/v4/letter/y/e36b37/32.png) [@Yah216](https://discuss.huggingface.co/u/Yah216)\
**Post date:** [November 15, 2021, 2:46pm UTC](https://discuss.huggingface.co/t/add-default-examples-for-the-inference-api/11757/1 "2021-11-15T14:46:22Z")

</div>

Hi there,

I recently fine-tuned a model and add it to the Hub.  
My model is BERT based with a classification head used for sentiment analysis.  
I’m wondering how to set-up default examples to be selected by users. The Hub has already set an example in english but my model uses Arabic language.  
Here you can find my model.

> **[Yah216/Sentiment\_Analysis\_CAMelBERT\_msa\_sixteenth\_HARD · Hugging Face](https://huggingface.co/Yah216/Sentiment_Analysis_CAMelBERT_msa_sixteenth_HARD)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

Thanks

---

<div class="post-metadata">

**Author:** ![Yah216](https://avatars.discourse-cdn.com/v4/letter/y/e36b37/32.png) [@Yah216](https://discuss.huggingface.co/u/Yah216)\
**Post date:** [November 15, 2021, 2:55pm UTC](https://discuss.huggingface.co/t/add-default-examples-for-the-inference-api/11757/2 "2021-11-15T14:55:16Z")

</div>

UPDATE:  
I found the answer in another model README.md  
Apparently, I had to add in the top of my README.md the following text:

```auto
---
language: ar # <-- my language
widget:
 - text: "my example goes here in the requested language"
---

```

Hope this helps other beginners too 🙂 and would be awesome if someone put the link to the doc that discusses this issue.
