Instructions to use dhmeltzer/bart-tiny-random_askscience-qg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dhmeltzer/bart-tiny-random_askscience-qg with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("dhmeltzer/bart-tiny-random_askscience-qg") model = AutoModelForSeq2SeqLM.from_pretrained("dhmeltzer/bart-tiny-random_askscience-qg", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from dhmeltzer/bart-tiny-random_askscience-qg: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/dhmeltzer/bart-tiny-random_askscience-qg/resolve/513ccb2848d1d70bb2855d0fdf4e9db6cf55e212/tokenizer.json
- Command line
-
hf download hf://dhmeltzer/bart-tiny-random_askscience-qg@513ccb2848d1d70bb2855d0fdf4e9db6cf55e212/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/dhmeltzer/bart-tiny-random_askscience-qg/resolve/513ccb2848d1d70bb2855d0fdf4e9db6cf55e212/tokenizer.json
2.11 MB
File too large to display, you can check the raw version instead.