Instructions to use daxa-ai/pebblo-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use daxa-ai/pebblo-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="daxa-ai/pebblo-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("daxa-ai/pebblo-classifier") model = AutoModelForSequenceClassification.from_pretrained("daxa-ai/pebblo-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -32,6 +32,7 @@
|
|
| 32 |
"20": "employee agreement",
|
| 33 |
"21": "enterprise agreement"
|
| 34 |
},
|
|
|
|
| 35 |
"label2id": {
|
| 36 |
"Board meeting": 0,
|
| 37 |
"Consulting Agreement": 1,
|
|
|
|
| 32 |
"20": "employee agreement",
|
| 33 |
"21": "enterprise agreement"
|
| 34 |
},
|
| 35 |
+
"initializer_range": 0.02,
|
| 36 |
"label2id": {
|
| 37 |
"Board meeting": 0,
|
| 38 |
"Consulting Agreement": 1,
|