Text Classification
Transformers
TensorBoard
Safetensors
bert
Trained with AutoTrain
text-embeddings-inference
Instructions to use mserloth/autotrain-df1850 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mserloth/autotrain-df1850 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mserloth/autotrain-df1850")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mserloth/autotrain-df1850") model = AutoModelForSequenceClassification.from_pretrained("mserloth/autotrain-df1850", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_params.json from mserloth/autotrain-df1850: direct link, hf CLI and curl.
- Browser
- Download file 779 Bytes
-
https://huggingface.co/mserloth/autotrain-df1850/resolve/main/training_params.json
- Command line
-
hf download hf://mserloth/autotrain-df1850/training_params.json
-
curl -L -o training_params.json https://huggingface.co/mserloth/autotrain-df1850/resolve/main/training_params.json
779 Bytes
| { | |
| "data_path": "autotrain-df1850/autotrain-data", | |
| "model": "oliverguhr/german-sentiment-bert", | |
| "lr": 5e-05, | |
| "epochs": 5, | |
| "max_seq_length": 128, | |
| "batch_size": 8, | |
| "warmup_ratio": 0.1, | |
| "gradient_accumulation": 1, | |
| "optimizer": "adamw_torch", | |
| "scheduler": "linear", | |
| "weight_decay": 0.0, | |
| "max_grad_norm": 1.0, | |
| "seed": 42, | |
| "train_split": "train", | |
| "valid_split": "validation", | |
| "text_column": "autotrain_text", | |
| "target_column": "autotrain_label", | |
| "logging_steps": -1, | |
| "project_name": "autotrain-df1850", | |
| "auto_find_batch_size": false, | |
| "mixed_precision": "fp16", | |
| "save_total_limit": 1, | |
| "push_to_hub": true, | |
| "evaluation_strategy": "epoch", | |
| "username": "Zerithas", | |
| "log": "tensorboard" | |
| } |