Instructions to use heliart/Verdict_Recognizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use heliart/Verdict_Recognizer with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="heliart/Verdict_Recognizer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("heliart/Verdict_Recognizer") model = AutoModelForQuestionAnswering.from_pretrained("heliart/Verdict_Recognizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
Yen-Hsiang Wang1924b3c -
Upload config.json
Yen-Hsiang WangUpload config.json374f666 -
Upload pytorch_model.bin with git-lfs
Yen-Hsiang WangUpload pytorch_model.bin2ed6f99
-
initial commit
fba86a6