Instructions to use marksverdhei/t5-base-define with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use marksverdhei/t5-base-define with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("marksverdhei/t5-base-define") model = AutoModelForSeq2SeqLM.from_pretrained("marksverdhei/t5-base-define", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
5df4bdd
1
Parent(s): 2343200
Update README.md
Browse files
README.md
CHANGED
|
@@ -15,9 +15,7 @@ The model uses task prompts on the format 'define "[word]": [example sentence]'
|
|
| 15 |
To my knowledge, this is the first public model trained on a word definition task.
|
| 16 |
Similar work: [Zero-shot Word Sense Disambiguation using Sense Definition Embeddings](https://aclanthology.org/P19-1568.pdf)
|
| 17 |
|
| 18 |
-
|
| 19 |
-
1. Explore generalizability on generating word definitions for unseen words
|
| 20 |
-
2. Explore the utility of word embeddings by definition models
|
| 21 |
|
| 22 |
How to run:
|
| 23 |
```python
|
|
|
|
| 15 |
To my knowledge, this is the first public model trained on a word definition task.
|
| 16 |
Similar work: [Zero-shot Word Sense Disambiguation using Sense Definition Embeddings](https://aclanthology.org/P19-1568.pdf)
|
| 17 |
|
| 18 |
+
This model in particular is a on-shot learner for unseen words, as it has to infer the definition by only one example
|
|
|
|
|
|
|
| 19 |
|
| 20 |
How to run:
|
| 21 |
```python
|