Instructions to use zenosai/MonkeyOCRv2-B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zenosai/MonkeyOCRv2-B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="zenosai/MonkeyOCRv2-B", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zenosai/MonkeyOCRv2-B", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update pipeline tag to image-feature-extraction and add library_name
#1
by nielsr HF Staff - opened
This PR updates the pipeline tag of the MonkeyOCRv2 vision encoder to image-feature-extraction so it can be correctly categorized on the Hugging Face Hub. It also adds library_name: transformers to indicate its compatibility with transformers via trust_remote_code=True.
Thanks!
zenosai changed pull request status to merged
zenosai deleted the
refs/pr/1 ref