Update ML Intern artifact metadata
Browse files
README.md
CHANGED
|
@@ -240,3 +240,23 @@ requirements.txt
|
|
| 240 |
- TRL SFTTrainer docs: https://huggingface.co/docs/trl/sft_trainer
|
| 241 |
- TRL PEFT integration: https://huggingface.co/docs/trl/peft_integration
|
| 242 |
- Source dataset: https://huggingface.co/datasets/nraptisss/TMF921-intent-to-config-research-sota
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 240 |
- TRL SFTTrainer docs: https://huggingface.co/docs/trl/sft_trainer
|
| 241 |
- TRL PEFT integration: https://huggingface.co/docs/trl/peft_integration
|
| 242 |
- Source dataset: https://huggingface.co/datasets/nraptisss/TMF921-intent-to-config-research-sota
|
| 243 |
+
|
| 244 |
+
<!-- ml-intern-provenance -->
|
| 245 |
+
## Generated by ML Intern
|
| 246 |
+
|
| 247 |
+
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.
|
| 248 |
+
|
| 249 |
+
- Try ML Intern: https://smolagents-ml-intern.hf.space
|
| 250 |
+
- Source code: https://github.com/huggingface/ml-intern
|
| 251 |
+
|
| 252 |
+
## Usage
|
| 253 |
+
|
| 254 |
+
```python
|
| 255 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 256 |
+
|
| 257 |
+
model_id = 'nraptisss/tmf921-intent-training'
|
| 258 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 259 |
+
model = AutoModelForCausalLM.from_pretrained(model_id)
|
| 260 |
+
```
|
| 261 |
+
|
| 262 |
+
For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.
|