deepseek-ai/deepseek-coder-1.3b-instruct

text generationtransformerstransformerspytorchsafetensorsllamatext-generationconversationalother
650.3K

tokenizer.eos_token_id is the id of <|EOT|> token

outputs = model.generate(inputs, max_new_tokens=512, do_sample=False, top_k=50, top_p=0.95, num_return_sequences=1, eos_token_id=tokenizer.eos_token_id) print(tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True))


### 4. License
This code repository is licensed under the MIT License. The use of DeepSeek Coder models is subject to the Model License. DeepSeek Coder supports commercial use.

See the [LICENSE-MODEL](https://github.com/deepseek-ai/deepseek-coder/blob/main/LICENSE-MODEL) for more details.

### 5. Contact

If you have any questions, please raise an issue or contact us at [agi_code@deepseek.com](mailto:agi_code@deepseek.com).

DEPLOY IN 60 SECONDS

Run deepseek-coder-1.3b-instruct on Runcrate

Deploy on H100, A100, or RTX GPUs. Pay only for what you use. No setup required.