Update README.md
Browse files
README.md
CHANGED
@@ -115,4 +115,12 @@ may produce biased responses if trained on biased data.
|
|
115 |
---
|
116 |
|
117 |
## ❺ Usage Instructions
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
---
|
116 |
|
117 |
## ❺ Usage Instructions
|
118 |
+
<pre><code>
|
119 |
+
from transformers import AutoModel, AutoTokenizer
|
120 |
+
|
121 |
+
tokenizer = AutoTokenizer.from_pretrained("")
|
122 |
+
model = AutoModel.from_pretrained("")
|
123 |
+
|
124 |
+
inputs = tokenizer("Hello?", return_tensors="pt")
|
125 |
+
outputs = model(**inputs)
|
126 |
+
</code></pre>
|