Run this model with HF Jobs
Run guymorlan/Shami2English 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/guymorlan/Shami2English. 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/guymorlan/Shami2English 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 guymorlan/Shami2English with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use guymorlan/Shami2English with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("guymorlan/Shami2English") model = AutoModelForSeq2SeqLM.from_pretrained("guymorlan/Shami2English", device_map="auto") - Notebooks
- Google Colab
- Kaggle
add models
Browse filesFiles changed (7)
- config.jsonAdded+61
- pytorch_model.binAdded+3
- source.spmAdded
- special_tokens_map.jsonAdded+5
- target.spmAdded
- tokenizer_config.jsonAdded+14
- vocab.jsonAdded
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ "_name_or_path": "./results/playaling_lev__hayat_eletna__padic_PAL__madar_Beirut__lughatuna__playaling_egy__8epochs/checkpoint-8260/", "_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": [ [ 62833 ] ], "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": 62833, "decoder_vocab_size": 62834, "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": 62833, "scale_embedding": true, "share_encoder_decoder_embeddings": true, "static_position_embeddings": true, "torch_dtype": "float32", "transformers_version": "4.23.1", "use_cache": true, "vocab_size": 62834}123version https://git-lfs.github.com/spec/v1oid sha256:642940fa187b55adfe703b1da1ae9fa4b68ae3f511fc07d6e3c44e8a2836f585size 30557229312345{ "eos_token": "</s>", "pad_token": "<pad>", "unk_token": "<unk>"}1234567891011121314{ "eos_token": "</s>", "model_max_length": 512, "name_or_path": "./results/playaling_lev__hayat_eletna__padic_PAL__madar_Beirut__lughatuna__playaling_egy__8epochs/checkpoint-8260/", "pad_token": "<pad>", "return_tensors": "pt", "separate_vocabs": false, "source_lang": "ar", "sp_model_kwargs": {}, "special_tokens_map_file": null, "target_lang": "en", "tokenizer_class": "MarianTokenizer", "unk_token": "<unk>"}config.jsonAdded+61
pytorch_model.binAdded+3
source.spmAdded
special_tokens_map.jsonAdded+5
target.spmAdded
tokenizer_config.jsonAdded+14
vocab.jsonAdded