Instructions to use somana13/pr-review-agent-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use somana13/pr-review-agent-classifier with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/codebert-base") model = PeftModel.from_pretrained(base_model, "somana13/pr-review-agent-classifier") - Transformers
How to use somana13/pr-review-agent-classifier with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("somana13/pr-review-agent-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download threshold.json from somana13/pr-review-agent-classifier: direct link, hf CLI and curl.
- Browser
- Download file 54 Bytes
-
https://huggingface.co/somana13/pr-review-agent-classifier/resolve/main/threshold.json
- Command line
-
hf download hf://somana13/pr-review-agent-classifier/threshold.json
-
curl -L -o threshold.json https://huggingface.co/somana13/pr-review-agent-classifier/resolve/main/threshold.json
54 Bytes
| {"threshold": 0.014991478994488716, "min_recall": 0.9} |