Text Generation
Transformers.js
ONNX
English
llama
code
python
maincoder
code-generation
reinforcement-learning
mcpo
conversational
Instructions to use Maincode/Maincoder-1B-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Maincode/Maincoder-1B-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'Maincode/Maincoder-1B-ONNX');
Download special_tokens_map.json from Maincode/Maincoder-1B-ONNX: direct link, hf CLI and curl.
- Browser
- Download file 616 Bytes
-
https://huggingface.co/Maincode/Maincoder-1B-ONNX/resolve/refs%2Fpr%2F1/special_tokens_map.json
- Command line
-
hf download hf://Maincode/Maincoder-1B-ONNX@refs/pr/1/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Maincode/Maincoder-1B-ONNX/resolve/refs%2Fpr%2F1/special_tokens_map.json
616 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|object_ref_start|>", | |
| "<|object_ref_end|>", | |
| "<|box_start|>", | |
| "<|box_end|>", | |
| "<|quad_start|>", | |
| "<|quad_end|>", | |
| "<|vision_start|>", | |
| "<|vision_end|>", | |
| "<|vision_pad|>", | |
| "<|image_pad|>", | |
| "<|video_pad|>" | |
| ], | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |