Instructions to use Bgoood/ass4_DPO_ft_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Bgoood/ass4_DPO_ft_model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2") model = PeftModel.from_pretrained(base_model, "Bgoood/ass4_DPO_ft_model") - Notebooks
- Google Colab
- Kaggle
Download DPO_ft_model/tokenizer.json from Bgoood/ass4_DPO_ft_model: direct link, hf CLI and curl.
- Browser
- Download file 3.51 MB
-
https://huggingface.co/Bgoood/ass4_DPO_ft_model/resolve/main/DPO_ft_model/tokenizer.json
- Command line
-
hf download hf://Bgoood/ass4_DPO_ft_model/DPO_ft_model/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Bgoood/ass4_DPO_ft_model/resolve/main/DPO_ft_model/tokenizer.json
3.51 MB
File too large to display, you can check the raw version instead.