Update ML Intern artifact metadata
Browse files
README.md
CHANGED
|
@@ -2,10 +2,11 @@
|
|
| 2 |
license: mit
|
| 3 |
library_name: xgboost
|
| 4 |
tags:
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# Agent Cost Optimizer (ACO)
|
|
@@ -137,3 +138,23 @@ If you use ACO, please cite:
|
|
| 137 |
## License
|
| 138 |
|
| 139 |
MIT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: mit
|
| 3 |
library_name: xgboost
|
| 4 |
tags:
|
| 5 |
+
- agent-cost-optimizer
|
| 6 |
+
- model-router
|
| 7 |
+
- cost-aware-inference
|
| 8 |
+
- cascade-routing
|
| 9 |
+
- ml-intern
|
| 10 |
---
|
| 11 |
|
| 12 |
# Agent Cost Optimizer (ACO)
|
|
|
|
| 138 |
## License
|
| 139 |
|
| 140 |
MIT
|
| 141 |
+
|
| 142 |
+
<!-- ml-intern-provenance -->
|
| 143 |
+
## Generated by ML Intern
|
| 144 |
+
|
| 145 |
+
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.
|
| 146 |
+
|
| 147 |
+
- Try ML Intern: https://smolagents-ml-intern.hf.space
|
| 148 |
+
- Source code: https://github.com/huggingface/ml-intern
|
| 149 |
+
|
| 150 |
+
## Usage
|
| 151 |
+
|
| 152 |
+
```python
|
| 153 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 154 |
+
|
| 155 |
+
model_id = 'narcolepticchicken/agent-cost-optimizer'
|
| 156 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 157 |
+
model = AutoModelForCausalLM.from_pretrained(model_id)
|
| 158 |
+
```
|
| 159 |
+
|
| 160 |
+
For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.
|