How to use valhalla/m2m100_tiny_random with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("valhalla/m2m100_tiny_random") model = AutoModelForSeq2SeqLM.from_pretrained("valhalla/m2m100_tiny_random")
Hi @valhalla This PR has documentation about your model and is based on the format we are using as part of our effort to standardize model cards at Hugging Face. Please feel free to merge as is or edit as you like and then merge.
Thank you!
· Sign up or log in to comment