Instructions to use Anwaarma/try1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Anwaarma/try1 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("Anwaarma/edos_taskB_llama3b_merged2_FINAL") model = PeftModel.from_pretrained(base_model, "Anwaarma/try1") - Transformers
How to use Anwaarma/try1 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Anwaarma/try1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 294 Bytes
065b4b0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"id2label": {
"0": "animosity",
"1": "derogation",
"2": "prejudiced discussions",
"3": "threats, plans to harm and incitement"
},
"label2id": {
"animosity": 0,
"derogation": 1,
"prejudiced discussions": 2,
"threats, plans to harm and incitement": 3
}
} |