Initial commit: MyAwesomeModel with benchmark results 96836b4
toolathlon24 commited on
How to use toolathlon24/MyAwesomeModel-TestRepo with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="toolathlon24/MyAwesomeModel-TestRepo") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("toolathlon24/MyAwesomeModel-TestRepo")
model = AutoModel.from_pretrained("toolathlon24/MyAwesomeModel-TestRepo", device_map="auto")