deepseek-ai / deepseek-coder-7b-instruct-v1.5

huggingface.co
Total runs: 737.9K
24-hour runs: -1.1K
7-day runs: -61.3K
30-day runs: 62.5K
Model's Last Updated: February 05 2024
text-generation

Introduction of deepseek-coder-7b-instruct-v1.5

Model Details of deepseek-coder-7b-instruct-v1.5

DeepSeek Coder

[🏠Homepage] | [🤖 Chat with DeepSeek Coder] | [Discord] | [Wechat(微信)]


1. Introduction of Deepseek-Coder-7B-Instruct v1.5

Deepseek-Coder-7B-Instruct-v1.5 is continue pre-trained from Deepseek-LLM 7B on 2T tokens by employing a window size of 4K and next token prediction objective, and then fine-tuned on 2B tokens of instruction data.

2. Evaluation Results
DeepSeek Coder
3. How to Use

Here give some examples of how to use our model.

Chat Model Inference
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/deepseek-coder-7b-instruct-v1.5", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("deepseek-ai/deepseek-coder-7b-instruct-v1.5", trust_remote_code=True).cuda()
messages=[
    { 'role': 'user', 'content': "write a quick sort algorithm in python."}
]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)

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 for more details.

5. Contact

If you have any questions, please raise an issue or contact us at [email protected] .

Runs of deepseek-ai deepseek-coder-7b-instruct-v1.5 on huggingface.co

737.9K
Total runs
-1.1K
24-hour runs
-11.1K
3-day runs
-61.3K
7-day runs
62.5K
30-day runs

More Information About deepseek-coder-7b-instruct-v1.5 huggingface.co Model

More deepseek-coder-7b-instruct-v1.5 license Visit here:

https://choosealicense.com/licenses/deepseek

deepseek-coder-7b-instruct-v1.5 huggingface.co

deepseek-coder-7b-instruct-v1.5 huggingface.co is an AI model on huggingface.co that provides deepseek-coder-7b-instruct-v1.5's model effect (), which can be used instantly with this deepseek-ai deepseek-coder-7b-instruct-v1.5 model. huggingface.co supports a free trial of the deepseek-coder-7b-instruct-v1.5 model, and also provides paid use of the deepseek-coder-7b-instruct-v1.5. Support call deepseek-coder-7b-instruct-v1.5 model through api, including Node.js, Python, http.

deepseek-coder-7b-instruct-v1.5 huggingface.co Url

https://huggingface.co/deepseek-ai/deepseek-coder-7b-instruct-v1.5

deepseek-ai deepseek-coder-7b-instruct-v1.5 online free

deepseek-coder-7b-instruct-v1.5 huggingface.co is an online trial and call api platform, which integrates deepseek-coder-7b-instruct-v1.5's modeling effects, including api services, and provides a free online trial of deepseek-coder-7b-instruct-v1.5, you can try deepseek-coder-7b-instruct-v1.5 online for free by clicking the link below.

deepseek-ai deepseek-coder-7b-instruct-v1.5 online free url in huggingface.co:

https://huggingface.co/deepseek-ai/deepseek-coder-7b-instruct-v1.5

deepseek-coder-7b-instruct-v1.5 install

deepseek-coder-7b-instruct-v1.5 is an open source model from GitHub that offers a free installation service, and any user can find deepseek-coder-7b-instruct-v1.5 on GitHub to install. At the same time, huggingface.co provides the effect of deepseek-coder-7b-instruct-v1.5 install, users can directly use deepseek-coder-7b-instruct-v1.5 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

deepseek-coder-7b-instruct-v1.5 install url in huggingface.co:

https://huggingface.co/deepseek-ai/deepseek-coder-7b-instruct-v1.5

Url of deepseek-coder-7b-instruct-v1.5

deepseek-coder-7b-instruct-v1.5 huggingface.co Url

Provider of deepseek-coder-7b-instruct-v1.5 huggingface.co

deepseek-ai
ORGANIZATIONS

Other API from deepseek-ai