Instructions to use Xenova/tiny-random-Starcoder2ForCausalLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/tiny-random-Starcoder2ForCausalLM with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'Xenova/tiny-random-Starcoder2ForCausalLM');
Download generation_config.json from Xenova/tiny-random-Starcoder2ForCausalLM: direct link, hf CLI and curl.
- Browser
- Download file 137 Bytes
-
https://huggingface.co/Xenova/tiny-random-Starcoder2ForCausalLM/resolve/main/generation_config.json
- Command line
-
hf download hf://Xenova/tiny-random-Starcoder2ForCausalLM/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Xenova/tiny-random-Starcoder2ForCausalLM/resolve/main/generation_config.json
137 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 0, | |
| "eos_token_id": 0, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.39.0.dev0" | |
| } | |