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:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("marksverdhei/t5-base-define") model = AutoModelForSeq2SeqLM.from_pretrained("marksverdhei/t5-base-define") - Notebooks
- Google Colab
- Kaggle
Commit ·
83a5e77
1
Parent(s): 459a723
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ This model is trained to generate word definitions based on the word and a conte
|
|
| 14 |
using a subset of wordnet for all words that have an example and definition.
|
| 15 |
The model uses task prompts on the format 'define "[word]": [example sentence]'
|
| 16 |
|
| 17 |
-
This model in particular is a
|
| 18 |
|
| 19 |
How to run:
|
| 20 |
```python
|
|
|
|
| 14 |
using a subset of wordnet for all words that have an example and definition.
|
| 15 |
The model uses task prompts on the format 'define "[word]": [example sentence]'
|
| 16 |
|
| 17 |
+
This model in particular is a one-shot learner for unseen words, as it has to infer the definition by only one example
|
| 18 |
|
| 19 |
How to run:
|
| 20 |
```python
|