GhostScientist commited on
Commit
a76adfb
·
verified ·
1 Parent(s): bc91eed

Update ML Intern artifact metadata

Browse files
Files changed (1) hide show
  1. README.md +22 -1
README.md CHANGED
@@ -7,6 +7,7 @@ tags:
7
  - trl
8
  - sft
9
  - hf_jobs
 
10
  licence: license
11
  ---
12
 
@@ -56,4 +57,24 @@ Cite TRL as:
56
  url = {https://github.com/huggingface/trl},
57
  year = {2020}
58
  }
59
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  - trl
8
  - sft
9
  - hf_jobs
10
+ - ml-intern
11
  licence: license
12
  ---
13
 
 
57
  url = {https://github.com/huggingface/trl},
58
  year = {2020}
59
  }
60
+ ```
61
+
62
+ <!-- ml-intern-provenance -->
63
+ ## Generated by ML Intern
64
+
65
+ 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.
66
+
67
+ - Try ML Intern: https://smolagents-ml-intern.hf.space
68
+ - Source code: https://github.com/huggingface/ml-intern
69
+
70
+ ## Usage
71
+
72
+ ```python
73
+ from transformers import AutoModelForCausalLM, AutoTokenizer
74
+
75
+ model_id = 'GhostScientist/deepwiki-coder-7b'
76
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
77
+ model = AutoModelForCausalLM.from_pretrained(model_id)
78
+ ```
79
+
80
+ For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.