How to use nvidia/AMPLIFY_120M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="nvidia/AMPLIFY_120M", trust_remote_code=True)
# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("nvidia/AMPLIFY_120M", trust_remote_code=True, dtype="auto")
This PR ensures a "Use this model" button appears at the top right.
@nielsr is it possible to specify additional python requirements for a model? That might get pulled into the Google Colab snippet, for instance.
· Sign up or log in to comment