Run this model with HF Jobs
Run usaf/ztranslate 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/usaf/ztranslate. 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/usaf/ztranslate 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 usaf/ztranslate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use usaf/ztranslate with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("usaf/ztranslate") model = AutoModelForSeq2SeqLM.from_pretrained("usaf/ztranslate", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f4d726c
1
Parent(s): b1f4a92
End of training
Browse filesFiles changed (10)
- .gitattributes+2
- .gitignoreAdded+1
- config.jsonAdded+61
- pytorch_model.binAdded+3
- source.spmAdded+3
- special_tokens_map.jsonAdded+1
- target.spmAdded+3
- tokenizer_config.jsonAdded+1
- training_args.binAdded+3
- vocab.jsonAdded
24 unmodified lines25262724 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zstandard filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text24 unmodified lines252627282924 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zstandard 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 -text
1checkpoint-*/12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ "_name_or_path": "Helsinki-NLP/opus-mt-en-sw", "_num_labels": 3, "activation_dropout": 0.0, "activation_function": "swish", "add_bias_logits": false, "add_final_layer_norm": false, "architectures": [ "MarianMTModel" ], "attention_dropout": 0.0, "bad_words_ids": [ [ 58949 ] ], "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": 58949, "decoder_vocab_size": 58950, "dropout": 0.1, "encoder_attention_heads": 8, "encoder_ffn_dim": 2048, "encoder_layerdrop": 0.0, "encoder_layers": 6, "eos_token_id": 0, "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": 512, "max_position_embeddings": 512, "model_type": "marian", "normalize_before": false, "normalize_embedding": false, "num_beams": 4, "num_hidden_layers": 6, "pad_token_id": 58949, "scale_embedding": true, "share_encoder_decoder_embeddings": true, "static_position_embeddings": true, "torch_dtype": "float32", "transformers_version": "4.19.2", "use_cache": true, "vocab_size": 58950}123version https://git-lfs.github.com/spec/v1oid sha256:b1414228c89cf6b659bb8053b64027b341e09752c65e7ecd20c10c863bed6fa1size 297600261123version https://git-lfs.github.com/spec/v1oid sha256:49d825aac86bf2083c0952b920479aa0d86376613cb9da552135723f9e6aebdasize 8206021{"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"}123version https://git-lfs.github.com/spec/v1oid sha256:80090fbc9ccdbcd1982ddd13b2bb790bf927491fab206565c715f498a4803b9dsize 8134671{"source_lang": "en", "target_lang": "sw", "unk_token": "<unk>", "eos_token": "</s>", "pad_token": "<pad>", "model_max_length": 512, "sp_model_kwargs": {}, "separate_vocabs": false, "special_tokens_map_file": null, "name_or_path": "Helsinki-NLP/opus-mt-en-sw", "tokenizer_class": "MarianTokenizer"}123version https://git-lfs.github.com/spec/v1oid sha256:5914f0a58e2ae81165f634268a54ab05ad30096916f38c9bb521163a38c06528size 3311.gitattributes+2
.gitignoreAdded+1
config.jsonAdded+61
pytorch_model.binAdded+3
source.spmAdded+3
special_tokens_map.jsonAdded+1
target.spmAdded+3
tokenizer_config.jsonAdded+1
training_args.binAdded+3
vocab.jsonAdded