Run this model with HF Jobs
Run TIGER-Lab/AceCodeRM-7B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/TIGER-Lab/AceCodeRM-7B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/TIGER-Lab/AceCodeRM-7B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use TIGER-Lab/AceCodeRM-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TIGER-Lab/AceCodeRM-7B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, Qwen2ForCausalRM tokenizer = AutoTokenizer.from_pretrained("TIGER-Lab/AceCodeRM-7B") model = Qwen2ForCausalRM.from_pretrained("TIGER-Lab/AceCodeRM-7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files130 unmodified lines131132133134135136130 unmodified linesprint("Score of program with 2 errors:", rm_scores[1].item())print("Score of program with 1 errors:", rm_scores[2].item())print("Score of correct program:", rm_scores[3].item())```130 unmodified lines131132133134135136137138139140141142143144130 unmodified linesprint("Score of program with 2 errors:", rm_scores[1].item())print("Score of program with 1 errors:", rm_scores[2].item())print("Score of correct program:", rm_scores[3].item())"""RM Scores: tensor([-20.5058, -1.7867, 0.4395, 23.0689], device='cuda:0',grad_fn=<SqueezeBackward0>)Score of program with 3 errors: -20.505754470825195Score of program with 2 errors: -1.7866804599761963Score of program with 1 errors: 0.43949759006500244Score of correct program: 23.068859100341797"""```
README.md+8