I found a pretrained model in this repository: https://github.com/causalNLP/logical-fallacy and I want to get it running on my own data locally.
In the description it says:
import transformers
from transformers import AutoTokenizer, AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained('path_to_saved_model', num_labels=3)
tokenizer = AutoTokenizer.from_pretrained('path_to_tokenizer', do_lower_case=True)
what is meant by path_to_saved_model and path_to_tokenizer?
I recommend you read the documentation provided in the hugging face website.
To answer your question for Auto tokenizers 'path_to_saved_model` stands for :
pretrained_model_name_or_path (str or os.PathLike) — Can be either:
Same thing for AutoModelForSequenceClassification