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
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.3ce4dd0 -
Upload tokenizer
529cd82 -
Upload BartForConditionalGeneration
92ca390
-
Upload tokenizer
3cf1c2d -
Upload BartForConditionalGeneration
836c78d -
Upload tokenizer
28fa4f8 -
Upload BartForConditionalGeneration
c77b8a2
-
Upload tokenizer
d9432fe -
Upload BartForConditionalGeneration
89397f0 -
Upload tokenizer
1b3b9c0 -
Upload BartForConditionalGeneration
513ccb2 -
Upload tokenizer
6fa6995 -
Upload BartForConditionalGeneration
f51c330 -
Upload tokenizer
d12953e -
Upload BartForConditionalGeneration
2aabac3 -
Upload tokenizer
3dfce3b -
Upload BartForConditionalGeneration
8f97c66 -
Upload tokenizer
2747969 -
Upload BartForConditionalGeneration
19bfb5b -
Upload tokenizer
a92f282 -
Upload BartForConditionalGeneration
cb3b4d9 -
initial commit
19e8f19