Skip to content

Commit

Permalink
Update import statements for ipfs_transformers
Browse files Browse the repository at this point in the history
  • Loading branch information
endomorphosis committed Mar 31, 2024
1 parent 4bf1478 commit 9c275b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ In your python script

from transformers import AutoModelForSeq2SeqLM

from ipfs_huggingface_bridge import AutoModelForSeq2SeqLM
from ipfs_transformers import AutoModelForSeq2SeqLM

model = AutoModelForSeq2SeqLM.from_auto_download("google/t5_11b_trueteacher_and_anli")

or

from transformers import AutoModelForSeq2SeqLM

from ipfs_huggingface_bridge import AutoModelForSeq2SeqLM
from ipfs_transformers import AutoModelForSeq2SeqLM

model = AutoModelForSeq2SeqLM.from_ipfs("QmWJr4M1VN5KpJjqCsJsJg7PDmFoqQYs1BKpYxcdMY1qkh")

Expand Down

0 comments on commit 9c275b6

Please sign in to comment.