Instructions to use anthonyq7/aegis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use anthonyq7/aegis with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/codebert-base") model = PeftModel.from_pretrained(base_model, "anthonyq7/aegis") - Transformers
How to use anthonyq7/aegis with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("anthonyq7/aegis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from anthonyq7/aegis: direct link, hf CLI and curl.
- Browser
- Download file 3.56 MB
-
https://huggingface.co/anthonyq7/aegis/resolve/main/tokenizer.json
- Command line
-
hf download hf://anthonyq7/aegis/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/anthonyq7/aegis/resolve/main/tokenizer.json
3.56 MB
File too large to display, you can check the raw version instead.