Text Classification
Transformers
Safetensors
English
internlm2
text-generation
hallucination-detection
custom_code
Instructions to use opencompass/anah-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use opencompass/anah-7b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="opencompass/anah-7b", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("opencompass/anah-7b", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Add missing metadata and clarify license
#1
by nielsr HF Staff - opened
This PR adds the missing pipeline_tag, library_name, and clarifies the license to reflect the Apache 2.0 license specified in the Github README. It also adds a link to the Github repository which contains the code for training and evaluation.
vanilla1116 changed pull request status to merged