Instructions to use Sepideh2027/PathogenAgentAI-BioGPT-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Sepideh2027/PathogenAgentAI-BioGPT-LoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/biogpt") model = PeftModel.from_pretrained(base_model, "Sepideh2027/PathogenAgentAI-BioGPT-LoRA") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from Sepideh2027/PathogenAgentAI-BioGPT-LoRA: direct link, hf CLI and curl.
- Browser
- Download file 984 Bytes
-
https://huggingface.co/Sepideh2027/PathogenAgentAI-BioGPT-LoRA/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Sepideh2027/PathogenAgentAI-BioGPT-LoRA/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Sepideh2027/PathogenAgentAI-BioGPT-LoRA/resolve/main/tokenizer_config.json
984 Bytes
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "3": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "backend": "custom", | |
| "bos_token": "<s>", | |
| "eos_token": "</s>", | |
| "is_local": false, | |
| "local_files_only": false, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<pad>", | |
| "sep_token": "</s>", | |
| "tokenizer_class": "BioGptTokenizer", | |
| "unk_token": "<unk>" | |
| } | |