legacy-datasets/wikipedia
Updated • 116k • 633
How to use Barytes/hellohf with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="Barytes/hellohf") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("Barytes/hellohf")
model = AutoModelForMaskedLM.from_pretrained("Barytes/hellohf")# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("Barytes/hellohf")
model = AutoModelForMaskedLM.from_pretrained("Barytes/hellohf")
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Barytes/hellohf")