Instructions to use dnagpt/dnallama_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dnagpt/dnallama_lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openlm-research/open_llama_3b") model = PeftModel.from_pretrained(base_model, "dnagpt/dnallama_lora") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from dnagpt/dnallama_lora: direct link, hf CLI and curl.
- Browser
- Download file 2.7 MB
-
https://huggingface.co/dnagpt/dnallama_lora/resolve/refs%2Fpr%2F1/tokenizer.json
- Command line
-
hf download hf://dnagpt/dnallama_lora@refs/pr/1/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/dnagpt/dnallama_lora/resolve/refs%2Fpr%2F1/tokenizer.json
2.7 MB
File too large to display, you can check the raw version instead.