Instructions to use CodeDPO/AceCodeRM-LLama3.1-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CodeDPO/AceCodeRM-LLama3.1-8B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AceCoderLlamaForCausalRM tokenizer = AutoTokenizer.from_pretrained("CodeDPO/AceCodeRM-LLama3.1-8B") model = AceCoderLlamaForCausalRM.from_pretrained("CodeDPO/AceCodeRM-LLama3.1-8B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from CodeDPO/AceCodeRM-LLama3.1-8B: direct link, hf CLI and curl.
- Browser
- Download file 184 Bytes
-
https://huggingface.co/CodeDPO/AceCodeRM-LLama3.1-8B/resolve/main/generation_config.json
- Command line
-
hf download hf://CodeDPO/AceCodeRM-LLama3.1-8B/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/CodeDPO/AceCodeRM-LLama3.1-8B/resolve/main/generation_config.json
184 Bytes
| { | |
| "bos_token_id": 128000, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 128001, | |
| 128008, | |
| 128009 | |
| ], | |
| "temperature": 0.6, | |
| "top_p": 0.9, | |
| "transformers_version": "4.51.1" | |
| } | |