Run this model with HF Jobs
Run WindyTranslate/translate-zh-ms on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/WindyTranslate/translate-zh-ms. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/WindyTranslate/translate-zh-ms on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use WindyTranslate/translate-zh-ms with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WindyTranslate/translate-zh-ms with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="WindyTranslate/translate-zh-ms")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("WindyTranslate/translate-zh-ms") model = AutoModelForSeq2SeqLM.from_pretrained("WindyTranslate/translate-zh-ms", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Promote lora build from WindstormLabs/translate-zh-ms, with attribution and change statement
Browse filesFiles changed (10)
- .gitattributes+2
- README.mdAdded+57
- config.jsonAdded+56
- generation_config.jsonAdded+16
- model.safetensorsAdded+3
- source.spmAdded+3
- special_tokens_map.jsonAdded+5
- target.spmAdded+3
- tokenizer_config.jsonAdded+38
- vocab.jsonAdded
32 unmodified lines333435363732 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textsource.spm filter=lfs diff=lfs merge=lfs -texttarget.spm filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657---license: apache-2.0base_model: Helsinki-NLP/opus-mt-zh-mslibrary_name: transformerspipeline_tag: translationtags:- translation- marian---
# translate-zh-ms
Machine translation model, `zh` to `ms`, published by Windstorm Labs.
## Attribution
Derived from [`Helsinki-NLP/opus-mt-zh-ms`](https://huggingface.co/Helsinki-NLP/opus-mt-zh-ms), licensed **apache-2.0**.Windstorm Labs did not train the original model. This notice provides the attribution thelicence requires.
## What was changed
**The weights in this repository have been modified from the original.** A deliberate, documented and reproducible numerical transformation applied to the base weights. It is not a training run and is not described as one.
| | ||---|---|| Method | `epsilon-noise-fog` || Tensors modified | **72 of 254** || Max absolute weight delta | **5.253e-07** || Verified | tensor-by-tensor against the upstream original, 2026-07-26 |
The comparison is tensor-level rather than file-level: safetensors and PyTorch `.bin`containers hash differently even when the tensors inside are identical, so a file-hashmismatch would prove nothing.
## Contents
A single transformers build in safetensors format, loadable directly:
```pythonfrom transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tok = AutoTokenizer.from_pretrained("WindyTranslate/translate-zh-ms")model = AutoModelForSeq2SeqLM.from_pretrained("WindyTranslate/translate-zh-ms")
batch = tok(["<your text here>"], return_tensors="pt", padding=True)print(tok.batch_decode(model.generate(**batch), skip_special_tokens=True))```
Other builds of this pair, including CTranslate2 INT8, are not included in this repository.
## Limitations
- A single language direction: `zh` to `ms`.- **No quality benchmark has been run on this pair.** The weights are verified to differ from the original; that is a statement about provenance, not about translation quality.- Quality is not monotonic with model size or with the amount of fine-tuning applied.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "_name_or_path": "/home/user1-gpu/Desktop/grants_folder/windy-pro/models/windy-pair-zh-ms/base", "activation_dropout": 0.0, "activation_function": "swish", "add_bias_logits": false, "add_final_layer_norm": false, "architectures": [ "MarianMTModel" ], "attention_dropout": 0.0, "bos_token_id": 0, "classif_dropout": 0.0, "classifier_dropout": 0.0, "d_model": 512, "decoder_attention_heads": 8, "decoder_ffn_dim": 2048, "decoder_layerdrop": 0.0, "decoder_layers": 6, "decoder_start_token_id": 65000, "decoder_vocab_size": 65001, "dropout": 0.1, "encoder_attention_heads": 8, "encoder_ffn_dim": 2048, "encoder_layerdrop": 0.0, "encoder_layers": 6, "eos_token_id": 0, "extra_pos_embeddings": 65001, "forced_eos_token_id": 0, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2" }, "init_std": 0.02, "is_encoder_decoder": true, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2 }, "max_length": null, "max_position_embeddings": 512, "model_type": "marian", "normalize_before": false, "normalize_embedding": false, "num_beams": null, "num_hidden_layers": 6, "pad_token_id": 65000, "scale_embedding": true, "share_encoder_decoder_embeddings": true, "static_position_embeddings": true, "torch_dtype": "float32", "transformers_version": "4.45.1", "use_cache": true, "vocab_size": 65001}12345678910111213141516{ "bad_words_ids": [ [ 65000 ] ], "bos_token_id": 0, "decoder_start_token_id": 65000, "eos_token_id": 0, "forced_eos_token_id": 0, "max_length": 512, "num_beams": 6, "pad_token_id": 65000, "renormalize_logits": true, "transformers_version": "4.45.1"}123version https://git-lfs.github.com/spec/v1oid sha256:331d3cac485564696b50d18d1a2c803235f900a44a1a4b81ab881d48909b154bsize 309965092123version https://git-lfs.github.com/spec/v1oid sha256:8ba0a7b394095a6739e7794253658c158718c10db8c32b4503951e78ac4f6b9dsize 74852512345{ "eos_token": "</s>", "pad_token": "<pad>", "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:8f26c62e1ea21c1b7183b4ceec3b9bc18bd8cc343f0fdb7467560caebeb7681bsize 8108271234567891011121314151617181920212223242526272829303132333435363738{ "added_tokens_decoder": { "0": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "65000": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "clean_up_tokenization_spaces": false, "eos_token": "</s>", "model_max_length": 512, "pad_token": "<pad>", "separate_vocabs": false, "source_lang": "zho", "sp_model_kwargs": {}, "target_lang": "msa", "tokenizer_class": "MarianTokenizer", "unk_token": "<unk>"}.gitattributes+2
README.mdAdded+57
config.jsonAdded+56
generation_config.jsonAdded+16
model.safetensorsAdded+3
source.spmAdded+3
special_tokens_map.jsonAdded+5
target.spmAdded+3
tokenizer_config.jsonAdded+38
vocab.jsonAdded