Text Generation
PEFT
Safetensors
English
rail
track-geometry
lora
defect-detection
49-cfr-213
conversational
Instructions to use BenGyi/rtg-llama-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use BenGyi/rtg-llama-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Meta-Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "BenGyi/rtg-llama-lora") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from BenGyi/rtg-llama-lora: direct link, hf CLI and curl.
- Browser
- Download file 369 Bytes
-
https://huggingface.co/BenGyi/rtg-llama-lora/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://BenGyi/rtg-llama-lora/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/BenGyi/rtg-llama-lora/resolve/main/tokenizer_config.json
369 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|begin_of_text|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|eot_id|>", | |
| "is_local": false, | |
| "local_files_only": false, | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 131072, | |
| "pad_token": "<|finetune_right_pad_id|>", | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |