Text Generation
Transformers.js
ONNX
English
llama
code
python
maincoder
code-generation
reinforcement-learning
mcpo
conversational
Instructions to use shreyask/Maincoder-1B-ONNX-web with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use shreyask/Maincoder-1B-ONNX-web with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'shreyask/Maincoder-1B-ONNX-web');
| { | |
| "eos_token_id": [ | |
| 151643, | |
| 151645 | |
| ], | |
| "pad_token_id": 151643, | |
| "max_length": 2048, | |
| "do_sample": false | |
| } |