mirror of
https://github.com/deepseek-ai/DeepSeek-Coder.git
synced 2025-05-03 08:59:06 -04:00
Update README.md
This commit is contained in:
parent
eae51f9ae8
commit
effb89278a
@ -144,6 +144,10 @@ inputs = tokenizer.encode(input_text, return_tensors="pt").to(device)
|
||||
outputs = model.generate(**inputs, max_length=128)
|
||||
print(tokenizer.decode(outputs[0]))
|
||||
```
|
||||
|
||||
---
|
||||
In the following scenario, the Deepseek Coder model effectively calls a class **IrisClassifier** and its member function from the `model.py` file, and also utilizes functions from the `utils.py` file, to complete a function for model training and evaluation.
|
||||
|
||||

|
||||
|
||||
#### Chat Model Inference
|
||||
|
Loading…
Reference in New Issue
Block a user