Saving weights and logs of step 901 b362d99
Patrick von Platen commited on
How to use flax-community/roberta-flax-dataset-stream-is with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="flax-community/roberta-flax-dataset-stream-is") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("flax-community/roberta-flax-dataset-stream-is")
model = AutoModelForMaskedLM.from_pretrained("flax-community/roberta-flax-dataset-stream-is", device_map="auto")