Instructions to use xxccho/margin_reg_baseline_code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use xxccho/margin_reg_baseline_code with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "xxccho/margin_reg_baseline_code") - Transformers
How to use xxccho/margin_reg_baseline_code with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("xxccho/margin_reg_baseline_code", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": { | |
| "content": "<|begin_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|eot_id|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "<|eot_id|>" | |
| } | |