Model v2 usage

#9
by alielfilali01 - opened

Apparently i can't use the model !?
image.png

image.png

is there a way i can use it without cloning the whole repo ?

AI at Meta org

Hi, @Ali-C137!
I can load the model with the instructions form the SeamlessM4T v2 documentation

from transformers import AutoProcessor, SeamlessM4Tv2Model
processor = AutoProcessor.from_pretrained("facebook/seamless-m4t-v2-large")
model = SeamlessM4Tv2Model.from_pretrained("facebook/seamless-m4t-v2-large")

Hi, @Ali-C137!
I can load the model with the instructions form the SeamlessM4T v2 documentation

from transformers import AutoProcessor, SeamlessM4Tv2Model
processor = AutoProcessor.from_pretrained("facebook/seamless-m4t-v2-large")
model = SeamlessM4Tv2Model.from_pretrained("facebook/seamless-m4t-v2-large")

I did the same by following the documentation as well ๐Ÿ˜… I will try again tomorrow and see !?

alielfilali01 changed discussion status to closed

You need to make sure you are using the latest transformers from main:

$ pip install --upgrade git+https://github.com/huggingface/transformers.git

Sign up or log in to comment