Instructions to use flexudy/t5-base-conceptor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flexudy/t5-base-conceptor with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("flexudy/t5-base-conceptor") model = AutoModelForSeq2SeqLM.from_pretrained("flexudy/t5-base-conceptor", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -59,6 +59,9 @@ concepts = concept_inference_machine.infer_concepts(terms, language=language)
|
|
| 59 |
|
| 60 |
Output:
|
| 61 |
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
|
| 64 |
### How was it trained?
|
|
|
|
| 59 |
|
| 60 |
Output:
|
| 61 |
|
| 62 |
+
```python
|
| 63 |
+
{'cat': ['mammal', 'animal'], 'dog': ['hound', 'animal'], 'economics and sociology': ['both fields of study'], 'public company': ['company']}
|
| 64 |
+
```
|
| 65 |
|
| 66 |
|
| 67 |
### How was it trained?
|