Update README.md

This commit is contained in:
Daya Guo 2023-10-26 19:13:14 +08:00 committed by GitHub
parent eae51f9ae8
commit effb89278a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
![Completion GIF](pictures/completion_demo.gif)
#### Chat Model Inference