Instructions to use Imran1/Translation-r1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Imran1/Translation-r1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/deepscaler-1.5b-preview-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Imran1/Translation-r1") - Notebooks
- Google Colab
- Kaggle