Update ML Intern artifact metadata
Browse files
README.md
CHANGED
|
@@ -2,9 +2,30 @@
|
|
| 2 |
tags:
|
| 3 |
- model_hub_mixin
|
| 4 |
- pytorch_model_hub_mixin
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 8 |
- Code: [More Information Needed]
|
| 9 |
- Paper: [More Information Needed]
|
| 10 |
-
- Docs: [More Information Needed]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
tags:
|
| 3 |
- model_hub_mixin
|
| 4 |
- pytorch_model_hub_mixin
|
| 5 |
+
- ml-intern
|
| 6 |
---
|
| 7 |
|
| 8 |
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 9 |
- Code: [More Information Needed]
|
| 10 |
- Paper: [More Information Needed]
|
| 11 |
+
- Docs: [More Information Needed]
|
| 12 |
+
|
| 13 |
+
<!-- ml-intern-provenance -->
|
| 14 |
+
## Generated by ML Intern
|
| 15 |
+
|
| 16 |
+
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.
|
| 17 |
+
|
| 18 |
+
- Try ML Intern: https://smolagents-ml-intern.hf.space
|
| 19 |
+
- Source code: https://github.com/huggingface/ml-intern
|
| 20 |
+
|
| 21 |
+
## Usage
|
| 22 |
+
|
| 23 |
+
```python
|
| 24 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 25 |
+
|
| 26 |
+
model_id = 'mohan170802/Kronos-NSE-bear'
|
| 27 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 28 |
+
model = AutoModelForCausalLM.from_pretrained(model_id)
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.
|