Instructions to use pkupie/ProTrix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pkupie/ProTrix with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("table-question-answering", model="pkupie/ProTrix")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("pkupie/ProTrix") model = AutoModelForCausalLM.from_pretrained("pkupie/ProTrix") - Notebooks
- Google Colab
- Kaggle