Text Generation
Transformers.js
ONNX
French
gpt2
SLM
Iris la guêpe
Gentillesse
Amitié
Créativité
conversational
Instructions to use Clemylia/Iris-La-guepe-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Clemylia/Iris-La-guepe-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'Clemylia/Iris-La-guepe-ONNX');
Download tokenizer_config.json from Clemylia/Iris-La-guepe-ONNX: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/Clemylia/Iris-La-guepe-ONNX/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Clemylia/Iris-La-guepe-ONNX/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Clemylia/Iris-La-guepe-ONNX/resolve/main/tokenizer_config.json
1.02 kB
| { | |
| "add_prefix_space": false, | |
| "added_tokens_decoder": { | |
| "50256": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "50257": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": "<|endoftext|>", | |
| "chat_template": "{%- for message in messages -%}\n {{ '### Instruction:\\n' + message.content + '\\n\\n' }}\n{%- endfor -%}\n{{ '### Response:\\n' }}", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|endoftext|>", | |
| "extra_special_tokens": {}, | |
| "max_length": 128, | |
| "model_max_length": 1024, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "[PAD]", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "stride": 0, | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "<|endoftext|>" | |
| } | |