Instructions to use Sebastian2903/SMARTORDERIA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sebastian2903/SMARTORDERIA with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Sebastian2903/SMARTORDERIA") model = AutoModelForSequenceClassification.from_pretrained("Sebastian2903/SMARTORDERIA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Cambios 2
Browse files- orderIA.py +1 -1
orderIA.py
CHANGED
|
@@ -30,7 +30,7 @@ train_dataset = train_test_split['train']
|
|
| 30 |
eval_dataset = train_test_split['test']
|
| 31 |
|
| 32 |
# Configurar el modelo
|
| 33 |
-
model = AutoModelForSequenceClassification.from_pretrained(
|
| 34 |
|
| 35 |
# Configurar el entrenador
|
| 36 |
training_args = TrainingArguments(
|
|
|
|
| 30 |
eval_dataset = train_test_split['test']
|
| 31 |
|
| 32 |
# Configurar el modelo
|
| 33 |
+
model = AutoModelForSequenceClassification.from_pretrained('Sebastian2903/SMARTORDERIA', num_labels=4)
|
| 34 |
|
| 35 |
# Configurar el entrenador
|
| 36 |
training_args = TrainingArguments(
|