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
Verified signatureThis PR adds the `library_name: transformers` and `pipeline_tag: text-classification` tags to the model card metadata. The `library_name` tag is necessary to ensure compatibility with the Hugging Face Transformers library. The `pipeline_tag` helps users easily discover the model through the Hugging Face model hub search.782a005
-
Update README.md
Verified signature4f6ee6a
-
Update README.md
Verified signatureed968bd
-
release anah-v2
36a1e50 -
Update README.md
Verified signature96d641c -
initial commit
Verified signature8913021