Text Classification
Transformers
TensorBoard
Safetensors
English
multilingual
xlm-roberta
financial-filings
Trained with AutoTrain
Eval Results (legacy)
text-embeddings-inference
Instructions to use FinancialReports/filing-classification-xlmr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FinancialReports/filing-classification-xlmr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="FinancialReports/filing-classification-xlmr")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("FinancialReports/filing-classification-xlmr") model = AutoModelForSequenceClassification.from_pretrained("FinancialReports/filing-classification-xlmr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "data_path": "filing-classification-xlmr-2/autotrain-data", | |
| "model": "FacebookAI/xlm-roberta-large", | |
| "lr": 5e-05, | |
| "epochs": 3, | |
| "max_seq_length": 512, | |
| "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": "filing-classification-xlmr-2", | |
| "auto_find_batch_size": false, | |
| "mixed_precision": "fp16", | |
| "save_total_limit": 1, | |
| "push_to_hub": true, | |
| "eval_strategy": "epoch", | |
| "username": "silashundhausen", | |
| "log": "tensorboard", | |
| "early_stopping_patience": 5, | |
| "early_stopping_threshold": 0.01 | |
| } |