Instructions to use opencompass/anah-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use opencompass/anah-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="opencompass/anah-v2", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("opencompass/anah-v2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Improve model card with library_name and pipeline_tag (#1)
Verified signature- Improve model card with library_name and pipeline_tag (782a0055dcc36c8ed2b09e55b36b22c1ae5035c5) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>3e7a9ea
-
Update README.md
Verified signature4f6ee6a
-
Update README.md
Verified signatureed968bd
-
release anah-v2
36a1e50 -
Update README.md
Verified signature96d641c -
initial commit
Verified signature8913021