Upload tokenizer 4136740 verified
Vesa Fetahaj commited on
How to use vesafetahajrtechko1/my-first-model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="vesafetahajrtechko1/my-first-model") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("vesafetahajrtechko1/my-first-model")
model = AutoModel.from_pretrained("vesafetahajrtechko1/my-first-model", device_map="auto")