Instructions to use amrtweg/Actora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use amrtweg/Actora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="amrtweg/Actora")# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("amrtweg/Actora", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,7 +18,6 @@ pip install actora
|
|
| 18 |
|
| 19 |
## Example Usage
|
| 20 |
|
| 21 |
-
```python
|
| 22 |
from actora import ActoraPredictor, emoji_map
|
| 23 |
|
| 24 |
# Initialize the predictor
|
|
|
|
| 18 |
|
| 19 |
## Example Usage
|
| 20 |
|
|
|
|
| 21 |
from actora import ActoraPredictor, emoji_map
|
| 22 |
|
| 23 |
# Initialize the predictor
|