Instructions to use emrevrg/AUBIN-12B-Control with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use emrevrg/AUBIN-12B-Control with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-4-12B-it") model = PeftModel.from_pretrained(base_model, "emrevrg/AUBIN-12B-Control") - Notebooks
- Google Colab
- Kaggle
File size: 461 Bytes
0fdd5ce | 1 2 3 4 5 6 7 8 9 10 | # AUBIN server (GPU). Build: docker build -t aubin .
# Run: docker run --gpus all -p 8009:8009 -e AUBIN_MODEL=emrevrg/AUBIN-12B aubin
FROM pytorch/pytorch:2.5.1-cuda12.4-cudnn9-runtime
WORKDIR /app
RUN pip install --no-cache-dir -U "transformers>=4.50" accelerate bitsandbytes peft huggingface_hub
COPY aubin/ /app/aubin/
ENV AUBIN_MODEL=emrevrg/AUBIN-12B PORT=8009
EXPOSE 8009
CMD ["sh", "-c", "python -m aubin.cli serve --model $AUBIN_MODEL --port $PORT"]
|