Instructions to use Cainiao-AI/TAAS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cainiao-AI/TAAS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Cainiao-AI/TAAS", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Cainiao-AI/TAAS", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -32,7 +32,7 @@ Once installed, loading and using a fine-tuned model on any specific task can be
|
|
| 32 |
|
| 33 |
```python
|
| 34 |
from transformers import AutoModel
|
| 35 |
-
model = AutoModel.from_pretrained('Cainiao-AI/TAAS')
|
| 36 |
model.eval()
|
| 37 |
address = ['北京市马驹桥镇兴贸二街幸福家园1幢5单元1009室 注:放在门口即可']
|
| 38 |
|
|
|
|
| 32 |
|
| 33 |
```python
|
| 34 |
from transformers import AutoModel
|
| 35 |
+
model = AutoModel.from_pretrained('Cainiao-AI/TAAS',trust_remote_code=True)
|
| 36 |
model.eval()
|
| 37 |
address = ['北京市马驹桥镇兴贸二街幸福家园1幢5单元1009室 注:放在门口即可']
|
| 38 |
|