Text Classification
Transformers
PyTorch
French
camembert
Trained with AutoTrain
text-embeddings-inference
Instructions to use jeveuxaider/activity-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jeveuxaider/activity-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jeveuxaider/activity-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("jeveuxaider/activity-classifier") model = AutoModelForSequenceClassification.from_pretrained("jeveuxaider/activity-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -38,7 +38,7 @@ co2_eq_emissions:
|
|
| 38 |
You can use cURL to access this model:
|
| 39 |
|
| 40 |
```
|
| 41 |
-
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "Je m'occupe d'un accueil de jour"}' https://api-inference.huggingface.co/models/
|
| 42 |
```
|
| 43 |
|
| 44 |
Or Python API:
|
|
|
|
| 38 |
You can use cURL to access this model:
|
| 39 |
|
| 40 |
```
|
| 41 |
+
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "Je m'occupe d'un accueil de jour"}' https://api-inference.huggingface.co/models/jeveuxaider/activity-classifier
|
| 42 |
```
|
| 43 |
|
| 44 |
Or Python API:
|