CoolFace
Modelpublic

CalmState/Qwen-3-4b-Polyglot-r2

sourceHugging Faceapache-2.0updated 9mo agoView on Hugging Face
6likes46downloads
Model Card

<div align="center"> <img src="https://raw.githubusercontent.com/andersondanieln/polyglot/main/public/images/logo-dark.svg" width="300"/> <h1>Polyglot r2</h1> </div>

This model is a specialized fine-tune of Qwen-3 4b, optimized specifically for the Polyglot Air desktop application workflow. This version was trained on a dataset approximately 4 times larger than its predecessor, significantly expanding its range of commands and improving the accuracy of its responses.

It has been trained to strictly adhere to suffix-based commands, ensuring instant, clean, and direct responses without conversational filler, hallucinations, or "Here is the translation" preambles.

🎯 Purpose

The default chat models often struggle with context switching when presented with short strings followed by a command (e.g., text::en). They might explain the translation or chat with the user.

This model is fine-tuned to treat the `::suffix` as a strict instruction code.

  • Input: O arquivo não pode ser salvo porque o disco está cheio::en
  • Output: The file cannot be saved because the disk is full

⚡ Suffix Command Table

Use these suffixes at the end of your selected text to trigger specific transformations.

Translation

SuffixActionExample InputModel Output
::enTranslate to EnglishBom dia::enGood morning
::ptTranslate to Portuguese (Portugal)Good morning::ptBom dia
::ptbrTranslate to Portuguese (Brazil)The bus is coming::ptbrO ônibus está vindo
::esTranslate to SpanishHello friend::esHola amigo
::zhTranslate to Chinese (Simplified)Hello::zh你好

Tone & Style Adjustment

SuffixActionExample InputModel Output
::fixFix spelling and grammari goes to skool yesterday::fixI went to school yesterday
::formalRewrite in a professional/formal toneHey, send me that file asap::formalCould you please send me that file as soon as possible?
::casualRewrite in a casual toneI acknowledge receipt of your message::casualGot your message, thanks!
::informalRewrite in a slang/informal toneThat is very interesting::informalThat's pretty cool
::politeMake politeI need the report now.::politeCould you please provide the report when you have a moment?
::technicalMake technicalThe computer is broken.::technicalThe CPU is experiencing a critical hardware failure.
::creativeMake creativeThe sun set.::creativeThe sun painted the sky in hues of fire and gold.
::businessMake business-orientedWe should sell more.::businessWe must optimize our sales funnel to increase revenue.
::newsRewrite in a news styleA car crashed on the main street.::newsA vehicular collision occurred on Main Street earlier today.
::socialRewrite in a social media styleI'm launching a new product.::social🔥 BIG NEWS! So excited to launch our new product! #launch #new

Content & Structure Manipulation

SuffixActionExample InputModel Output
::summarizeSummarize the text[Long Text]::summarize[Concise Summary]
::expandExpand / add detailsThe project was a success.::expandThe project was a resounding success, exceeding all initial expectations.
::elaborateElaborate / add detailsShe was happy.::elaborateA wide smile spread across her face, and her eyes sparkled with joy.
::simplifySimplify the textThe confluence of factors precipitated this.::simplifyMany things caused this to happen.
::conciseMake conciseDue to the fact that it was raining, we left.::conciseWe left because it was raining.
::toQuestionTransform into a questionThe report is due tomorrow.::toQuestionIs the report due tomorrow?
::toStatementTransform into a statementShould we start the project?::toStatementWe should start the project.

🚀 How to use with Polyglot Air

  1. 1.Download this model (or the GGUF version if available).
  2. 2.Add it to your Ollama library.
  3. 3.Open Polyglot Air.
  4. 4.Go to Settings > Model and select this model.
  5. 5.Enjoy seamless, instruction-following transformations.

Uploaded finetuned model

  • Developed by: CalmState
  • License: apache-2.0
  • Finetuned from model : unsloth/Qwen3-4B-Instruct-2507

This qwen3 model was trained 2x faster with Unsloth and Huggingface's TRL library.

<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>