mirror of
https://github.com/deepseek-ai/DeepSeek-Coder.git
synced 2025-05-04 01:19:49 -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)
|
outputs = model.generate(**inputs, max_length=128)
|
||||||
print(tokenizer.decode(outputs[0]))
|
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
|
#### Chat Model Inference
|
||||||
|
Loading…
Reference in New Issue
Block a user