AbdallahNasir/gender-mt-gemma2-2b-cpo-fewshot

TEXT GENERATIONPricing:Input $0.32 / Cached $0.064 / Output $1.6Concurrent Unit Cost:1Model Size:2.6BQuant:BF16Context Size:8kPublished:Oct 7, 2026License:gemmaArchitecture:Transformer Featherless Exclusive Cold

The AbdallahNasir/gender-mt-gemma2-2b-cpo-fewshot model is a 2.6 billion parameter language model based on the Gemma2 architecture, fine-tuned using CPO (Constitutional Preference Optimization) on TED gender pairs. It is specifically optimized for gender-aware machine translation tasks, utilizing a 3-shot prompting strategy with demonstrations for male, female, and neutral speakers. This model is designed for applications requiring nuanced handling of gender in text generation and translation.

Loading preview...

gender-mt-gemma2-2b-cpo-fewshot Overview

This model, developed by AbdallahNasir, is a 2.6 billion parameter variant of the Gemma2 architecture, specifically fine-tuned for gender-aware machine translation. It leverages Constitutional Preference Optimization (CPO), a technique designed to align model outputs with specific preferences, in this case, related to gender representation in text.

Key Capabilities

  • Gender-Aware Translation: Optimized to handle gender nuances in machine translation, particularly with TED talk data.
  • Few-Shot Learning: Utilizes a 3-shot prompting strategy, including demonstrations for male, female, and neutral speakers, to guide its generation.
  • CPO Fine-tuning: Benefits from Constitutional Preference Optimization, which helps in aligning the model's outputs with desired gender-related characteristics.
  • Gemma2 Architecture: Built upon the Gemma2 foundation, providing a robust base for language understanding and generation.

Good For

  • Research in Gender Bias: Ideal for researchers studying and mitigating gender bias in language models and machine translation.
  • Specialized Translation Tasks: Suitable for applications requiring careful consideration of gender in translated content, especially in domains similar to TED talks.
  • Exploring CPO Applications: Useful for developers and researchers interested in practical applications of Constitutional Preference Optimization for specific alignment goals.