Instructions to use RavenK/TAC-ViT-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RavenK/TAC-ViT-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="RavenK/TAC-ViT-base")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("RavenK/TAC-ViT-base") model = AutoModel.from_pretrained("RavenK/TAC-ViT-base") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -60,7 +60,7 @@ outputs = outputs["last_hidden_state"][:, 0, :] # get embedding without FC. may
|
|
| 60 |
|
| 61 |
### Other Uses
|
| 62 |
|
| 63 |
-
Please refer to
|
| 64 |
|
| 65 |
## Citation
|
| 66 |
|
|
|
|
| 60 |
|
| 61 |
### Other Uses
|
| 62 |
|
| 63 |
+
Please refer to the [demo](https://github.com/RavenKiller/TAC/blob/main/scripts/demo.ipynb) in our code repository.
|
| 64 |
|
| 65 |
## Citation
|
| 66 |
|