PredEx Models
Collection
Prediction with Explanation Models • 6 items • Updated
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("L-NLProc/PredEx_InCaseLaw_Pred")
model = AutoModel.from_pretrained("L-NLProc/PredEx_InCaseLaw_Pred")
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="L-NLProc/PredEx_InCaseLaw_Pred")