Instructions to use MHGanainy/gpt2-xl-lora-ecthr-random-imbalanced-uniform-cluster-8-id-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use MHGanainy/gpt2-xl-lora-ecthr-random-imbalanced-uniform-cluster-8-id-3 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openai-community/gpt2-xl") model = PeftModel.from_pretrained(base_model, "MHGanainy/gpt2-xl-lora-ecthr-random-imbalanced-uniform-cluster-8-id-3") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from MHGanainy/gpt2-xl-lora-ecthr-random-imbalanced-uniform-cluster-8-id-3: direct link, hf CLI and curl.
- Browser
- Download file 131 Bytes
-
https://huggingface.co/MHGanainy/gpt2-xl-lora-ecthr-random-imbalanced-uniform-cluster-8-id-3/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://MHGanainy/gpt2-xl-lora-ecthr-random-imbalanced-uniform-cluster-8-id-3/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/MHGanainy/gpt2-xl-lora-ecthr-random-imbalanced-uniform-cluster-8-id-3/resolve/main/special_tokens_map.json
131 Bytes
| { | |
| "bos_token": "<|endoftext|>", | |
| "eos_token": "<|endoftext|>", | |
| "pad_token": "<|endoftext|>", | |
| "unk_token": "<|endoftext|>" | |
| } | |