Initial commit: add model files and updated README bc014af
sddddd22 commited on
How to use sddddd22/MyAwesomeModel-TestRepo with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="sddddd22/MyAwesomeModel-TestRepo") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("sddddd22/MyAwesomeModel-TestRepo")
model = AutoModel.from_pretrained("sddddd22/MyAwesomeModel-TestRepo")