Dataset Viewer
Auto-converted to Parquet Duplicate
Input
stringclasses
10 values
Expected Output
stringclasses
10 values
Model Output
stringclasses
10 values
Comments
stringclasses
7 values
Ali: Hey James, how many languages can you speak? James: Only two, english and spanish. Ali: Alors tu ne parle pas le francais? James:
Ali: Hey James, how many languages can you speak? James: Only two, english and spanish. Ali: Alors tu ne parle pas le francais? James: Sorry I'm not sure what that means
Ali: Hey James, how many languages can you speak? James: Only two, english and spanish. Ali: Alors tu ne parle pas le francais? James: Our, je parle Français.
null
In modern standard arabic, the sentence 'I want to go to the supermarket and buy some food.' can be translated to 'أريد أن أذهب إلى المتجر لشراء بعض الطعام' but in Levantine Dialect Arabic it would be
In modern standard arabic, the sentence 'I want to go to the supermarket and buy some food.' can be translated to 'أريد أن أذهب إلى المتجر لشراء بعض الطعام' but in Levantine Dialect Arabic it would be 'بدي أروح عالسوبرماركت أشتري شوية أكل.'
In modern standard arabic, the sentence 'I want to go to the supermarket and buy some food.' can be translated to 'أريد أن أذهب إلى المتجر لشراء بعض الطعام' but in Levantine Dialect Arabic it would be 'أريد ن أروح لمحل البقالة واشتري شوية أكل.'
The term ‘البقالة’ is not one typically used in levantine. It is more often used in Arabic dialects spoken in the gulf countries like Kuwait or KSA.
The sentence 'Biddee arooh 3al subarmarket w ashtiree shwayyet akel' is transliterated from arabic. Its arabic translation is
The sentence 'Biddee arooh 3al subarmarket w ashtiree shwayyet akel' is transliterated from arabic. Its arabic translation is بدي أروح عالسوبرماركت وأشتري شوية أكل,
The sentence 'Biddee arooh 3al subarmarket w ashtiree shwayyet akel' is transliterated from arabic. Its arabic translation is 'بِدِيءَ أُرُوُحُ عَلَيِ السُّبَارِكَمَتِ اِسْتِعْرِيَةُ شَوَاي'
The Arabic produced by the LLM for the most part doesn’t make sense. For example, the term اِسْتِعْرِيَةُ is not a word. Nor is بِدِيءَ
I need to go wash my car. The car wash is only 100 meters away, so between walking there or driving there I'd probably choose to
I need to go wash my car. The car wash is only 100 meters away, so between walking there or driving there I'd probably choose to drive
I need to go to the car wash, but it's only 100 meters away, so between walking there or driving there I'd probably choose to walk.
null
One, deux, three, quatre, five, six, seven, huit, nine, dix, eleven
One, deux, three, quatre, five, six, seven, huit, nine, dix, eleven, douze, thirteen, quatorze, fifteen
One, deux, three, quatre, five, six, seven, huit, nine, dix, eleven The French numbers from one to ten French numbers are a bit different than English ones. In fact, they are quite similar to Italian and Spanish numbers
null
Bara kubwa zaidi duniani ni
Bara kubwa zaidi duniani ni Asia
Bara kubwa zaidi duniani ni Africa
This is Swahili. When asked what the biggest continent is, it replies with Africa. I asked the same question but in English and the model replied correctly with Asia.
Marie: Hey, t'as fait quoi ce weekend? John: Not much, j'ai just watched some Netflix et après I went to the gym. Marie: Ah nice! Moi j'ai été au marché, I found some really good fromage. John: Oh yeah? Tu devrais me bring some next time, j'adore le cheese français. Marie
Marie: Hey, t'as fait quoi ce weekend? John: Not much, j'ai just watched some Netflix et après I went to the gym. Marie: Ah nice! Moi j'ai été au marché, I found some really good fromage. John: Oh yeah? Tu devrais me bring some next time, j'adore le cheese français. Marie: sure man! ce serait un plaisir
Marie: Hey, t'as fait quoi ce weekend? John: Not much, j'ai just watched some Netflix et après I went to the gym. Marie: Ah nice! Moi j'ai été au marché, I found some really good fromage. John: Oh yeah? Tu devrais me bring some next time, j'adore le cheese français. Marie: Oui, je vais essayer de m'en procurer plus sou...
Speaking a mix of French and English (Franglais) is very common amongst French people, especially those from Canada. I would expect the model to continue speaking in such a way but it doesn’t.
Dear diary, Today was absolutely WONDERFUL. My car broke down, I got soaked in the rain, and then I stepped in a puddle. Best day ever! Tomorrow I'm looking forward to
Dear diary, Today was absolutely WONDERFUL. My car broke down, I got soaked in the rain, and then I stepped in a puddle. Best day ever! Tomorrow I'm looking forward to having an even BETTER day with so many unfortunate things to happen
Dear diary, Today was absolutely WONDERFUL. My car broke down, I got soaked in the rain, and then I stepped in a puddle. Best day ever! Tomorrow I'm looking forward to - Getting my car fixed - Eating delicious food - Spending time with friends - And maybe even going on a little adventure
Checking if the model can catch on the sarcastic tone of the diary entry, but it doesn’t and proceeds to give positive outcomes for the next day.
pain in english refers to a physical suffering or discomfort caused by illness or injury. But in french it means
pain in english refers to a physical suffering or discomfort caused by illness or injury. But in french it means bread
pain in english refers to a physical suffering or discomfort caused by illness or injury. But in french it means pain is the most common word used to describe physical discomfort
Checking for homographs across languages where one word has a different meaning in different languages.
Ci Wolof, am na nu benn léebu: 'Nit nitay garabam,' te li mu tekki mooy:
Ci Wolof, am na nu benn léebu: 'Nit nitay garabam' te li mu tekki mooy ne nit mooy sa fajkat.
Ci Wolof, am na nu benn léebu: 'Nit nitay garabam,' te li mu tekki mooy: 'Ce que je veux dire est : 'Je ne suis pas d'accord avec toi.' En wolof, cela se dit 'Nit nitay
This is Wolof. Checking if the model can understand low resource languages. The model card mentions wolof as a supported language but in this example I ask it to give me the meaning of a famous wolof proverb and it can’t. It can barely continue the sentence in wolof and resorts to French.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Model: https://huggingface.co/CohereLabs/tiny-aya-base

Model Loading

I loaded the model using the transformers' library pipeline helper function and kept the default model parameters provided by the model card. The only thing I would occasionally change was max_new_tokens, to adjust it so that it makes sense with the prompt I'm giving. I also chose to keep temperature low for more determinism:

from transformers import pipeline

def predict(
  input: str,
  max_new_tokens=50,
  do_sample=True,
  temperature=0.1,
  top_p=0.9,
  repetition_penalty=1.1,
):
  output = pipe(
      input,
      max_new_tokens=max_new_tokens,
      do_sample=do_sample,
      temperature=temperature,
      top_p=top_p,
      repetition_penalty=repetition_penalty,
  )[0]['generated_text']

  return output

Model Finetuning

The blindspots I found are very diverse, so there's no single type of dataset that would fix all the problems that I found. However, they can be roughly grouped into distinct categories.

Category #1: Reasoning

Some blindspots in my dataset show the model's inability to reason properly, even in scenarios where commonsense would easily solve the problem. Blindspot #4 (car wash) is a perfect example. These failures likely arise because smaller base models often rely on surface statistical patterns rather than structured reasoning. Many open source datasets already exist that try to solve such issues. Examples include CommonsenseQA or StrategyQA.

Category #2: Language Switching, Homographs and Dialects

The model struggles when the prompt provided uses more than a single language. Some language switching is very common in societies where more than one language dominates the culture e.g. Franglais (mixing French and English in Canada) or mixing French and Arabic in levantine countries like Lebanon. It also struggles to understand different dialects of the same language (e.g. Gulf vs Levantine Arabic). One way of creating a dataset for these cases would be scraping forums where such speech is typically used. Reddit and X would be a great start, since users of these platforms often speak in informal manners where a mix of languages can be found. Creating synthetic data examples using an LLM is another option. The typical risks that come with collecting data using an LLM aren't as serious in this case, since it's a simple exercise that wouldn't be too impacted by things like model collapse or amplification of biases.

Category #3: Low Resource Languages

The model struggles with low-resource languages like Wolof or Swahili. Fixing these failures requires two distinct steps, unlike categories #1 and #2.

First, continued pretraining on raw monolingual text in the target language is needed before any fine-tuning can happen. This is because fine-tuning on task examples assumes the model already has basic linguistic competence in the language. If it doesn't, labeled examples won't help much since the model can't learn tasks in a language it barely understands.

Once basic competence is established through continued pretraining, fine-tuning on task-specific labeled examples can follow. Sourcing data for this step from the web is hard by definition, given they are low resource. As such, professional annotators who are native speakers of the target language would be the most reliable option.

Dataset Size

The size of the dataset will differ based on the type of failure you're trying to solve for.

Failures that fall into categories #1 and #2 will require anything between 1000 to 2000 data points per category. The model already understands the languages and has reasoning ability — it just needs to learn how to apply them more reliably. The examples also don't have to cover all possible pairs of languages, nor does it need to be trained to reason across every language it supports. A few thousand examples per category should be enough for it to generalize.

Failures that fall into category #3 require thinking about data needs in two stages. Continued pretraining requires millions of tokens of raw monolingual text to build foundational language competence — this is the bottleneck, since such text is genuinely scarce for languages like Wolof. Fine-tuning that follows would need a comparatively modest labeled dataset of a few thousand task-specific examples. The data requirements here are therefore less about volume of labeled examples and more about finding or creating sufficient raw text for the pretraining stage.

Downloads last month
10