Translation
Transformers
Safetensors
multilingual
m2m_100
text2text-generation
nllb
seq2seq
endpoints-template
Run this model with HF Jobs
Run ericaRC/example 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/ericaRC/example. 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/ericaRC/example 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 ericaRC/example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ericaRC/example 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="ericaRC/example")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ericaRC/example") model = AutoModelForSeq2SeqLM.from_pretrained("ericaRC/example", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 817 Bytes
4ac6fc1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | {
"activation_dropout": 0.0,
"activation_function": "relu",
"architectures": [
"M2M100ForConditionalGeneration"
],
"attention_dropout": 0.1,
"bos_token_id": 0,
"d_model": 1024,
"decoder_attention_heads": 16,
"decoder_ffn_dim": 4096,
"decoder_layerdrop": 0,
"decoder_layers": 12,
"decoder_start_token_id": 2,
"dropout": 0.1,
"dtype": "float32",
"encoder_attention_heads": 16,
"encoder_ffn_dim": 4096,
"encoder_layerdrop": 0,
"encoder_layers": 12,
"eos_token_id": 2,
"init_std": 0.02,
"is_encoder_decoder": true,
"max_position_embeddings": 1024,
"model_type": "m2m_100",
"pad_token_id": 1,
"scale_embedding": true,
"tie_word_embeddings": true,
"tokenizer_class": "NllbTokenizer",
"transformers_version": "5.6.0",
"use_cache": true,
"vocab_size": 256206
}
|