Instructions to use figurative-nlp/English-Simile-Generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use figurative-nlp/English-Simile-Generation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("figurative-nlp/English-Simile-Generation") model = AutoModelForSeq2SeqLM.from_pretrained("figurative-nlp/English-Simile-Generation", 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.5c41547
-
Update README.md
33e1eec
-
Update README.md
bf40467 -
Update README.md
5590f51 -
Update README.md
cfd6f1f -
Update README.md
b542ba5 -
Update README.md
037747d -
Update README.md
6f71694 -
Update README.md
6050138 -
Update README.md
9184a5c -
Create README.md
4450b33 -
add tokenizer
f59555a -
add model
e4f1360 -
initial commit
8cfbb8a