Johnyquest7 commited on
Commit
e0f8da5
·
verified ·
1 Parent(s): 94a12ca

Update ML Intern artifact metadata

Browse files
Files changed (1) hide show
  1. README.md +21 -0
README.md CHANGED
@@ -4,6 +4,7 @@ license: apache-2.0
4
  base_model: microsoft/swinv2-base-patch4-window8-256
5
  tags:
6
  - generated_from_trainer
 
7
  datasets:
8
  - generator
9
  metrics:
@@ -117,3 +118,23 @@ The following hyperparameters were used during training:
117
  - Pytorch 2.11.0+cu130
118
  - Datasets 4.8.5
119
  - Tokenizers 0.22.2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  base_model: microsoft/swinv2-base-patch4-window8-256
5
  tags:
6
  - generated_from_trainer
7
+ - ml-intern
8
  datasets:
9
  - generator
10
  metrics:
 
118
  - Pytorch 2.11.0+cu130
119
  - Datasets 4.8.5
120
  - Tokenizers 0.22.2
121
+
122
+ <!-- ml-intern-provenance -->
123
+ ## Generated by ML Intern
124
+
125
+ 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.
126
+
127
+ - Try ML Intern: https://smolagents-ml-intern.hf.space
128
+ - Source code: https://github.com/huggingface/ml-intern
129
+
130
+ ## Usage
131
+
132
+ ```python
133
+ from transformers import AutoModelForCausalLM, AutoTokenizer
134
+
135
+ model_id = 'Johnyquest7/TN5000_model'
136
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
137
+ model = AutoModelForCausalLM.from_pretrained(model_id)
138
+ ```
139
+
140
+ For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.