Transformer/Pipelines Tutorial - where is it running?

archimack
Thu, 23 Mar 2023 17:57:58 +0000

Hey HuggingFace Experts - thank you for all the work you do supporting the community. I’m a noob running the Transformers tutorial, got to the pipeline tutorial here Pipelines for inference.

Through my terminal, I did the pip install within a virtual environment (.env), then pip install transformers, and then torch.

I then moved on to the MLK example, successfully running it with wav2vec2 and then whisper-large - awesome!

I also successfully used it to transcribe some local mp3 files - awesome! awesome!

When following the instructions to set up whisper, it seemed to auto download a 6.7GB file from HF to my machine.

Q’s

What exactly is this file i downloaded? the model itself, the weights?

Is this file saved on my machine persistently, does it get trashed when i shut down the terminal and virtual environment (.env)?

if so, any help finding the file?

am I running this model locally on my CPU/GPU or on HuggingFace CPU/GPU?

Thank you for the assitance.