You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trying to use in windows 10 ad it didn't work
I traced the error to these lines:
from transformers import T5ForConditionalGeneration,T5Tokenizer
import torch
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
models = T5ForConditionalGeneration.from_pretrained("Michau/t5-base-en-generate-headline")
tokenizer = T5Tokenizer.from_pretrained("Michau/t5-base-en-generate-headline")
the response is:
Any help with this will be very appreciated
Regards
The text was updated successfully, but these errors were encountered:
yeah update for future reference in windows, in order to make it works I installed whisper from main branch, and also install transformers again see this: huggingface/transformers#24470
With this worked in line-command. But never worked with the UI, maybe the project need a better guide to install and use it.
trying to use in windows 10 ad it didn't work
![image](https://private-user-images.githubusercontent.com/12876560/248588608-46c229cf-aea1-4855-a36a-c9f21533e250.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI4MDU2NDQsIm5iZiI6MTcyMjgwNTM0NCwicGF0aCI6Ii8xMjg3NjU2MC8yNDg1ODg2MDgtNDZjMjI5Y2YtYWVhMS00ODU1LWEzNmEtYzlmMjE1MzNlMjUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA0VDIxMDIyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBlMzdjNWM2ZWVmOTVmZDZmMDk5OWVkZGM4YjY5YjczODBjM2I2MDVkZTUyMGE1OGFmMGE4MGVjNjJkYTVjMzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.HkbsN4J4NHvV7TtbZZEmRVyMQjQqNgq6azl7lV_LNck)
I traced the error to these lines:
from transformers import T5ForConditionalGeneration,T5Tokenizer
import torch
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
models = T5ForConditionalGeneration.from_pretrained("Michau/t5-base-en-generate-headline")
tokenizer = T5Tokenizer.from_pretrained("Michau/t5-base-en-generate-headline")
the response is:
Any help with this will be very appreciated
Regards
The text was updated successfully, but these errors were encountered: