Instructions to use hf-internal-testing/tiny-random-GPTSanJapaneseForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-GPTSanJapaneseForConditionalGeneration with Transformers:
# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("hf-internal-testing/tiny-random-GPTSanJapaneseForConditionalGeneration", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": "<|startoftext|>", | |
| "clean_up_tokenization_spaces": true, | |
| "do_clean_text": false, | |
| "eos_token": "<|endoftext|>", | |
| "model_max_length": 1280, | |
| "pad_token": "<|endoftext|>", | |
| "sep_token": "<|segmenter|>", | |
| "special_tokens_map_file": null, | |
| "tokenizer_class": "GPTSanJapaneseTokenizer", | |
| "unk_token": "<|endoftext|>" | |
| } | |