Run this model with HF Jobs
Run google/switch-base-8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/google/switch-base-8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/google/switch-base-8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use google/switch-base-8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/switch-base-8 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/switch-base-8") model = AutoModelForSeq2SeqLM.from_pretrained("google/switch-base-8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
a09f835
-
Update README.md
968f196
-
Upload tokenizer
072e129 -
Update README.md (#1)
- Update README.md (cc9f09461501ac605ab2930ad51677a52b8841e5)01fa022 -
Create README.md
308fd84
-
Update config.json
a0c955b -
Update config.json
88b4a84
-
Upload tokenizer
1045c63
-
Update config.json
5b0dc6c
-
Upload SwitchTransformersForConditionalGeneration
077b71d
-
Upload SwitchTransformersForConditionalGeneration
6da3e38 -
initial commit
d75c54d