Update README.md
Browse filesadd trust remote code
README.md
CHANGED
|
@@ -30,7 +30,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
| 30 |
import torch
|
| 31 |
|
| 32 |
# Load model and tokenizer
|
| 33 |
-
model = AutoModelForSequenceClassification.from_pretrained("chungpt2123/esg-scoring")
|
| 34 |
tokenizer = AutoTokenizer.from_pretrained("chungpt2123/esg-scoring")
|
| 35 |
|
| 36 |
# Example usage
|
|
@@ -68,9 +68,6 @@ The model achieves strong performance on ESG scoring tasks across multiple langu
|
|
| 68 |
- Performance may vary on domain-specific or technical content
|
| 69 |
- Best performance on texts similar to training data distribution
|
| 70 |
|
| 71 |
-
## Citation
|
| 72 |
-
|
| 73 |
-
If you use this model, please cite:
|
| 74 |
|
| 75 |
```bibtex
|
| 76 |
@misc{esg_scoring_model,
|
|
|
|
| 30 |
import torch
|
| 31 |
|
| 32 |
# Load model and tokenizer
|
| 33 |
+
model = AutoModelForSequenceClassification.from_pretrained("chungpt2123/esg-scoring", trust_remote_code=True)
|
| 34 |
tokenizer = AutoTokenizer.from_pretrained("chungpt2123/esg-scoring")
|
| 35 |
|
| 36 |
# Example usage
|
|
|
|
| 68 |
- Performance may vary on domain-specific or technical content
|
| 69 |
- Best performance on texts similar to training data distribution
|
| 70 |
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
```bibtex
|
| 73 |
@misc{esg_scoring_model,
|