Update ML Intern artifact metadata
Browse files
README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# 风控序列模型调研报告 & 代码模板
|
| 2 |
|
| 3 |
## 📋 文件清单
|
|
@@ -46,3 +50,23 @@ pip install torch pytorch-lifestream scikit-learn lightgbm pandas numpy scipy
|
|
| 46 |
1. **App序列**:用 GRU + CoLES 对比学习(无标签预训练→LightGBM),不要默认 Transformer
|
| 47 |
2. **征信数据**:先 LightGBM baseline,再 TabM+PLE 补充,0.5:0.5 集成
|
| 48 |
3. **两个模型分开建**,最后 Late Fusion(向量拼接→LightGBM stacking)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- ml-intern
|
| 4 |
+
---
|
| 5 |
# 风控序列模型调研报告 & 代码模板
|
| 6 |
|
| 7 |
## 📋 文件清单
|
|
|
|
| 50 |
1. **App序列**:用 GRU + CoLES 对比学习(无标签预训练→LightGBM),不要默认 Transformer
|
| 51 |
2. **征信数据**:先 LightGBM baseline,再 TabM+PLE 补充,0.5:0.5 集成
|
| 52 |
3. **两个模型分开建**,最后 Late Fusion(向量拼接→LightGBM stacking)
|
| 53 |
+
|
| 54 |
+
<!-- ml-intern-provenance -->
|
| 55 |
+
## Generated by ML Intern
|
| 56 |
+
|
| 57 |
+
This model repository was generated by [ML Intern](https://github.com/huggingface/ml-intern), an agent for machine learning research and development on the Hugging Face Hub.
|
| 58 |
+
|
| 59 |
+
- Try ML Intern: https://smolagents-ml-intern.hf.space
|
| 60 |
+
- Source code: https://github.com/huggingface/ml-intern
|
| 61 |
+
|
| 62 |
+
## Usage
|
| 63 |
+
|
| 64 |
+
```python
|
| 65 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 66 |
+
|
| 67 |
+
model_id = "yonghao/risk-control-sequence-models"
|
| 68 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 69 |
+
model = AutoModelForCausalLM.from_pretrained(model_id)
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.
|