upscaler
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…
Translates text between a long list of languages, covering more than 10K language pairs, with a model much smaller and faster than M2M-100. Made for developers and researchers who need compact multilingual translation.
SMaLL-100 is a kit in the Writing category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download alirezamsh/small100
SMaLL-100 is a compact machine translation model that covers more than 10K language pairs. The card says it matches M2M-100 on competitive results while being much smaller and faster. It was introduced in an EMNLP 2022 paper and uses the same architecture and config as M2M-100.
It suits developers, localization teams and researchers who want a small translation model that handles many languages, including low-resource ones.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | App developers | Add on-device or self-hosted translation to a product | Translate a user message from Hindi to French |
| Localization | Translation teams | Draft translations across many language pairs | Convert Chinese text into English |
| Research | Machine translation researchers | Study shallow models for low-resource languages | Compare scores against M2M-100 |
| Education | Language learners and teachers | See quick translations between languages | Check a sentence in another language |
If you need translation of whole documents with layout, or a hosted service, you can skip it.
It runs in Python through the transformers library on your own computer.
| Use case | Who | What they get back |
|---|---|---|
| Translate a sentence | Developers | Text in the target language |
| Supervised training | Researchers | A loss value from a source and target pair |
| Low-resource translation | Language teams | Translations for languages large models cover poorly |
You need Python with transformers and the sentencepiece package. The tokenizer is modified, so the card says to load it locally from the tokenization_small100.py file in the repository.
pip install -U huggingface_hub hf download alirezamsh/small100
pip install sentencepiece
You set the target language code on the tokenizer, encode your text, generate, and decode. The card uses a beam size of 5 and a maximum target length of 256 for generation.
from tokenization_small100 import SMALL100Tokenizer
hi_text = "जीवन एक चॉकलेट बॉक्स की तरह है।"
chinese_text = "生活就像一盒巧克力。"
tokenizer = SMALL100Tokenizer.from_pretrained("alirezamsh/small100")
# translate Hindi to French
tokenizer.tgt_lang = "fr"
encoded_hi = tokenizer(hi_text, return_tensors="pt")
generated_tokens = model.generate(**encoded_hi)
tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)Put your own value in its key setting first.
| Tool | What it does |
|---|---|
| tokenizer.tgt_lang | Sets the target language code, such as fr or en |
| model.generate | Produces the translated tokens |
| tokenizer.batch_decode | Turns the tokens back into text |
| hf download | Fetches the model files to your computer |
You take the Chinese sentence for life is like a box of chocolates, set the target language to en, and run generate. The card shows the English result as "Life is like a box of chocolate." A Hindi version of the same sentence goes to French the same way.
A translation model reads text in one language and writes it in another. To try it, run the Hindi to French example above and then change the language code.
The network is the M2M-100 design, and only the tokenizer is changed to handle language codes. The input is the target language code, then the source tokens and an end token. Supervised training feeds source and target text and returns a loss.
The language list runs from Afrikaans and Amharic to Yoruba and Zulu, with codes such as fr, en, zh and hi.
Translates text between a long list of languages, covering more than 10K language pairs, with a model much smaller and faster than M2M-100. Made for developers and researchers who need compact multilingual translation.
Made by alirezamsh on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: SMaLL-100 is a compact machine translation model that covers more than 10K language pairs. The card says it matches M2M-100 on competitive results while being much smaller and faster. It was introduced in an EMNLP 2022 paper and uses the same architecture and config as M2M-100.
Who it suits: It suits developers, localization teams and researchers who want a small translation model that handles many languages, including low-resource ones.
Industry | Who uses it | How they use it | Example
Software | App developers | Add on-device or self-hosted translation to a product | Translate a user message from Hindi to French
Localization | Translation teams | Draft translations across many language pairs | Convert Chinese text into English
Research | Machine translation researchers | Study shallow models for low-resource languages | Compare scores against M2M-100
Education | Language learners and teachers | See quick translations between languages | Check a sentence in another language
If you need translation of whole documents with layout, or a hosted service, you can skip it.
Where to use it: It runs in Python through the transformers library on your own computer.
Use case | Who | What they get back
Translate a sentence | Developers | Text in the target language
Supervised training | Researchers | A loss value from a source and target pair
Low-resource translation | Language teams | Translations for languages large models cover poorly
How to set it up: You need Python with transformers and the sentencepiece package. The tokenizer is modified, so the card says to load it locally from the tokenization_small100.py file in the repository.
pip install -U huggingface_hub
hf download alirezamsh/small100
pip install sentencepiece
How to use it: You set the target language code on the tokenizer, encode your text, generate, and decode. The card uses a beam size of 5 and a maximum target length of 256 for generation.
from tokenization_small100 import SMALL100Tokenizer
hi_text = "जीवन एक चॉकलेट बॉक्स की तरह है।"
chinese_text = "生活就像一盒巧克力。"
tokenizer = SMALL100Tokenizer.from_pretrained("alirezamsh/small100")
# translate Hindi to French
tokenizer.tgt_lang = "fr"
encoded_hi = tokenizer(hi_text, return_tensors="pt")
generated_tokens = model.generate(**encoded_hi)
tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
Put your own value in its key setting first.
Tool | What it does
tokenizer.tgt_lang | Sets the target language code, such as fr or en
model.generate | Produces the translated tokens
tokenizer.batch_decode | Turns the tokens back into text
hf download | Fetches the model files to your computer
Example: You take the Chinese sentence for life is like a box of chocolates, set the target language to en, and run generate. The card shows the English result as "Life is like a box of chocolate." A Hindi version of the same sentence goes to French the same way.
For newcomers and experts: A translation model reads text in one language and writes it in another. To try it, run the Hindi to French example above and then change the language code.
The network is the M2M-100 design, and only the tokenizer is changed to handle language codes. The input is the target language code, then the source tokens and an end token. Supervised training feeds source and target text and returns a loss.
Set the target language code
Tokenize the source text
Generate with beam size 5
Decode tokens to translated text
Good to know: The language list runs from Afrikaans and Amharic to Yoruba and Zulu, with codes such as fr, en, zh and hi.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download alirezamsh/small100
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| SMaLL-100 This page | 10,902 | 113 | 333M | mit | |
| opus-mt-en-zhShares pytorch · text2text-generation · translation | 69,966 | 411 | — | apache-2.0 | |
| t5-base-grammar-correctionShares pytorch · text2text-generation · transformers | 127,257 | 187 | — | cc-by-nc-sa-4.0 | |
| Pocket TTS IndonesianShares onnx · safetensors | 0 | 10 | — | cc-by-4.0 | |
| Hy-MT2-1.8BShares translation · transformers · safetensors | 22,844 | 1,285 | 2B | apache-2.0 | |
| Bielik-11B-v3.1-Instruct GGUFShares multilingual | 1,872 | 8 | 11.2B | apache-2.0 |
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…
nerijs · Kit
A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…
microsoft · Kit
Turns written conversations into spoken audio with up to four speakers and about 90 minutes of speech, an open Microsoft text-to-speech model for research on p…
vennify · Kit
Rewrites English text with fewer grammar mistakes, using a T5 model trained on the JFLEG dataset. Made by vennify for writers, students and developers who want…
tencent · Kit
Translates between 33 languages on your own device with a 1.8B model squeezed to 1.25 bits, about 440 MB as GGUF files for llama.cpp. For developers adding off…
summerAIO · Kit
Summarizes, answers questions about and continues book-length text with a fine-tuned 27B model that uses Gated DeltaNet layers, in English and Japanese. For pe…