Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-yanxin committed Sep 28, 2023
1 parent 9a35d8f commit f4c0459
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
```
from transformers import AutoModelForCausalLM, AutoTokenizer
from transformers.generation import GenerationConfig
from modelscope import snapshot_download
model_dir = snapshot_download("thomas/test", revision = 'v1.0.10')
Expand Down
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
transformers==4.32.0
accelerate
tiktoken
einops
transformers_stream_generator==0.0.4
scipy

0 comments on commit f4c0459

Please sign in to comment.