Run this model with HF Jobs
Run Chun/w-zh2en-hsk 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/Chun/w-zh2en-hsk. 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/Chun/w-zh2en-hsk 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 Chun/w-zh2en-hsk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Chun/w-zh2en-hsk with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Chun/w-zh2en-hsk") model = AutoModelForSeq2SeqLM.from_pretrained("Chun/w-zh2en-hsk", device_map="auto") - Notebooks
- Google Colab
- Kaggle
add tokenizer
Browse filesFiles changed (5)
- source.spmAdded
- special_tokens_map.jsonAdded+1
- target.spmAdded
- tokenizer_config.jsonAdded+1
- vocab.jsonAdded
1{"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"}1{"source_lang": "zho", "target_lang": "eng", "unk_token": "<unk>", "eos_token": "</s>", "pad_token": "<pad>", "model_max_length": 512, "sp_model_kwargs": {}, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "Helsinki-NLP/opus-mt-zh-en", "tokenizer_class": "MarianTokenizer"}source.spmAdded
special_tokens_map.jsonAdded+1
target.spmAdded
tokenizer_config.jsonAdded+1
vocab.jsonAdded