Instructions to use Xenova/deepseek-coder-1.3b-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/deepseek-coder-1.3b-instruct with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'Xenova/deepseek-coder-1.3b-instruct');
Download config.json from Xenova/deepseek-coder-1.3b-instruct: direct link, hf CLI and curl.
- Browser
- Download file 720 Bytes
-
https://huggingface.co/Xenova/deepseek-coder-1.3b-instruct/resolve/main/config.json
- Command line
-
hf download hf://Xenova/deepseek-coder-1.3b-instruct/config.json
-
curl -L -o config.json https://huggingface.co/Xenova/deepseek-coder-1.3b-instruct/resolve/main/config.json
720 Bytes
| { | |
| "_name_or_path": "deepseek-ai/deepseek-coder-1.3b-instruct", | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 32013, | |
| "eos_token_id": 32021, | |
| "hidden_act": "silu", | |
| "hidden_size": 2048, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 5504, | |
| "max_position_embeddings": 16384, | |
| "model_type": "llama", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24, | |
| "num_key_value_heads": 16, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": { | |
| "factor": 4.0, | |
| "type": "linear" | |
| }, | |
| "rope_theta": 100000, | |
| "tie_word_embeddings": false, | |
| "transformers_version": "4.36.2", | |
| "use_cache": true, | |
| "vocab_size": 32256 | |
| } | |