Can I do finetuning on a HF space?

I tried doing that using HF NLP course unsloth tutorial but it can’t find the gpu.. I tried using spaces.GPU.

I didn’t want to use google collab. I can’t find anything on search or using a llm; unless im doing it wrongly

1 Like

Plenty of alternatives around the block. Some official HF-recognized ones off the top of my head:

3 Likes

The free space on Hugging Face does not have a GPU. I think that if the script can run on the CPU, it will run…
In fact, if the model is very small, it can be trained in CPU space.
If you don’t do .to(“cuda”) or so, it will work more or less. It’s slow, though…

I think that the Colab Free environment is often used as an example because it can use a GPU, although there is a time limit.

1 Like

Modal.com is also worth checking out if you’re in for a bit of learning journey (the best kind!)

(Unaffiliated disclaimer, just had a playdate with their infra yesterday and had a blast)

2 Likes

There are other free environments where you can use GPUs other than Colab, but it seems that some applications are accepted and others are not. I was accepted, so I don’t think it’s very strict…

2 Likes

Lightning AI seemed pretty cool, but rejected me for whatever reason earlier last year :man_shrugging: Perhaps I shall give it another try…

2 Likes

welp i guess I may need to spend more mulah

1 Like